public class PlayerMainInvWrapper extends RangedWrapper
| Constructor and Description | 
|---|
PlayerMainInvWrapper(InventoryPlayer inv)  | 
| Modifier and Type | Method and Description | 
|---|---|
InventoryPlayer | 
getInventoryPlayer()  | 
ItemStack | 
insertItem(int slot,
          ItemStack stack,
          boolean simulate)
Inserts an ItemStack into the given slot and return the remainder. 
 | 
extractItem, getSlots, getStackInSlot, setStackInSlotpublic PlayerMainInvWrapper(InventoryPlayer inv)
public ItemStack insertItem(int slot, ItemStack stack, boolean simulate)
IItemHandlerinsertItem in interface IItemHandlerinsertItem in class RangedWrapperslot - Slot to insert into.stack - ItemStack to insert.simulate - If true, the insertion is only simulatedpublic InventoryPlayer getInventoryPlayer()