public class PlayerInventory_v1_7<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> extends java.lang.Object implements IInventory_v1_7<I,S>
| Constructor and Description |
|---|
PlayerInventory_v1_7() |
| Modifier and Type | Method and Description |
|---|---|
<T extends PlayerInventory_v1_7<I,S>> |
addStack(InventoryHolder<T,I,S> inventoryHolder,
S stack) |
S[] |
getArmor() |
S |
getCursorStack() |
int |
getEmptySlot() |
S[] |
getMain() |
int |
getSize() |
S |
getStack(int slotId) |
void |
setCursorStack(S cursorItem) |
void |
setStack(int slotId,
S stack) |
S |
split(int slotId,
int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmaxStackCount, onUpdatepublic S[] getMain()
public S[] getArmor()
public S getCursorStack()
public void setCursorStack(S cursorItem)
public int getEmptySlot()
public <T extends PlayerInventory_v1_7<I,S>> boolean addStack(InventoryHolder<T,I,S> inventoryHolder, S stack)
public int getSize()
public S getStack(int slotId)
public void setStack(int slotId,
S stack)