public class ContainerExaltedCrafter extends org.cyclops.cyclopscore.inventory.container.ItemInventoryContainer<ExaltedCrafter>
ExaltedCrafter.item, itemIndexguiProvider| Constructor and Description |
|---|
ContainerExaltedCrafter(net.minecraft.entity.player.EntityPlayer player,
int itemIndex)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCraftingGrid(net.minecraft.entity.player.EntityPlayer player,
NBTCraftingGrid grid) |
void |
balanceGrid()
Balance the crafting grid.
|
void |
clearGrid()
Clear the crafting grid.
|
void |
executePressButton(int buttonId)
Send a packet to the server for pressing a button.
|
java.util.Map<invtweaks.api.container.ContainerSection,java.util.List<net.minecraft.inventory.Slot>> |
getContainerSelection() |
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) |
void |
sendPressButton(int buttonId)
Send a packet to the server for pressing a button.
|
protected void |
setReturnToInnerInventory(boolean returnToInner) |
canInteractWith, createNewSlot, getItem, getItemStackgetGuiProvideraddInventory, addPlayerArmorInventory, addPlayerInventory, addSlotToContainer, adjustPhantomSlot, fillPhantomSlot, getNextValueId, getPlayerIInventory, getValue, initializeValues, mergeItemStack, onButtonClick, onCraftGuiOpened, onUpdate, putButtonAction, requiresAction, setGuiValueListener, setValue, slotClick, transferStackInSlotcalcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, onContainerClosed, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setCanCraft, updateProgressBarpublic ContainerExaltedCrafter(net.minecraft.entity.player.EntityPlayer player,
int itemIndex)
player - The player.itemIndex - The index of the item in use inside the player inventory.public void sendPressButton(int buttonId)
buttonId - The id of the button.public void executePressButton(int buttonId)
buttonId - The id of the button.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.InventoryContainerprotected int getSlotRange(int originSlot,
int slotRange,
boolean reverse)
getSlotRange in class org.cyclops.cyclopscore.inventory.container.InventoryContainerprotected void addCraftingGrid(net.minecraft.entity.player.EntityPlayer player,
NBTCraftingGrid grid)
protected int getSizeInventory()
getSizeInventory in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic void onCraftMatrixChanged(net.minecraft.inventory.IInventory inventory)
onCraftMatrixChanged in class net.minecraft.inventory.Containerpublic java.util.Map<invtweaks.api.container.ContainerSection,java.util.List<net.minecraft.inventory.Slot>> getContainerSelection()