public abstract class AContainer_v1_7<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>> extends AContainer<T,I,S>
| Constructor and Description |
|---|
AContainer_v1_7(int windowId) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canTakeAll(Slot<T,I,S> slot,
S stack) |
protected void |
click(InventoryHolder<T,I,S> inventoryHolder,
int slotId,
int button) |
S |
click(InventoryHolder<T,I,S> inventoryHolder,
int slotId,
int button,
InventoryAction action) |
protected boolean |
mergeStack(S stack,
int startId,
int endId,
boolean reverse) |
protected abstract S |
moveStack(InventoryHolder<T,I,S> inventoryHolder,
int slotId) |
addSlot, addSlot, close, getSlot, getSlotCount, getWindowId, initSlotspublic S click(InventoryHolder<T,I,S> inventoryHolder, int slotId, int button, InventoryAction action)
click in class AContainer<T extends PlayerInventory_v1_7<I,S>,I,S extends net.lenni0451.mcstructs.items.AItemStack<I,S>>protected void click(InventoryHolder<T,I,S> inventoryHolder, int slotId, int button)
protected abstract S moveStack(InventoryHolder<T,I,S> inventoryHolder, int slotId)
protected boolean mergeStack(S stack, int startId, int endId, boolean reverse)