Class TownPaysNationConqueredTaxEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.time.dailytaxes.TownPaysNationConqueredTaxEvent
- 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
ConstructorDescriptionTownPaysNationConqueredTaxEvent
(Town town, Nation nation, double tax) Cancellable event that precedes a town paying the nation's conquered tax. -
Method Summary
Modifier and TypeMethodDescriptiondouble
static org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
getTown()
void
setConqueredTax
(double tax) 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
-
TownPaysNationConqueredTaxEvent
Cancellable event that precedes a town paying the nation's conquered 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
-
getConqueredTax
public double getConqueredTax() -
setConqueredTax
public void setConqueredTax(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
-