public class VanillaHopperItemHandler extends InvWrapper
| Constructor and Description |
|---|
VanillaHopperItemHandler(TileEntityHopper hopper) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
insertItem(int slot,
ItemStack stack,
boolean simulate)
Inserts an ItemStack into the given slot and return the remainder.
|
equals, extractItem, getInv, getSlotLimit, getSlots, getStackInSlot, hashCode, setStackInSlotpublic VanillaHopperItemHandler(TileEntityHopper hopper)
public ItemStack insertItem(int slot, ItemStack stack, boolean simulate)
IItemHandlerinsertItem in interface IItemHandlerinsertItem in class InvWrapperslot - Slot to insert into.stack - ItemStack to insert.simulate - If true, the insertion is only simulated