public class FluidFillingBehaviour extends FluidManipulationBehaviour
FluidManipulationBehaviour.BlockPosEntry| Modifier and Type | Field and Description |
|---|---|
static BehaviourType<FluidFillingBehaviour> |
TYPE |
counterpartActedtileEntity| Constructor and Description |
|---|
FluidFillingBehaviour(SmartTileEntity te) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeReplacedByFluid(net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
protected void |
continueValidation(net.minecraft.fluid.Fluid fluid) |
protected com.simibubi.create.content.contraptions.fluids.actors.FluidFillingBehaviour.SpaceType |
getAtPos(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.Fluid toFill) |
BehaviourType<?> |
getType() |
protected void |
replaceBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
void |
reset() |
protected void |
softReset(net.minecraft.util.math.BlockPos root) |
void |
tick() |
boolean |
tryDeposit(net.minecraft.fluid.Fluid fluid,
net.minecraft.util.math.BlockPos root,
boolean simulate) |
protected net.minecraft.block.BlockState |
updatePostWaterlogging(net.minecraft.block.BlockState state) |
canDrainInfinitely, comparePositions, counterpartActed, destroy, fillInfinite, maxBlocks, maxRange, playEffect, read, scheduleUpdatesInAffectedArea, search, setLongValidationTimer, setValidationTimer, validationTimer, writedestroy, get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, remove, setLazyTickRatepublic static BehaviourType<FluidFillingBehaviour> TYPE
public FluidFillingBehaviour(SmartTileEntity te)
public void tick()
tick in class TileEntityBehaviourprotected void continueValidation(net.minecraft.fluid.Fluid fluid)
public boolean tryDeposit(net.minecraft.fluid.Fluid fluid,
net.minecraft.util.math.BlockPos root,
boolean simulate)
protected void softReset(net.minecraft.util.math.BlockPos root)
protected com.simibubi.create.content.contraptions.fluids.actors.FluidFillingBehaviour.SpaceType getAtPos(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.Fluid toFill)
protected void replaceBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state)
protected boolean canBeReplacedByFluid(net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state)
protected net.minecraft.block.BlockState updatePostWaterlogging(net.minecraft.block.BlockState state)
public void reset()
reset in class FluidManipulationBehaviourpublic BehaviourType<?> getType()
getType in class TileEntityBehaviour