Class TownBlockData
java.lang.Object
com.palmergames.bukkit.towny.object.TownBlockData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.bukkit.Material> @Nullable net.kyori.adventure.text.format.NamedTextColordoublegetCost()Set<org.bukkit.Material> Set<org.bukkit.Material> doublebooleanvoidsetAllowedBlocks(Collection<org.bukkit.Material> allowedBlocks) voidsetColour(net.kyori.adventure.text.format.NamedTextColor colour) voidsetCost(double cost) Sets how much it costs for a player to set to plot to this type.voidsetItemUseIds(Collection<org.bukkit.Material> itemUseIds) voidvoidsetSwitchIds(Collection<org.bukkit.Material> switchIds) voidsetTax(double tax)
-
Constructor Details
-
TownBlockData
public TownBlockData()
-
-
Method Details
-
getMapKey
-
setMapKey
-
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
-
getSwitchIds
-
getAllowedBlocks
-
setItemUseIds
-
setSwitchIds
-
setAllowedBlocks
-
setTax
public void setTax(double tax) -
getTax
-