public class TileEntangledChalice
extends org.cyclops.cyclopscore.tileentity.CyclopsTileEntity
implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_CAPACITY
The base capacity of the tank.
|
| Constructor and Description |
|---|
TileEntangledChalice() |
| Modifier and Type | Method and Description |
|---|---|
double |
getFillRatio()
Get the filled ratio of this tank.
|
WorldSharedTank |
getTank() |
java.lang.String |
getWorldTankId() |
void |
read(net.minecraft.nbt.CompoundNBT tag) |
void |
setWorldTankId(java.lang.String tankId)
Set the unique key of the internal tank.
|
protected void |
updateTileEntity() |
net.minecraft.nbt.CompoundNBT |
write(net.minecraft.nbt.CompoundNBT tag) |
addCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, getCapability, getNBTTagCompound, getRotation, getStoredCapabilities, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, invalidateCaps, isTicking, onDataPacket, onDirty, onLoad, onSendUpdate, onUpdateReceived, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, transformFacingForRotation, writeGeneratedFieldsToNBT, writeToItemStackaddInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int BASE_CAPACITY
public WorldSharedTank getTank()
public double getFillRatio()
protected void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic java.lang.String getWorldTankId()
public void setWorldTankId(java.lang.String tankId)
tankId - The new id.public void read(net.minecraft.nbt.CompoundNBT tag)
read in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic net.minecraft.nbt.CompoundNBT write(net.minecraft.nbt.CompoundNBT tag)
write in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntity