public class ContainerLogistics extends ContainerPneumaticBase<TileEntityBase> implements ISyncableSemiblockItem
| Modifier and Type | Field and Description |
|---|---|
EntityLogisticsFrame |
logistics |
te| Constructor and Description |
|---|
ContainerLogistics(net.minecraft.inventory.container.ContainerType<?> containerType,
int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
int entityId) |
| Modifier and Type | Method and Description |
|---|---|
static ContainerLogistics |
createProviderContainer(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer buffer) |
static ContainerLogistics |
createRequesterContainer(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer buffer) |
static ContainerLogistics |
createStorageContainer(int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer buffer) |
void |
handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player) |
boolean |
isItemContainer() |
net.minecraft.item.ItemStack |
quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int slotIndex) |
void |
removed(net.minecraft.entity.player.PlayerEntity player)
Called when the container is closed.
|
boolean |
stillValid(net.minecraft.entity.player.PlayerEntity player) |
void |
syncSemiblockItemFromClient(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.network.PacketBuffer payload) |
addPlayerSlots, addPlayerSlots, addUpgradeSlots, broadcastChanges, clicked, moveItemStackTo, putHand, updateFieldaddDataSlot, addDataSlots, addSlot, addSlotListener, backup, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, slotsChanged, stillValidpublic final EntityLogisticsFrame logistics
public ContainerLogistics(net.minecraft.inventory.container.ContainerType<?> containerType,
int i,
net.minecraft.entity.player.PlayerInventory playerInventory,
int entityId)
public boolean isItemContainer()
public void handleGUIButtonPress(java.lang.String tag,
boolean shiftHeld,
net.minecraft.entity.player.ServerPlayerEntity player)
handleGUIButtonPress in interface IGUIButtonSensitivehandleGUIButtonPress in class ContainerPneumaticBase<TileEntityBase>public boolean stillValid(net.minecraft.entity.player.PlayerEntity player)
stillValid in class ContainerPneumaticBase<TileEntityBase>public void removed(net.minecraft.entity.player.PlayerEntity player)
removed in class net.minecraft.inventory.container.Container@Nonnull
public net.minecraft.item.ItemStack quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int slotIndex)
quickMoveStack in class ContainerPneumaticBase<TileEntityBase>public static ContainerLogistics createProviderContainer(int i, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.network.PacketBuffer buffer)
public static ContainerLogistics createRequesterContainer(int i, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.network.PacketBuffer buffer)
public static ContainerLogistics createStorageContainer(int i, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.network.PacketBuffer buffer)
public void syncSemiblockItemFromClient(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.network.PacketBuffer payload)
syncSemiblockItemFromClient in interface ISyncableSemiblockItem