public class ContainerTerminalStorage extends org.cyclops.integrateddynamics.core.inventory.container.ContainerMultipart<PartTypeTerminalStorage,PartTypeTerminalStorage.State>
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerTerminalStorage.InitTabData |
BUTTON_SETTINGSinventory| Constructor and Description |
|---|
ContainerTerminalStorage(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer packetBuffer) |
ContainerTerminalStorage(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
org.cyclops.integrateddynamics.api.part.PartTarget target,
PartTypeTerminalStorage partType,
java.util.Optional<ContainerTerminalStorage.InitTabData> initTabData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(net.minecraft.entity.player.PlayerEntity 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() |
org.cyclops.integrateddynamics.api.part.PartTarget |
getPartTarget() |
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.container.Slot,java.lang.Integer,java.lang.Integer>> |
getTabSlots(java.lang.String tabName) |
java.util.Map<java.lang.String,ITerminalStorageTabServer> |
getTabsServer() |
void |
onContainerClosed(net.minecraft.entity.player.PlayerEntity playerIn) |
void |
onCraftMatrixChanged(net.minecraft.inventory.IInventory inventoryIn) |
void |
refreshChannelStrings() |
void |
setSelectedChannel(int selectedChannel) |
void |
setSelectedTab(java.lang.String selectedTab) |
getPartContainer, getPartState, getPartType, getTarget, getWorld, onDirtygetContainerInventory, isAssertInventorySizeaddInventory, addListener, addPlayerArmorInventory, addPlayerInventory, addSlot, adjustPhantomSlot, createNewSlot, fillPhantomSlot, getPlayerIInventory, getSlotRange, getSlotStart, getValue, getValueIds, getValueNotifiableType, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, registerSyncedVariable, resetDrag, setGuiValueListener, setSlotPosX, setSlotPosY, setValue, slotClick, transferStackInSlotareItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, putStackInSlot, removeListener, setAll, setCanCraft, trackInt, trackIntArray, updateProgressBarpublic ContainerTerminalStorage(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer packetBuffer)
public ContainerTerminalStorage(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
org.cyclops.integrateddynamics.api.part.PartTarget target,
PartTypeTerminalStorage partType,
java.util.Optional<ContainerTerminalStorage.InitTabData> initTabData)
public org.cyclops.integrateddynamics.api.part.PartTarget getPartTarget()
public TerminalStorageState getGuiState()
public int getNextValueId()
getNextValueId in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedpublic void detectAndSendChanges()
detectAndSendChanges in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedpublic void onCraftMatrixChanged(net.minecraft.inventory.IInventory inventoryIn)
onCraftMatrixChanged in class net.minecraft.inventory.container.Containerpublic void onContainerClosed(net.minecraft.entity.player.PlayerEntity playerIn)
onContainerClosed in class org.cyclops.cyclopscore.inventory.container.InventoryContainerprotected int getSizeInventory()
getSizeInventory in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic boolean canInteractWith(net.minecraft.entity.player.PlayerEntity playerIn)
canInteractWith in class org.cyclops.integrateddynamics.core.inventory.container.ContainerMultipart<PartTypeTerminalStorage,PartTypeTerminalStorage.State>public java.util.List<org.apache.commons.lang3.tuple.Triple<net.minecraft.inventory.container.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()