Interface SlotClickHandler
- 
- All Superinterfaces:
- InventoryCallbackHandler
 - Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
 @FunctionalInterface public interface SlotClickHandler extends InventoryCallbackHandler 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhandle(Cause cause, Container container, Slot slot, int slotIndex, ClickType<?> clickType)Handler for inventory click callbacks exceptClickTypes.KEY_SWAPseeKeySwapHandler
 
- 
- 
- 
Method Detail- 
handleboolean handle(Cause cause, Container container, Slot slot, int slotIndex, ClickType<?> clickType) Handler for inventory click callbacks exceptClickTypes.KEY_SWAPseeKeySwapHandler- Parameters:
- cause- the cause
- container- the container
- slot- the primary clicked slot
- slotIndex- the primary clicked slot index
- clickType- the type of click
- Returns:
- false to prevent the action
 
 
- 
 
-