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 Link icon

    • InventoryBlockStartEvent Link icon

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

    • getSource Link icon

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

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

      @NotNull public static HandlerList getHandlerList()