public class ContainerGate extends ContainerPipe
| Modifier and Type | Field and Description |
|---|---|
GateLogic |
gate |
static int |
ID_CONNECTION |
static int |
ID_VALID_STATEMENTS |
protected static IdAllocator |
IDS |
java.util.SortedSet<ActionWrapper> |
possibleActions |
GateContext<ActionWrapper> |
possibleActionsContext |
java.util.SortedSet<TriggerWrapper> |
possibleTriggers |
GateContext<TriggerWrapper> |
possibleTriggersContext |
int |
slotHeight |
pipeHolderDEBUG, NET_DATA, NET_SET_PHANTOM, NET_SET_PHANTOM_MULTI, NET_WIDGET, player| Constructor and Description |
|---|
ContainerGate(net.minecraft.entity.player.EntityPlayer player,
GateLogic logic) |
| Modifier and Type | Method and Description |
|---|---|
IdAllocator |
getIdAllocator() |
void |
onContainerClosed(net.minecraft.entity.player.EntityPlayer player) |
void |
readMessage(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
setConnected(int index,
boolean to) |
void |
writeMessage(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
canInteractWithaddFullPlayerInventory, addFullPlayerInventory, addWidget, getWidgets, safeCopy, sendMessage, sendMessage, sendSetPhantomSlot, sendSetPhantomSlot, sendSetPhantomSlots, slotClick, transferStackInSlotaddListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarprotected static final IdAllocator IDS
public static final int ID_CONNECTION
public static final int ID_VALID_STATEMENTS
public final GateLogic gate
public final int slotHeight
public final java.util.SortedSet<TriggerWrapper> possibleTriggers
public final java.util.SortedSet<ActionWrapper> possibleActions
public final GateContext<TriggerWrapper> possibleTriggersContext
public final GateContext<ActionWrapper> possibleActionsContext
public ContainerGate(net.minecraft.entity.player.EntityPlayer player,
GateLogic logic)
public IdAllocator getIdAllocator()
getIdAllocator in class ContainerBC_NeptuneIdAllocator that allocates all ID's for this class, and its parent classes. All subclasses
should override this if they allocate their own ids after calling
IdAllocator.makeChild(String)public void onContainerClosed(net.minecraft.entity.player.EntityPlayer player)
onContainerClosed in class net.minecraft.inventory.Containerpublic void readMessage(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
throws java.io.IOException
readMessage in class ContainerBC_Neptunejava.io.IOExceptionpublic void writeMessage(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side)
writeMessage in class ContainerBC_Neptunepublic void setConnected(int index,
boolean to)