Class TownBlockData
java.lang.Object
com.palmergames.bukkit.towny.object.TownBlockData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<org.bukkit.Material>
@Nullable net.kyori.adventure.text.format.NamedTextColor
double
getCost()
Set<org.bukkit.Material>
Set<org.bukkit.Material>
double
boolean
void
setAllowedBlocks
(Collection<org.bukkit.Material> allowedBlocks) void
setColour
(net.kyori.adventure.text.format.NamedTextColor colour) void
setCost
(double cost) Sets how much it costs for a player to set to plot to this type.void
setItemUseIds
(Collection<org.bukkit.Material> itemUseIds) void
void
setSwitchIds
(Collection<org.bukkit.Material> switchIds) void
setTax
(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
-