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

public class TownPaysNationConqueredTaxEvent extends CancellableTownyEvent
  • Constructor Details

    • TownPaysNationConqueredTaxEvent

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

      public Town getTown()
    • getNation

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