Class TownCalculateMaxTownBlocksEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.town.TownCalculateMaxTownBlocksEvent
public class TownCalculateMaxTownBlocksEvent
extends org.bukkit.event.Event
Called when the maximum amount of townblocks is being calculated for a town, after all bonuses and limits have been applied.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
getTown()
int
void
setTownBlockCount
(int townBlockCount) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownCalculateMaxTownBlocksEvent
-
-
Method Details
-
getTown
-
getTownBlockCount
public int getTownBlockCount() -
setTownBlockCount
public void setTownBlockCount(int townBlockCount) -
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-