Class InventoryBlockStartEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.InventoryBlockStartEvent
Direct Known Subclasses:
BrewingStartEvent, CampfireStartEvent, FurnaceStartSmeltEvent

public class InventoryBlockStartEvent extends BlockEvent
Used when:
  • Constructor Details

    • InventoryBlockStartEvent

      public InventoryBlockStartEvent(@NotNull Block block, @NotNull ItemStack source)
  • Method Details

    • getSource

      @NotNull public ItemStack getSource()
      Gets the source ItemStack for this event.
      Returns:
      the source ItemStack
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()