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

public class PreTownPaysNationTaxEvent extends CancellableTownyEvent
  • Constructor Details

    • PreTownPaysNationTaxEvent

      public PreTownPaysNationTaxEvent(Town town, Nation nation, double tax)
      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

      public Town getTown()
    • getNation

      public Nation 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 class org.bukkit.event.Event