public class TileFluidConverter
extends org.cyclops.cyclopscore.tileentity.CyclopsTileEntity
implements org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile
BlockFluidConverter| Modifier and Type | Class and Description |
|---|---|
static class |
TileFluidConverter.FluidConverterCapability |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NBT_BUFFER |
static java.lang.String |
NBT_FLUID_GROUP_REF |
static java.lang.String |
NBT_FLUID_OUTPUTS |
protected org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile |
tickingTileComponent |
| Constructor and Description |
|---|
TileFluidConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fillSides(boolean simulate) |
FluidGroup |
getFluidGroup() |
static int |
getMaxBufferSize() |
boolean |
isValidConverter() |
void |
setBuffer(float newBuffer) |
boolean |
setFluidOutput(net.minecraft.util.EnumFacing facing,
net.minecraftforge.fluids.Fluid fluid)
Binds a given fluid to a given side, so only that fluid can be outputted from that side
of the block.
|
protected void |
updateTileEntity() |
addCapabilityInternal, addCapabilitySided, afterSendUpdate, beforeSendUpdate, canInteractWith, destroy, getBlock, getCapabilities, getCapability, getNBTTagCompound, getRotation, getUpdateBackoffTicks, getUpdatePacket, getUpdateTag, hasCapability, isRotatable, isTicking, onDataPacket, onLoad, onSendUpdate, onUpdateReceived, readFromNBT, readGeneratedFieldsFromNBT, sendImmediateUpdate, sendUpdate, setRotatable, setRotation, shouldRefresh, transformFacingForRotation, writeGeneratedFieldsToNBT, writeToNBTaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRenderInPass, updateContainingBlockInfo, validatepublic static final java.lang.String NBT_FLUID_GROUP_REF
public static final java.lang.String NBT_FLUID_OUTPUTS
public static final java.lang.String NBT_BUFFER
protected final org.cyclops.cyclopscore.tileentity.CyclopsTileEntity.ITickingTile tickingTileComponent
public boolean isValidConverter()
public FluidGroup getFluidGroup()
public void setBuffer(float newBuffer)
public boolean setFluidOutput(net.minecraft.util.EnumFacing facing,
net.minecraftforge.fluids.Fluid fluid)
facing - The side of the block.fluid - The fluid that needs to be bound.public boolean fillSides(boolean simulate)
protected void updateTileEntity()
updateTileEntity in class org.cyclops.cyclopscore.tileentity.CyclopsTileEntitypublic static int getMaxBufferSize()