Class TownListDisplayedNumResidentsCalculationEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.town.TownListDisplayedNumResidentsCalculationEvent
public class TownListDisplayedNumResidentsCalculationEvent
extends org.bukkit.event.Event
Used to alter how many residents a town appears to have in the /town list pages.
- Since:
- 0.100.1.8.
- Author:
- LlmDl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionTownListDisplayedNumResidentsCalculationEvent
(int displayedValue, Town town) -
Method Summary
Modifier and TypeMethodDescriptionint
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
getTown()
void
setDisplayedValue
(int value) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownListDisplayedNumResidentsCalculationEvent
-
-
Method Details
-
getTown
-
setDisplayedValue
public void setDisplayedValue(int value) -
getDisplayedValue
public int getDisplayedValue() -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-