public class ContainerTerminalStorage
extends org.cyclops.cyclopscore.inventory.container.ExtendedInventoryContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerTerminalStorage.InitTabData |
guiProvider| Constructor and Description |
|---|
ContainerTerminalStorage(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.integrateddynamics.api.part.PartTarget target,
org.cyclops.integrateddynamics.api.part.IPartContainer partContainer,
org.cyclops.integrateddynamics.api.part.IPartType partType)
Make a new instance.
|
ContainerTerminalStorage(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.integrateddynamics.api.part.PartTarget target,
org.cyclops.integrateddynamics.api.part.IPartContainer partContainer,
org.cyclops.integrateddynamics.api.part.IPartType partType,
ContainerTerminalStorage.InitTabData initTabData)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn) |
void |
detectAndSendChanges() |
protected void |
disableSlots(java.lang.String tabName) |
protected void |
enableSlots(java.lang.String tabName) |
java.util.List<java.lang.String> |
getChannelStrings() |
TerminalStorageState |
getGuiState() |
int |
getNextValueId() |
PartTypeTerminalStorage.State |
getPartState() |
PartTypeTerminalStorage |
getPartType() |
int |
getSelectedChannel() |
java.lang.String |
getSelectedTab() |
protected int |
getSizeInventory() |
ITerminalStorageTabClient |
getTabClient(java.lang.String id) |
ITerminalStorageTabCommon |
getTabCommon(java.lang.String id) |
java.util.Map<java.lang.String,ITerminalStorageTabClient<?>> |
getTabsClient() |
int |
getTabsClientCount() |
java.util.Map<java.lang.String,ITerminalStorageTabCommon> |
getTabsCommon() |
ITerminalStorageTabServer |
getTabServer(java.lang.String id) |
java.util.List<org.apache.commons.lang3.tuple.Triple<net.minecraft.inventory.Slot,java.lang.Integer,java.lang.Integer>> |
getTabSlots(java.lang.String tabName) |
java.util.Map<java.lang.String,ITerminalStorageTabServer> |
getTabsServer() |
org.cyclops.integrateddynamics.api.part.PartTarget |
getTarget() |
void |
onContainerClosed(net.minecraft.entity.player.EntityPlayer playerIn) |
void |
onCraftMatrixChanged(net.minecraft.inventory.IInventory inventoryIn) |
void |
refreshChannelStrings() |
void |
setSelectedChannel(int selectedChannel) |
void |
setSelectedTab(java.lang.String selectedTab) |
getGuiId, getGuiModId, getGuiProvideraddInventory, addListener, addPlayerArmorInventory, addPlayerInventory, addSlotToContainer, adjustPhantomSlot, createNewSlot, fillPhantomSlot, getPlayerIInventory, getSlotRange, getSlotStart, getValue, getValueIds, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, registerSyncedVariable, requiresAction, resetDrag, setGuiValueListener, setValue, slotClick, transferStackInSlotcalcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, putStackInSlot, removeListener, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarpublic ContainerTerminalStorage(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.integrateddynamics.api.part.PartTarget target,
org.cyclops.integrateddynamics.api.part.IPartContainer partContainer,
org.cyclops.integrateddynamics.api.part.IPartType partType)
target - The target.player - The player.partContainer - The part container.partType - The part type.public ContainerTerminalStorage(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.integrateddynamics.api.part.PartTarget target,
org.cyclops.integrateddynamics.api.part.IPartContainer partContainer,
org.cyclops.integrateddynamics.api.part.IPartType partType,
ContainerTerminalStorage.InitTabData initTabData)
target - The target.player - The player.partContainer - The part container.partType - The part type.initTabData - The tab and channel to select.public TerminalStorageState getGuiState()
public int getNextValueId()
getNextValueId in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic void detectAndSendChanges()
detectAndSendChanges in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic void onCraftMatrixChanged(net.minecraft.inventory.IInventory inventoryIn)
onCraftMatrixChanged in class net.minecraft.inventory.Containerpublic void onContainerClosed(net.minecraft.entity.player.EntityPlayer playerIn)
onContainerClosed in class net.minecraft.inventory.Containerpublic org.cyclops.integrateddynamics.api.part.PartTarget getTarget()
public PartTypeTerminalStorage.State getPartState()
public PartTypeTerminalStorage getPartType()
protected int getSizeInventory()
getSizeInventory in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic boolean canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn)
canInteractWith in class net.minecraft.inventory.Containerpublic java.util.List<org.apache.commons.lang3.tuple.Triple<net.minecraft.inventory.Slot,java.lang.Integer,java.lang.Integer>> getTabSlots(java.lang.String tabName)
protected void enableSlots(java.lang.String tabName)
protected void disableSlots(java.lang.String tabName)
public void setSelectedTab(@Nullable
java.lang.String selectedTab)
@Nullable public java.lang.String getSelectedTab()
public void setSelectedChannel(int selectedChannel)
public int getSelectedChannel()
@Nullable public ITerminalStorageTabClient getTabClient(java.lang.String id)
@Nullable public ITerminalStorageTabServer getTabServer(java.lang.String id)
@Nullable public ITerminalStorageTabCommon getTabCommon(java.lang.String id)
public int getTabsClientCount()
public java.util.Map<java.lang.String,ITerminalStorageTabClient<?>> getTabsClient()
public java.util.Map<java.lang.String,ITerminalStorageTabCommon> getTabsCommon()
public java.util.Map<java.lang.String,ITerminalStorageTabServer> getTabsServer()
public java.util.List<java.lang.String> getChannelStrings()
public void refreshChannelStrings()