Class PlayerCacheGetTownBlockStatusEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.player.PlayerCacheGetTownBlockStatusEvent

public class PlayerCacheGetTownBlockStatusEvent extends org.bukkit.event.Event
  • Constructor Details

  • Method Details

    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
      player Player which is having a TownBlockStatus generated for their PlayerCache.
    • getWorldCoord

      public WorldCoord getWorldCoord()
      Returns:
      worldCoord WorldCoord where this TownBlockStatus is being gotten for.
    • getTownBlockStatus

      public PlayerCache.TownBlockStatus getTownBlockStatus()
      Returns:
      the PlayerCache.TownBlockStatus which has been pre-determined by Towny.
    • setTownBlockStatus

      public void setTownBlockStatus(PlayerCache.TownBlockStatus townBlockStatus)
      Parameters:
      townBlockStatus - the PlayerCache.TownBlockStatus to use.