public class EnchantmentTableContainer_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 |
|---|
EnchantmentTableContainer_v1_7(int windowId,
T playerInventory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Handle the closing of this container.
|
protected SimpleInventory_v1_7<I,S> |
createEnchantmentInventory() |
SimpleInventory_v1_7<I,S> |
getEnchantmentInventory() |
T |
getPlayerInventory() |
protected void |
initSlots()
Initialize all slots of this container.
|
protected S |
moveStack(InventoryHolder<T,I,S> inventoryHolder,
int slotId) |
canTakeAll, click, click, mergeStackaddSlot, addSlot, getSlot, getSlotCount, getWindowIdpublic EnchantmentTableContainer_v1_7(int windowId,
T playerInventory)
protected SimpleInventory_v1_7<I,S> createEnchantmentInventory()
protected void initSlots()
AContainerinitSlots 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> getEnchantmentInventory()
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>>public void close()
AContainerclose in class AContainer<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>