Package org.bukkit.event.inventory
Class HopperInventorySearchEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.inventory.HopperInventorySearchEvent
Event that gets called each time a Hopper attempts to find its
 source/attached containers.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.block.BlockEventblock
- 
Constructor SummaryConstructorsConstructorDescriptionHopperInventorySearchEvent(@NotNull Inventory inventory, @NotNull HopperInventorySearchEvent.ContainerType containerType, @NotNull Block hopper, @NotNull Block searchBlock) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the Container type the Hopper is searching for.static @NotNull HandlerListGets theInventorythat the Hopper will use for its source/attached Container.Gets the Block that is being searched for an inventory.voidsetInventory(@Nullable Inventory inventory) Set theInventorythat the Hopper will use for its source/attached Container.Methods inherited from class org.bukkit.event.block.BlockEventgetBlockMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
HopperInventorySearchEvent
 
- 
- 
Method Details- 
setInventorySet theInventorythat the Hopper will use for its source/attached Container.- Parameters:
- inventory- the inventory to use
 
- 
getInventoryGets theInventorythat the Hopper will use for its source/attached Container.- Returns:
- the inventory which will be used
 
- 
getContainerTypeGets the Container type the Hopper is searching for.- Returns:
- the container type being searched for
 
- 
getSearchBlockGets the Block that is being searched for an inventory.- Returns:
- block being searched for an inventory
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-