Class HopperSearchCustomContainerEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.inventory.HopperInventorySearchEvent
com.mclds.plugins.mcldscustomcontainer.events.HopperSearchCustomContainerEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class HopperSearchCustomContainerEvent extends org.bukkit.event.inventory.HopperInventorySearchEvent implements org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.inventory.HopperInventorySearchEvent

    org.bukkit.event.inventory.HopperInventorySearchEvent.ContainerType

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

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

    Fields inherited from class org.bukkit.event.block.BlockEvent

    block
  • Constructor Summary

    Constructors
    Constructor
    Description
    HopperSearchCustomContainerEvent(@Nullable org.bukkit.inventory.Inventory inventory, @NotNull org.bukkit.event.inventory.HopperInventorySearchEvent.ContainerType containerType, @NotNull org.bukkit.block.Block hopper, @NotNull org.bukkit.block.Block searchBlock, CustomContainerData customContainerData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     
    boolean
     
    void
    setCancelled(boolean cancel)
     

    Methods inherited from class org.bukkit.event.inventory.HopperInventorySearchEvent

    getContainerType, getInventory, getSearchBlock, setInventory

    Methods inherited from class org.bukkit.event.block.BlockEvent

    getBlock

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HopperSearchCustomContainerEvent

      public HopperSearchCustomContainerEvent(@Nullable @Nullable org.bukkit.inventory.Inventory inventory, @NotNull @NotNull org.bukkit.event.inventory.HopperInventorySearchEvent.ContainerType containerType, @NotNull @NotNull org.bukkit.block.Block hopper, @NotNull @NotNull org.bukkit.block.Block searchBlock, CustomContainerData customContainerData)
  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class org.bukkit.event.inventory.HopperInventorySearchEvent
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable