public class TileEntangledChalice
extends org.cyclops.cyclopscore.tileentity.TankInventoryTileEntity
implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_CAPACITY
The base capacity of the tank.
|
static java.lang.String |
NBT_TAG_TANK
The NBT tag name of the tank.
|
sendUpdateOnTankChanged, tankSizeinventory, slotSides| Constructor and Description |
|---|
TileEntangledChalice()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getFillRatio()
Get the filled ratio of this tank.
|
int[] |
getSlotsForFace(net.minecraft.util.EnumFacing side) |
boolean |
isItemValidForSlot(int index,
net.minecraft.item.ItemStack item) |
protected org.cyclops.cyclopscore.fluid.SingleUseTank |
newTank(java.lang.String tankName,
int tankSize) |
protected void |
updateTileEntity() |
canDrain, canFill, drain, drain, drain, drain, fill, fill, getTank, getTankInfo, isSendUpdateOnTankChanged, onSendUpdate, readFromNBT, setSendUpdateOnTankChanged, writeToNBTaddSlotsToSide, getInventorycanAccess, canExtractItem, canInsertItem, clear, closeInventory, decrStackSize, getCapability, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getStackInSlot, hasCapability, hasCustomName, isSendUpdateOnInventoryChanged, isUseableByPlayer, onInventoryChanged, openInventory, removeStackFromSlot, setField, setInventorySlotContents, setSendUpdateOnInventoryChangedafterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getDescriptionPacket, getNBTTagCompound, getRotation, getUpdateBackoffTicks, isRotatable, isTicking, onDataPacket, onLoad, onUpdateReceived, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, writeGeneratedFieldsToNBTaddInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, deserializeNBT, func_183000_F, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validatepublic static final int BASE_CAPACITY
public static final java.lang.String NBT_TAG_TANK
protected org.cyclops.cyclopscore.fluid.SingleUseTank newTank(java.lang.String tankName,
int tankSize)
newTank in class org.cyclops.cyclopscore.tileentity.TankInventoryTileEntitypublic boolean isItemValidForSlot(int index,
net.minecraft.item.ItemStack item)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic int[] getSlotsForFace(net.minecraft.util.EnumFacing side)
getSlotsForFace in interface net.minecraft.inventory.ISidedInventorygetSlotsForFace in class org.cyclops.cyclopscore.tileentity.InventoryTileEntitypublic double getFillRatio()
protected void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntity