public class TilePurifier extends TankInventoryTileEntity implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
BlockPurifier..| Modifier and Type | Field and Description |
|---|---|
java.lang.Float |
additionalRotation
The additional item rotation.
|
java.lang.Float |
additionalRotation2
The next additional item rotation.
|
java.lang.Float |
additionalRotationPrev
The previous additional item rotation.
|
int |
field_195522_a |
float |
field_195523_f |
float |
field_195524_g |
float |
field_195525_h |
float |
field_195526_i |
float |
field_195527_j |
float |
field_195528_k |
float |
field_195529_l |
float |
field_195530_m |
float |
field_195531_n |
static int |
MAX_BUCKETS |
static int |
SLOT_ADDITIONAL
The additional slot.
|
static int |
SLOT_PURIFY
The purify item slot.
|
static int |
SLOTS
The amount of slots.
|
java.lang.Integer |
tickCount
Book bounce tick count.
|
tankSize| Constructor and Description |
|---|
TilePurifier()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.cyclops.cyclopscore.inventory.SimpleInventory |
createInventory(int inventorySize,
int stackSize) |
protected org.cyclops.cyclopscore.fluid.SingleUseTank |
createTank(int tankSize) |
IPurifierActionRegistry |
getActions() |
net.minecraft.item.ItemStack |
getAdditionalItem()
Get the book item.
|
int |
getBucketsFloored()
Get the amount of contained buckets.
|
int |
getBucketsRest()
Get the rest of the fluid that can not fit in a bucket.
|
int |
getMaxBuckets()
Set the maximum amount of contained buckets.
|
net.minecraft.item.ItemStack |
getPurifyItem()
Get the purify item.
|
float |
getRandomRotation()
Get the random rotation for displaying the item.
|
void |
onActionFinished() |
void |
onTankChanged() |
void |
setAdditionalItem(net.minecraft.item.ItemStack itemStack)
Set the book item.
|
void |
setBuckets(int buckets,
int rest)
Set the amount of contained buckets.
|
void |
setPurifyItem(net.minecraft.item.ItemStack itemStack)
Set the purify item.
|
void |
showEffect() |
void |
showEnchantingEffect() |
void |
updateTileEntity() |
addFluidHandlerCapabilities, addItemHandlerCapabilities, getInventory, getTank, read, writeaddCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, getCapability, getNBTTagCompound, getRotation, getStoredCapabilities, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, invalidateCaps, isTicking, onDataPacket, onDirty, onLoad, onSendUpdate, onUpdateReceived, read, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, transformFacingForRotation, 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 static final int SLOTS
public static final int SLOT_PURIFY
public static final int SLOT_ADDITIONAL
public static final int MAX_BUCKETS
public java.lang.Integer tickCount
public java.lang.Float additionalRotation2
public java.lang.Float additionalRotationPrev
public java.lang.Float additionalRotation
public int field_195522_a
public float field_195523_f
public float field_195524_g
public float field_195525_h
public float field_195526_i
public float field_195527_j
public float field_195528_k
public float field_195529_l
public float field_195530_m
public float field_195531_n
protected org.cyclops.cyclopscore.inventory.SimpleInventory createInventory(int inventorySize,
int stackSize)
createInventory in class TankInventoryTileEntityprotected org.cyclops.cyclopscore.fluid.SingleUseTank createTank(int tankSize)
createTank in class TankInventoryTileEntitypublic IPurifierActionRegistry getActions()
public void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic void onActionFinished()
public int getBucketsFloored()
public int getBucketsRest()
setBuckets(int, int) as rest.public void setBuckets(int buckets,
int rest)
buckets - The amount of buckets.rest - The rest of the fluid.public int getMaxBuckets()
public net.minecraft.item.ItemStack getPurifyItem()
public void setPurifyItem(net.minecraft.item.ItemStack itemStack)
itemStack - The purify item.public net.minecraft.item.ItemStack getAdditionalItem()
public void setAdditionalItem(net.minecraft.item.ItemStack itemStack)
itemStack - The book item.public void showEffect()
public void showEnchantingEffect()
public float getRandomRotation()
public void onTankChanged()
onTankChanged in class TankInventoryTileEntity