Class KitLoadEvent

java.lang.Object
org.bukkit.event.Event
wtf.nucker.kitpvpplus.api.events.KitLoadEvent

public class KitLoadEvent extends org.bukkit.event.Event
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    static org.bukkit.event.HandlerList
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    KitLoadEvent​(Kit kit, org.bukkit.entity.Player player, org.bukkit.entity.Player loader)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.event.HandlerList
     
     
    org.bukkit.entity.Player
    If the kit was loaded by the receiver the loader is the receiver
    org.bukkit.entity.Player
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • HANDLERS

      public static final org.bukkit.event.HandlerList HANDLERS
  • Constructor Details

    • KitLoadEvent

      public KitLoadEvent(Kit kit, org.bukkit.entity.Player player, org.bukkit.entity.Player loader)
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
      the player who received the kit
    • getKit

      public Kit getKit()
      Returns:
      the kit that was loaded
    • getLoader

      public org.bukkit.entity.Player getLoader()
      If the kit was loaded by the receiver the loader is the receiver
      Returns:
      the person who loaded the kit
    • getHandlers

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