public class TankInventoryTileEntity
extends org.cyclops.cyclopscore.tileentity.CyclopsTileEntity
| Modifier and Type | Field and Description |
|---|---|
protected int |
tankSize |
| Constructor and Description |
|---|
TankInventoryTileEntity(net.minecraft.tileentity.TileEntityType<?> type,
int inventorySize,
int stackSize,
int tankSize,
net.minecraft.fluid.Fluid acceptedFluid) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFluidHandlerCapabilities() |
protected void |
addItemHandlerCapabilities() |
protected org.cyclops.cyclopscore.inventory.SimpleInventory |
createInventory(int inventorySize,
int stackSize) |
protected org.cyclops.cyclopscore.fluid.SingleUseTank |
createTank(int tankSize) |
org.cyclops.cyclopscore.inventory.SimpleInventory |
getInventory() |
org.cyclops.cyclopscore.fluid.SingleUseTank |
getTank() |
void |
onTankChanged() |
void |
read(net.minecraft.nbt.CompoundNBT tag) |
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, read, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, transformFacingForRotation, updateTileEntity, writeGeneratedFieldsToNBT, writeToItemStackaddInfoToCrashReport, getBlockState, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onChunkUnloaded, onlyOpsCanSetNbt, readTileEntity, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic TankInventoryTileEntity(net.minecraft.tileentity.TileEntityType<?> type,
int inventorySize,
int stackSize,
int tankSize,
@Nullable
net.minecraft.fluid.Fluid acceptedFluid)
protected void addItemHandlerCapabilities()
protected void addFluidHandlerCapabilities()
protected org.cyclops.cyclopscore.inventory.SimpleInventory createInventory(int inventorySize,
int stackSize)
protected org.cyclops.cyclopscore.fluid.SingleUseTank createTank(int tankSize)
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.CyclopsTileEntitypublic org.cyclops.cyclopscore.inventory.SimpleInventory getInventory()
public org.cyclops.cyclopscore.fluid.SingleUseTank getTank()
public void onTankChanged()