public class TileBloodChest extends TickingTankInventoryTileEntity<TileBloodChest> implements net.minecraft.inventory.container.INamedContainerProvider, net.minecraft.tileentity.IChestLid
| Modifier and Type | Field and Description |
|---|---|
float |
lidAngle |
static int |
LIQUID_PER_SLOT
The capacity of the tank.
|
float |
prevLidAngle |
static int |
SLOT_CONTAINER
The id of the fluid container slot.
|
static int |
SLOTS
The total amount of slots.
|
static int |
SLOTS_CHEST
The amount of slots in the chest.
|
tankSize| Constructor and Description |
|---|
TileBloodChest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItemHandlerCapabilities() |
boolean |
canRenderBreaking() |
protected org.cyclops.cyclopscore.inventory.SimpleInventory |
createInventory(int inventorySize,
int stackSize) |
net.minecraft.inventory.container.Container |
createMenu(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity) |
protected org.cyclops.cyclopscore.fluid.SingleUseTank |
createTank(int tankSize) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
float |
getLidAngle(float partialTicks) |
int |
getNewState()
Get the new (numerical) state for this tile entity.
|
net.minecraft.util.Direction |
getRotation() |
void |
onStateChanged()
What needs to happen when the (numerical) state is changed.
|
boolean |
receiveClientEvent(int i,
int j) |
void |
updateTileEntity() |
addTicker, getCurrentState, getTickers, hasJustWorked, read, writeaddFluidHandlerCapabilities, getInventory, getTank, onTankChangedaddCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, getCapability, getNBTTagCompound, 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, 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 SLOTS_CHEST
public static final int SLOTS
public static final int SLOT_CONTAINER
public static final int LIQUID_PER_SLOT
public float prevLidAngle
public float lidAngle
protected void addItemHandlerCapabilities()
addItemHandlerCapabilities in class TankInventoryTileEntitypublic net.minecraft.util.Direction getRotation()
getRotation in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic boolean canRenderBreaking()
canRenderBreaking in interface net.minecraftforge.common.extensions.IForgeTileEntityprotected org.cyclops.cyclopscore.fluid.SingleUseTank createTank(int tankSize)
createTank in class TankInventoryTileEntityprotected org.cyclops.cyclopscore.inventory.SimpleInventory createInventory(int inventorySize,
int stackSize)
createInventory in class TankInventoryTileEntitypublic int getNewState()
TickingTankInventoryTileEntitygetNewState in class TickingTankInventoryTileEntity<TileBloodChest>public void onStateChanged()
TickingTankInventoryTileEntityonStateChanged in class TickingTankInventoryTileEntity<TileBloodChest>public void updateTileEntity()
updateTileEntity in class TickingTankInventoryTileEntity<TileBloodChest>public boolean receiveClientEvent(int i,
int j)
receiveClientEvent in class net.minecraft.tileentity.TileEntity@Nullable
public net.minecraft.inventory.container.Container createMenu(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity playerEntity)
createMenu in interface net.minecraft.inventory.container.IContainerProviderpublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.inventory.container.INamedContainerProviderpublic float getLidAngle(float partialTicks)
getLidAngle in interface net.minecraft.tileentity.IChestLid