public class TileSpiritReanimator extends TileWorking<TileSpiritReanimator,org.apache.commons.lang3.mutable.MutableDouble> implements net.minecraft.inventory.container.INamedContainerProvider
TileWorking.Inventory<T extends TileWorking<T,?>>| Modifier and Type | Field and Description |
|---|---|
static int |
LIQUID_PER_SLOT
The capacity of the tank.
|
static org.cyclops.evilcraft.tileentity.TileSpiritReanimator.Metadata |
METADATA |
static int |
SLOT_BOX
The id of the box slot.
|
static int |
SLOT_CONTAINER
The id of the fluid container drainer slot.
|
static int |
SLOT_EGG
The id of the egg slot.
|
static int |
SLOTS
The total amount of slots in this machine.
|
static int |
SLOTS_OUTPUT
The id of the output slot.
|
static int |
TICKERS |
static Upgrades.UpgradeEventType |
UPGRADEEVENT_BLOODUSAGE |
static Upgrades.UpgradeEventType |
UPGRADEEVENT_SPEED |
INVENTORY_SIZE_UPGRADES, upgradeBehaviourtickingTileComponenttankSize| Constructor and Description |
|---|
TileSpiritReanimator()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItemHandlerCapabilities() |
boolean |
canWork()
Check if this tile is valid and can start working.
|
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) |
static net.minecraft.item.Item |
getAllowedCookItem()
Get the allowed cooking item for this furnace.
|
int |
getConsumeSlot()
Get the id of the box slot.
|
net.minecraft.util.text.ITextComponent |
getDisplayName() |
net.minecraft.entity.EntityType<?> |
getEntityType()
Get the entity type that is contained in a box.
|
net.minecraft.util.Direction |
getRotation() |
org.cyclops.evilcraft.tileentity.TileSpiritReanimator.Metadata |
getTileWorkingMetadata() |
protected int |
getWorkTicker() |
void |
onStateChanged()
What needs to happen when the (numerical) state is changed.
|
getBasicInventorySize, getNewState, getRequiredWorkTicks, getTankTierMultiplier, getUpgradeBehaviour, getUpgradeItems, getUpgradeLevel, getUpgradeLevels, getUpgradeType, getWorkTick, getWorkTickScaled, hasJustWorked, isVisuallyWorking, isWorking, onUpgradeSlotChanged, resetUpgradeLevels, resetWork, resetWork, updateTileEntityaddTicker, getCurrentState, getTickers, read, writeaddFluidHandlerCapabilities, getInventory, getTank, onTankChangedaddCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, getCapability, getNBTTagCompound, 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 SLOT_CONTAINER
public static final int SLOT_BOX
public static final int SLOT_EGG
public static final int SLOTS_OUTPUT
public static final int SLOTS
public static org.cyclops.evilcraft.tileentity.TileSpiritReanimator.Metadata METADATA
public static final int LIQUID_PER_SLOT
public static int TICKERS
public static final Upgrades.UpgradeEventType UPGRADEEVENT_SPEED
public static final Upgrades.UpgradeEventType UPGRADEEVENT_BLOODUSAGE
protected void addItemHandlerCapabilities()
addItemHandlerCapabilities in class TankInventoryTileEntityprotected org.cyclops.cyclopscore.inventory.SimpleInventory createInventory(int inventorySize,
int stackSize)
createInventory in class TileWorking<TileSpiritReanimator,org.apache.commons.lang3.mutable.MutableDouble>public net.minecraft.util.Direction getRotation()
getRotation in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntityprotected org.cyclops.cyclopscore.fluid.SingleUseTank createTank(int tankSize)
createTank in class TankInventoryTileEntityprotected int getWorkTicker()
getWorkTicker in class TileWorking<TileSpiritReanimator,org.apache.commons.lang3.mutable.MutableDouble>@Nullable public net.minecraft.entity.EntityType<?> getEntityType()
public static net.minecraft.item.Item getAllowedCookItem()
public int getConsumeSlot()
public org.cyclops.evilcraft.tileentity.TileSpiritReanimator.Metadata getTileWorkingMetadata()
getTileWorkingMetadata in class TileWorking<TileSpiritReanimator,org.apache.commons.lang3.mutable.MutableDouble>public boolean canWork()
TileWorkingcanWork in class TileWorking<TileSpiritReanimator,org.apache.commons.lang3.mutable.MutableDouble>public void onStateChanged()
TickingTankInventoryTileEntityonStateChanged in class TileWorking<TileSpiritReanimator,org.apache.commons.lang3.mutable.MutableDouble>@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.INamedContainerProvider