Class TownBlockData

java.lang.Object
com.palmergames.bukkit.towny.object.TownBlockData

public class TownBlockData extends Object
  • Constructor Details

    • TownBlockData

      public TownBlockData()
  • Method Details

    • getMapKey

      public String getMapKey()
    • setMapKey

      public void setMapKey(String mapKey)
    • hasColour

      public boolean hasColour()
    • getColour

      @Nullable public @Nullable net.kyori.adventure.text.format.NamedTextColor getColour()
    • setColour

      public void setColour(net.kyori.adventure.text.format.NamedTextColor colour)
    • getCost

      public double getCost()
    • setCost

      public void setCost(double cost)
      Sets how much it costs for a player to set to plot to this type.
      Parameters:
      cost - The cost
    • getItemUseIds

      public Set<org.bukkit.Material> getItemUseIds()
    • getSwitchIds

      public Set<org.bukkit.Material> getSwitchIds()
    • getAllowedBlocks

      public Set<org.bukkit.Material> getAllowedBlocks()
    • setItemUseIds

      public void setItemUseIds(Collection<org.bukkit.Material> itemUseIds)
    • setSwitchIds

      public void setSwitchIds(Collection<org.bukkit.Material> switchIds)
    • setAllowedBlocks

      public void setAllowedBlocks(Collection<org.bukkit.Material> allowedBlocks)
    • setTax

      public void setTax(double tax)
    • getTax

      public double getTax(Town town)