Class OnItemFallEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnItemFallEvent

public abstract class OnItemFallEvent extends Event
Triggered when an item is being dropped on the ground.
  • Constructor Details

    • OnItemFallEvent

      public OnItemFallEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.inventory.InventoryItem item)
      Called Event Handling Method
      Parameters:
      item - The inventory item being dropped on the ground.