public class CraftingTableContainer_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> implements ICraftingContainer<I,S>
| Constructor and Description |
|---|
CraftingTableContainer_v1_7(int windowId,
T playerInventory,
ARecipeRegistry<I,S> recipeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
S |
click(InventoryHolder<T,I,S> inventoryHolder,
int slotId,
int button,
InventoryAction action) |
void |
close() |
void |
craftingUpdate(ICraftingInventory<I,S> craftingInventory) |
CraftingInventory_v1_7<I,S> |
getCraftingInventory() |
CraftingResultInventory_v1_7<I,S> |
getCraftingResultInventory() |
T |
getPlayerInventory() |
ARecipeRegistry<I,S> |
getRecipeRegistry() |
protected void |
initSlots() |
protected S |
moveStack(InventoryHolder<T,I,S> inventoryHolder,
int slotId) |
canTakeAll, click, mergeStackaddSlot, addSlot, getSlot, getSlotCount, getWindowIdpublic CraftingTableContainer_v1_7(int windowId,
T playerInventory,
ARecipeRegistry<I,S> recipeRegistry)
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 S click(InventoryHolder<T,I,S> inventoryHolder, int slotId, int button, InventoryAction action)
click in class AContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>public T getPlayerInventory()
public CraftingInventory_v1_7<I,S> getCraftingInventory()
public CraftingResultInventory_v1_7<I,S> getCraftingResultInventory()
public ARecipeRegistry<I,S> getRecipeRegistry()
public void craftingUpdate(ICraftingInventory<I,S> craftingInventory)
craftingUpdate in interface ICraftingContainer<I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>public void close()
close in class AContainer<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>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>>