public class ContainerExaltedCrafter extends org.cyclops.cyclopscore.inventory.container.ItemInventoryContainer<ItemExaltedCrafter>
ItemExaltedCrafter.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUTTON_BALANCE |
static java.lang.String |
BUTTON_CLEAR |
static java.lang.String |
BUTTON_TOGGLERETURN |
hand, item, itemIndex| Constructor and Description |
|---|
ContainerExaltedCrafter(int id,
net.minecraft.entity.player.PlayerInventory inventory,
int itemIndex,
net.minecraft.util.Hand hand) |
ContainerExaltedCrafter(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer packetBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCraftingGrid(net.minecraft.entity.player.PlayerEntity player,
NBTCraftingGrid grid) |
void |
balanceGrid()
Balance the crafting grid.
|
void |
clearGrid()
Clear the crafting grid.
|
protected int |
getSizeInventory() |
protected int |
getSlotRange(int originSlot,
int slotRange,
boolean reverse) |
protected int |
getSlotStart(int originSlot,
int slotStart,
boolean reverse) |
boolean |
isReturnToInnerInventory() |
void |
onCraftMatrixChanged(net.minecraft.inventory.IInventory inventory) |
protected void |
setReturnToInnerInventory(boolean returnToInner) |
canInteractWith, createNewSlot, getItem, getItemStack, readHand, readItemIndex, slotClickaddInventory, addListener, addPlayerArmorInventory, addPlayerInventory, addSlot, adjustPhantomSlot, detectAndSendChanges, fillPhantomSlot, getNextValueId, getPlayerIInventory, getValue, getValueIds, getValueNotifiableType, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, registerSyncedVariable, resetDrag, setGuiValueListener, setSlotPosX, setSlotPosY, setValue, transferStackInSlotareItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, onContainerClosed, putStackInSlot, removeListener, setAll, setCanCraft, trackInt, trackIntArray, updateProgressBarpublic static final java.lang.String BUTTON_CLEAR
public static final java.lang.String BUTTON_BALANCE
public static final java.lang.String BUTTON_TOGGLERETURN
public ContainerExaltedCrafter(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer packetBuffer)
public ContainerExaltedCrafter(int id,
net.minecraft.entity.player.PlayerInventory inventory,
int itemIndex,
net.minecraft.util.Hand hand)
public void clearGrid()
public void balanceGrid()
public boolean isReturnToInnerInventory()
protected void setReturnToInnerInventory(boolean returnToInner)
protected int getSlotStart(int originSlot,
int slotStart,
boolean reverse)
getSlotStart in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedprotected int getSlotRange(int originSlot,
int slotRange,
boolean reverse)
getSlotRange in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedprotected void addCraftingGrid(net.minecraft.entity.player.PlayerEntity player,
NBTCraftingGrid grid)
protected int getSizeInventory()
getSizeInventory in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedpublic void onCraftMatrixChanged(net.minecraft.inventory.IInventory inventory)
onCraftMatrixChanged in class net.minecraft.inventory.container.Container