Class PreTownPaysNationTaxEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.time.dailytaxes.PreTownPaysNationTaxEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPreTownPaysNationTaxEvent
(Town town, Nation nation, double tax) Cancellable event that precedes a town paying the nation tax. -
Method Summary
Methods inherited from class com.palmergames.bukkit.towny.event.CancellableTownyEvent
getCancelMessage, isCancelled, setCancelled, setCancelMessage
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PreTownPaysNationTaxEvent
Cancellable event that precedes a town paying the nation tax.- Parameters:
town
- Town about to pay tax.nation
- Nation about to have tax paid to it.tax
- the amount the town will pay.
-
-
Method Details
-
getTown
-
getNation
-
getTax
public double getTax() -
setTax
public void setTax(double tax) -
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
-