public class TileDarkTank extends TankInventoryTileEntity implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_CAPACITY
The base capacity of the tank.
|
tankSize| Constructor and Description |
|---|
TileDarkTank() |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.item.ItemStack |
fill(net.minecraft.item.ItemStack itemStack) |
double |
getFillRatio()
Get the filled ratio of this tank.
|
boolean |
isEnabled() |
void |
onTankChanged() |
void |
setEnabled(boolean enabled) |
protected void |
updateTileEntity() |
addFluidHandlerCapabilities, addItemHandlerCapabilities, createInventory, createTank, getInventory, getTank, read, writeaddCapabilityInternal, 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 double getFillRatio()
public void setEnabled(boolean enabled)
public boolean isEnabled()
protected void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntity@Nullable protected net.minecraft.item.ItemStack fill(net.minecraft.item.ItemStack itemStack)
public void onTankChanged()
onTankChanged in class TankInventoryTileEntity