public class BasicMachineContainer<T extends BasicMachineTileEntity<?>>
extends info.u_team.u_team_core.container.UTileEntityContainer<T>
Modifier and Type | Field and Description |
---|---|
protected int |
playerInventoryStart |
Constructor and Description |
---|
BasicMachineContainer(net.minecraft.inventory.container.ContainerType<?> type,
int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer buffer) |
BasicMachineContainer(net.minecraft.inventory.container.ContainerType<?> type,
int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
T tileEntity) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendOutputInventory(net.minecraftforge.items.IItemHandler handler,
int inventoryHeight,
int inventoryWidth,
int x,
int y) |
protected void |
init(boolean server) |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.PlayerEntity player,
int index) |
getInventoryOnDist, getTileEntity
addClientToServerTracker, addServerToClientTracker, appendInventory, appendInventory, appendInventory, appendInventory, appendPlayerInventory, canInteractWith, detectAndSendChanges, updateTrackedServerToClient, updateValue
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
public BasicMachineContainer(net.minecraft.inventory.container.ContainerType<?> type, int id, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.network.PacketBuffer buffer)
public BasicMachineContainer(net.minecraft.inventory.container.ContainerType<?> type, int id, net.minecraft.entity.player.PlayerInventory playerInventory, T tileEntity)
protected void init(boolean server)
init
in class info.u_team.u_team_core.container.UTileEntityContainer<T extends BasicMachineTileEntity<?>>
protected void appendOutputInventory(net.minecraftforge.items.IItemHandler handler, int inventoryHeight, int inventoryWidth, int x, int y)
public net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.PlayerEntity player, int index)
transferStackInSlot
in class net.minecraft.inventory.container.Container