public interface IItemHandlerModifiable extends IItemHandler
Modifier and Type | Method and Description |
---|---|
void |
setStackInSlot(int slot,
ItemStack stack)
Overrides the stack in the given slot.
|
extractItem, getSlots, getStackInSlot, insertItem
void setStackInSlot(int slot, ItemStack stack)
slot
- Slot to modifystack
- ItemStack to set slot to (may be null)java.lang.RuntimeException
- if the handler is called in a way that the handler
was not expecting.