public class TileSanguinaryEnvironmentalAccumulator extends TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt> implements VirtualTank.ITankProvider
| Modifier and Type | Field and Description |
|---|---|
static net.minecraftforge.fluids.Fluid |
ACCEPTED_FLUID
The fluid that is accepted in the tank.
|
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 Upgrades.UpgradeEventType |
UPGRADEEVENT_BLOODUSAGE |
static Upgrades.UpgradeEventType |
UPGRADEEVENT_SPEED |
UPGRADE_ITEMINVENTORY_SIZE_UPGRADES, UPGRADE_EFFICIENCY, UPGRADE_SPEED, UPGRADE_TIER1, UPGRADE_TIER2, UPGRADE_TIER3, upgradeBehaviourtickingTileComponentsendUpdateOnTankChanged, tankSizeinventory, slotSides| Constructor and Description |
|---|
TileSanguinaryEnvironmentalAccumulator()
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConsume(net.minecraft.item.ItemStack itemStack)
Check if the given item can be infused.
|
boolean |
canWork()
Check if this tile is valid and can start working.
|
int |
getConsumeSlot()
Get the id of the accumulate slot.
|
int |
getProduceSlot()
Get the id of the result slot.
|
org.cyclops.cyclopscore.recipe.custom.api.IRecipe<EnvironmentalAccumulatorRecipeComponent,EnvironmentalAccumulatorRecipeComponent,EnvironmentalAccumulatorRecipeProperties> |
getRecipe(net.minecraft.item.ItemStack itemStack)
Get the recipe for the maximum current tier available.
|
VirtualTank |
getVirtualTank() |
net.minecraftforge.fluids.IFluidHandler[] |
getVirtualTankChildren() |
protected int |
getWorkTicker() |
boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack itemStack) |
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.
|
protected void |
showAccumulatingParticles() |
protected void |
showMissingTanks() |
protected void |
showTankBeams() |
void |
updateTileEntity() |
areUpgradeSlotsValidForTier, canExtractItem, canExtractItem, canInsertItem, canInsertItem, getRequiredTierForSlot, getTankTierMultiplier, getTier, getUpgradeLevel, getUpgradeType, isUpgradeSlotEnabled, onUpgradeSlotChanged, resetTierdecrStackSize, getBasicInventorySize, getNewState, getRequiredWorkTicks, getUpgradeBehaviour, getUpgradeItems, getUpgradeLevels, getUpgrades, getWorkTick, getWorkTickScaled, isUpgradeSlot, isVisuallyWorking, isWorking, resetUpgradeLevels, resetWork, resetWork, setInventorySlotContentsaddTicker, getCurrentState, getTickers, readFromNBT, writeToNBTcanDrain, canFill, drain, drain, drain, drain, fill, fill, getTank, getTankInfo, isSendUpdateOnTankChanged, onSendUpdate, setSendUpdateOnTankChangedaddSlotsToSide, getInventory, getSlotsForFacecanAccess, clear, closeInventory, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getStackInSlot, hasCustomName, isSendUpdateOnInventoryChanged, isUseableByPlayer, onInventoryChanged, openInventory, removeStackFromSlot, setField, setSendUpdateOnInventoryChangedaddCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getCapabilities, getCapability, getDescriptionPacket, getNBTTagCompound, getRotation, getUpdateBackoffTicks, hasCapability, isRotatable, isTicking, onDataPacket, onLoad, onUpdateReceived, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, writeGeneratedFieldsToNBTaddInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, deserializeNBT, func_183000_F, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRenderInPass, updateContainingBlockInfo, validatepublic static final int SLOTS
public static final int SLOT_ACCUMULATE
public static final int SLOT_ACCUMULATE_RESULT
public static final net.minecraftforge.fluids.Fluid ACCEPTED_FLUID
public static final Upgrades.UpgradeEventType UPGRADEEVENT_SPEED
public static final Upgrades.UpgradeEventType UPGRADEEVENT_BLOODUSAGE
public TileSanguinaryEnvironmentalAccumulator()
protected org.cyclops.cyclopscore.fluid.SingleUseTank newTank(java.lang.String tankName,
int tankSize)
newTank in class org.cyclops.cyclopscore.tileentity.TankInventoryTileEntitypublic org.cyclops.cyclopscore.recipe.custom.api.IRecipe<EnvironmentalAccumulatorRecipeComponent,EnvironmentalAccumulatorRecipeComponent,EnvironmentalAccumulatorRecipeProperties> getRecipe(net.minecraft.item.ItemStack itemStack)
itemStack - The input item.public void updateTileEntity()
updateTileEntity in class TickingTankInventoryTileEntity<TileSanguinaryEnvironmentalAccumulator>protected void showAccumulatingParticles()
protected void showTankBeams()
protected void showMissingTanks()
public boolean canConsume(net.minecraft.item.ItemStack itemStack)
WorkingTileEntitycanConsume in class WorkingTileEntity<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>itemStack - The item to check.public int getConsumeSlot()
public int getProduceSlot()
public boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack itemStack)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class TileWorking<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public void onStateChanged()
TickingTankInventoryTileEntityonStateChanged in class WorkingTileEntity<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public boolean canWork()
WorkingTileEntitycanWork in class WorkingTileEntity<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>protected int getWorkTicker()
getWorkTicker in class WorkingTileEntity<TileSanguinaryEnvironmentalAccumulator,org.apache.commons.lang3.mutable.MutableInt>public VirtualTank getVirtualTank()
@Nullable public net.minecraftforge.fluids.IFluidHandler[] getVirtualTankChildren()
getVirtualTankChildren in interface VirtualTank.ITankProvider