Class FluidFillingBehaviour
java.lang.Object
com.simibubi.create.foundation.tileEntity.TileEntityBehaviour
com.simibubi.create.content.contraptions.fluids.actors.FluidManipulationBehaviour
com.simibubi.create.content.contraptions.fluids.actors.FluidFillingBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.contraptions.fluids.actors.FluidManipulationBehaviour
FluidManipulationBehaviour.BlockPosEntry, FluidManipulationBehaviour.BottomlessFluidMode -
Field Summary
FieldsFields inherited from class com.simibubi.create.content.contraptions.fluids.actors.FluidManipulationBehaviour
counterpartActedFields inherited from class com.simibubi.create.foundation.tileEntity.TileEntityBehaviour
tileEntity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanBeReplacedByFluid(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) protected voidcontinueValidation(net.minecraft.world.level.material.Fluid fluid) protected com.simibubi.create.content.contraptions.fluids.actors.FluidFillingBehaviour.SpaceTypegetAtPos(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid toFill) getType()protected voidreplaceBlock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) voidreset()protected voidsoftReset(net.minecraft.core.BlockPos root) voidtick()booleantryDeposit(net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.BlockPos root, boolean simulate) protected net.minecraft.world.level.block.state.BlockStateupdatePostWaterlogging(net.minecraft.world.level.block.state.BlockState state) Methods inherited from class com.simibubi.create.content.contraptions.fluids.actors.FluidManipulationBehaviour
canDrainInfinitely, comparePositions, counterpartActed, destroy, fillInfinite, maxBlocks, maxRange, playEffect, read, scheduleUpdatesInAffectedArea, search, setLongValidationTimer, setValidationTimer, validationTimer, writeMethods inherited from class com.simibubi.create.foundation.tileEntity.TileEntityBehaviour
destroy, get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, remove, setLazyTickRate
-
Field Details
-
TYPE
-
-
Constructor Details
-
FluidFillingBehaviour
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classTileEntityBehaviour
-
continueValidation
protected void continueValidation(net.minecraft.world.level.material.Fluid fluid) -
tryDeposit
public boolean tryDeposit(net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.BlockPos root, boolean simulate) -
softReset
protected void softReset(net.minecraft.core.BlockPos root) -
getAtPos
protected com.simibubi.create.content.contraptions.fluids.actors.FluidFillingBehaviour.SpaceType getAtPos(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.material.Fluid toFill) -
replaceBlock
protected void replaceBlock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
canBeReplacedByFluid
protected boolean canBeReplacedByFluid(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
updatePostWaterlogging
protected net.minecraft.world.level.block.state.BlockState updatePostWaterlogging(net.minecraft.world.level.block.state.BlockState state) -
reset
public void reset()- Overrides:
resetin classFluidManipulationBehaviour
-
getType
- Specified by:
getTypein classTileEntityBehaviour
-