public class TileSanguinaryEnvironmentalAccumulator extends TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt> implements VirtualTank.ITankProvider, net.minecraft.inventory.container.INamedContainerProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
TileSanguinaryEnvironmentalAccumulator.Inventory |
static class |
TileSanguinaryEnvironmentalAccumulator.Metadata |
| Modifier and Type | Field and Description |
|---|---|
static TileSanguinaryEnvironmentalAccumulator.Metadata |
METADATA |
static int |
SLOT_ACCUMULATE
The id of the accumulation slot.
|
static int |
SLOT_ACCUMULATE_RESULT
The id of the accumulation result slot.
|
static int |
SLOTS
The total amount of slots in this machine.
|
static int |
TICKERS |
static Upgrades.UpgradeEventType |
UPGRADEEVENT_BLOODUSAGE |
static Upgrades.UpgradeEventType |
UPGRADEEVENT_SPEED |
INVENTORY_SIZE_UPGRADES, upgradeBehaviourtickingTileComponenttankSize| Constructor and Description |
|---|
TileSanguinaryEnvironmentalAccumulator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFluidHandlerCapabilities() |
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) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
TileSanguinaryEnvironmentalAccumulator.Inventory |
getInventory() |
java.util.Optional<RecipeEnvironmentalAccumulator> |
getRecipe(net.minecraft.item.ItemStack itemStack)
Get the recipe for the maximum current tier available.
|
protected net.minecraft.item.crafting.IRecipeType<RecipeEnvironmentalAccumulator> |
getRegistry() |
TileSanguinaryEnvironmentalAccumulator.Metadata |
getTileWorkingMetadata() |
VirtualTank |
getVirtualTank() |
net.minecraftforge.fluids.capability.IFluidHandler[] |
getVirtualTankChildren() |
protected int |
getWorkTicker() |
void |
onStateChanged()
What needs to happen when the (numerical) state is changed.
|
protected void |
showAccumulatingParticles() |
protected void |
showMissingTanks() |
protected void |
showTankBeams() |
void |
updateTileEntity() |
getBasicInventorySize, getNewState, getRequiredWorkTicks, getTankTierMultiplier, getUpgradeBehaviour, getUpgradeItems, getUpgradeLevel, getUpgradeLevels, getUpgradeType, getWorkTick, getWorkTickScaled, hasJustWorked, isVisuallyWorking, isWorking, onUpgradeSlotChanged, resetUpgradeLevels, resetWork, resetWorkaddTicker, getCurrentState, getTickers, read, writecreateTank, getTank, onTankChangedaddCapabilityInternal, 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, getCapabilities, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int SLOTS
public static final int SLOT_ACCUMULATE
public static final int SLOT_ACCUMULATE_RESULT
public static TileSanguinaryEnvironmentalAccumulator.Metadata METADATA
public static int TICKERS
public static final Upgrades.UpgradeEventType UPGRADEEVENT_SPEED
public static final Upgrades.UpgradeEventType UPGRADEEVENT_BLOODUSAGE
public TileSanguinaryEnvironmentalAccumulator()
protected void addItemHandlerCapabilities()
addItemHandlerCapabilities in class TankInventoryTileEntityprotected void addFluidHandlerCapabilities()
addFluidHandlerCapabilities in class TankInventoryTileEntityprotected org.cyclops.cyclopscore.inventory.SimpleInventory createInventory(int inventorySize,
int stackSize)
createInventory in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public TileSanguinaryEnvironmentalAccumulator.Inventory getInventory()
getInventory in class TankInventoryTileEntitypublic java.util.Optional<RecipeEnvironmentalAccumulator> getRecipe(net.minecraft.item.ItemStack itemStack)
itemStack - The input item.protected net.minecraft.item.crafting.IRecipeType<RecipeEnvironmentalAccumulator> getRegistry()
public void updateTileEntity()
updateTileEntity in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>protected void showAccumulatingParticles()
protected void showTankBeams()
protected void showMissingTanks()
public void onStateChanged()
TickingTankInventoryTileEntityonStateChanged in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public TileSanguinaryEnvironmentalAccumulator.Metadata getTileWorkingMetadata()
getTileWorkingMetadata in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public boolean canWork()
TileWorkingcanWork in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>protected int getWorkTicker()
getWorkTicker in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public VirtualTank getVirtualTank()
@Nullable public net.minecraftforge.fluids.capability.IFluidHandler[] getVirtualTankChildren()
getVirtualTankChildren in interface VirtualTank.ITankProvider@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