public abstract class ContainerLiquidTanks<T extends net.minecraft.tileentity.TileEntity & ILiquidTankTile> extends ContainerTile<T> implements IContainerLiquidTanks
tilePLAYER_HOTBAR_OFFSET, PLAYER_INV_SLOTS| Modifier | Constructor and Description |
|---|---|
protected |
ContainerLiquidTanks(T tile,
net.minecraft.entity.player.InventoryPlayer playerInventory,
int xInv,
int yInv) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(net.minecraft.inventory.IContainerListener crafting) |
void |
detectAndSendChanges() |
net.minecraftforge.fluids.IFluidTank |
getTank(int slot) |
void |
handlePipetteClick(int slot,
net.minecraft.entity.player.EntityPlayerMP player) |
void |
handlePipetteClickClient(int slot,
net.minecraft.entity.player.EntityPlayer player) |
void |
onContainerClosed(net.minecraft.entity.player.EntityPlayer entityPlayer) |
canAccess, canInteractWith, onGuiEnergyaddHotbarSlot, addPlayerInventory, addSlot, addSlotToContainer, getContainerSections, getForestrySlot, sendPacketToListeners, slotClick, transferStackInSlotcalcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarprotected ContainerLiquidTanks(T tile, net.minecraft.entity.player.InventoryPlayer playerInventory, int xInv, int yInv)
public void handlePipetteClickClient(int slot,
net.minecraft.entity.player.EntityPlayer player)
handlePipetteClickClient in interface IContainerLiquidTankspublic void handlePipetteClick(int slot,
net.minecraft.entity.player.EntityPlayerMP player)
handlePipetteClick in interface IContainerLiquidTankspublic void detectAndSendChanges()
detectAndSendChanges in class ContainerTile<T extends net.minecraft.tileentity.TileEntity & ILiquidTankTile>public void addListener(net.minecraft.inventory.IContainerListener crafting)
addListener in class net.minecraft.inventory.Containerpublic void onContainerClosed(net.minecraft.entity.player.EntityPlayer entityPlayer)
onContainerClosed in class net.minecraft.inventory.Containerpublic net.minecraftforge.fluids.IFluidTank getTank(int slot)
getTank in interface IContainerLiquidTanks