public class ChestContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> extends AContainer_v1_7<T,I,S>
| Constructor and Description |
|---|
ChestContainer_v1_7(int windowId,
T playerInventory,
int size) |
| Modifier and Type | Method and Description |
|---|---|
SimpleInventory_v1_7<I,S> |
getChestInventory() |
T |
getPlayerInventory() |
int |
getRowCount() |
int |
getRowSlotCount() |
protected void |
initSlots() |
protected S |
moveStack(InventoryHolder<T,I,S> inventoryHolder,
int slotId) |
canTakeAll, click, click, mergeStackaddSlot, addSlot, close, getSlot, getSlotCount, getWindowIdpublic ChestContainer_v1_7(int windowId,
T playerInventory,
int size)
protected void initSlots()
initSlots in class AContainer<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>public T getPlayerInventory()
public SimpleInventory_v1_7<I,S> getChestInventory()
public int getRowCount()
public int getRowSlotCount()
protected S moveStack(InventoryHolder<T,I,S> inventoryHolder, int slotId)
moveStack in class AContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>