Class SafeLootEvent

java.lang.Object
org.bukkit.event.Event
net.fateuhc.plugin.api.events.SafeLootEvent

public class SafeLootEvent extends org.bukkit.event.Event
Called on SafeLootListener Handles chest claimer and the chest
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.block.Chest
    Get the loot chest.
    Get the loot claimers name.
    static org.bukkit.event.HandlerList
    Get the handlers list.
    org.bukkit.event.HandlerList
    Get the handlers list.
    Get the player's name.

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SafeLootEvent

      public SafeLootEvent()
  • Method Details

    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Get the handlers list.
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      HandlerList
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Get the handlers list.
      Returns:
      HandlerList
    • getPlayerName

      public String getPlayerName()
      Get the player's name.
      Returns:
      String - player's name
    • getClaimerName

      public String getClaimerName()
      Get the loot claimers name.
      Returns:
      String - player's name
    • getChest

      public org.bukkit.block.Chest getChest()
      Get the loot chest.
      Returns:
      Chest