public class TileBloodChest extends TickingTankInventoryTileEntity<TileBloodChest>
| Modifier and Type | Field and Description |
|---|---|
static net.minecraftforge.fluids.Fluid |
ACCEPTED_FLUID
The fluid that is accepted in the tank.
|
float |
lidAngle
The current angle of the lid.
|
static int |
LIQUID_PER_SLOT
The capacity of the tank.
|
float |
prevLidAngle
The previous angle of the lid.
|
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.
|
static java.lang.String |
TANKNAME
The name of the tank, used for NBT storage.
|
static int |
TICKS_PER_LIQUID
The amount of ticks per mB the tank can accept per tick.
|
sendUpdateOnTankChanged, tankSizeinventory, slotSides| Constructor and Description |
|---|
TileBloodChest()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRenderBreaking() |
void |
closeInventory(net.minecraft.entity.player.EntityPlayer entityPlayer) |
int |
getNewState()
Get the new (numerical) state for this tile entity.
|
net.minecraft.util.EnumFacing |
getRotation() |
boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack itemStack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityPlayer) |
protected org.cyclops.cyclopscore.fluid.SingleUseTank |
newTank(java.lang.String tankName,
int tankSize) |
void |
onStateChanged()
What needs to happen when the (numerical) state is changed.
|
void |
openInventory(net.minecraft.entity.player.EntityPlayer entityPlayer) |
boolean |
receiveClientEvent(int i,
int j) |
void |
updateTileEntity() |
addTicker, getCurrentState, getTickers, readFromNBT, writeToNBTcanDrain, canFill, drain, drain, drain, drain, fill, fill, getTank, getTankInfo, isSendUpdateOnTankChanged, onSendUpdate, setSendUpdateOnTankChangedaddSlotsToSide, getInventory, getSlotsForFacecanAccess, canExtractItem, canInsertItem, clear, decrStackSize, getCapability, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getStackInSlot, hasCapability, hasCustomName, isSendUpdateOnInventoryChanged, onInventoryChanged, removeStackFromSlot, setField, setInventorySlotContents, setSendUpdateOnInventoryChangedafterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getDescriptionPacket, getNBTTagCompound, getUpdateBackoffTicks, isRotatable, isTicking, onDataPacket, onLoad, onUpdateReceived, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, writeGeneratedFieldsToNBTaddInfoToCrashReport, addMapping, createAndLoadEntity, deserializeNBT, func_183000_F, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validatepublic static final int SLOTS_CHEST
public static final int SLOTS
public static final int SLOT_CONTAINER
public static java.lang.String TANKNAME
public static final int LIQUID_PER_SLOT
public static final int TICKS_PER_LIQUID
public static final net.minecraftforge.fluids.Fluid ACCEPTED_FLUID
public float prevLidAngle
public float lidAngle
public net.minecraft.util.EnumFacing getRotation()
getRotation in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic boolean canRenderBreaking()
canRenderBreaking in class net.minecraft.tileentity.TileEntityprotected org.cyclops.cyclopscore.fluid.SingleUseTank newTank(java.lang.String tankName,
int tankSize)
newTank in class org.cyclops.cyclopscore.tileentity.TankInventoryTileEntitypublic boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack itemStack)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic 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.TileEntitypublic void openInventory(net.minecraft.entity.player.EntityPlayer entityPlayer)
openInventory in interface net.minecraft.inventory.IInventoryopenInventory in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic void closeInventory(net.minecraft.entity.player.EntityPlayer entityPlayer)
closeInventory in interface net.minecraft.inventory.IInventorycloseInventory in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBasepublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityPlayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventoryisUseableByPlayer in class org.cyclops.cyclopscore.tileentity.InventoryTileEntityBase