Class NationNeutralCostPaidEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.nation.NationNeutralCostPaidEvent
public class NationNeutralCostPaidEvent
extends org.bukkit.event.Event
Fired when a nation has paid the neutrality cost.
-
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
@NotNull Nation
Returns the nation which is paying neutrality costs.double
Returns the neutrality cost for this nation, which is always positive.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
NationNeutralCostPaidEvent
-
-
Method Details
-
getNation
Returns the nation which is paying neutrality costs.- Returns:
- the nation which is paying neutrality costs
-
getNeutralityCost
public double getNeutralityCost()Returns the neutrality cost for this nation, which is always positive.- Returns:
- the neutrality cost for this nation, which is always positive
-
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
-