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, getSlotLimit, getSlots, getStackInSlot, insertItem
void setStackInSlot(int slot, @Nonnull 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.