- 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.
-
Method Summary 
boolean
Handler for inventory change callbacks.
-
Method Details 
-
handle 
Handler for inventory change callbacks.
- Parameters:
cause
- the cause
container
- the container
slot
- the changed slot
slotIndex
- the changed slot index
oldStack
- the old stack
newStack
- the new stack
- Returns:
- Whether the slot change is valid