Class ItemEvent

java.lang.Object
xyz.geik.farmer.listeners.backend.ItemEvent
All Implemented Interfaces:
org.bukkit.event.Listener

public class ItemEvent extends Object implements org.bukkit.event.Listener
Main event of farmer which collect items to storage
  • Constructor Details

    • ItemEvent

      public ItemEvent()
      Constructor of class
  • Method Details

    • farmerCollectItemEvent

      public void farmerCollectItemEvent(@NotNull @NotNull FarmerItemCollectEvent event)
      Main event of item collection of farmer
      Parameters:
      event - event of collect event
    • itemSpawnEvent

      public void itemSpawnEvent(@NotNull @NotNull org.bukkit.event.entity.ItemSpawnEvent e)
      Has Item in farmer Item don't have meta Checks player drop Checks World Checks has farmer on location Checks if farmer closed
      Parameters:
      e - event of item spawn event