Class NationPreAddEnemyEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.NationPreAddEnemyEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class NationPreAddEnemyEvent extends CancellableTownyEvent
  • Constructor Details

    • NationPreAddEnemyEvent

      public NationPreAddEnemyEvent(Nation nation, Nation enemy)
  • Method Details

    • getEnemyName

      public String getEnemyName()
    • getNationName

      public String getNationName()
    • getEnemy

      public Nation getEnemy()
    • getNation

      public Nation getNation()
    • 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