public class PlayerInventorySlot extends MalisisSlot
draggedItemStack, index, inventory, itemStack, state| Constructor and Description |
|---|
PlayerInventorySlot(net.minecraft.entity.player.EntityPlayer p) |
| Modifier and Type | Method and Description |
|---|---|
void |
setItemStack(net.minecraft.item.ItemStack itemStack)
Sets the itemStack contained by this
MalisisSlot. |
protected void |
setup(MalisisInventory inventory,
int slotIndex)
Setup
MalisisSlot with MalisisInventory containing it and slot index. |
addItemStackSize, extract, extract, extractInto, getDraggedItemStack, getInventory, getInventoryId, getItemStack, getSlotIndex, getSlotStackLimit, insert, insert, insert, isEmpty, isFull, isItemValid, isNotEmpty, isNotFull, isOutputSlot, isState, onPickupFromSlot, onSlotChanged, register, setDraggedItemStack, setItemStackSize, setOutputSlot, toStringpublic PlayerInventorySlot(net.minecraft.entity.player.EntityPlayer p)
protected void setup(MalisisInventory inventory, int slotIndex)
MalisisSlotMalisisSlot with MalisisInventory containing it and slot index.setup in class MalisisSlotinventory - the inventoryslotIndex - the slot indexpublic final void setItemStack(net.minecraft.item.ItemStack itemStack)
MalisisSlotMalisisSlot. Does not check for slot validity, max stack size etc...setItemStack in class MalisisSlotitemStack - the new item stack