public abstract class FluidManipulationBehaviour extends TileEntityBehaviour
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FluidManipulationBehaviour.BlockPosEntry |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
counterpartActed |
tileEntity| Constructor and Description |
|---|
FluidManipulationBehaviour(SmartTileEntity te) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDrainInfinitely(net.minecraft.fluid.Fluid fluid) |
protected int |
comparePositions(FluidManipulationBehaviour.BlockPosEntry e1,
FluidManipulationBehaviour.BlockPosEntry e2) |
void |
counterpartActed() |
void |
destroy() |
protected boolean |
fillInfinite() |
protected int |
maxBlocks() |
protected int |
maxRange() |
protected void |
playEffect(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.Fluid fluid,
boolean fillSound) |
void |
read(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket) |
void |
reset() |
protected void |
scheduleUpdatesInAffectedArea() |
protected net.minecraft.fluid.Fluid |
search(net.minecraft.fluid.Fluid fluid,
java.util.List<FluidManipulationBehaviour.BlockPosEntry> frontier,
java.util.Set<net.minecraft.util.math.BlockPos> visited,
java.util.function.BiConsumer<net.minecraft.util.math.BlockPos,java.lang.Integer> add,
boolean searchDownward) |
protected int |
setLongValidationTimer() |
protected int |
setValidationTimer() |
protected int |
validationTimer() |
void |
write(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket) |
destroy, get, get, getPos, getRequiredItems, getType, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, remove, setLazyTickRate, tickpublic FluidManipulationBehaviour(SmartTileEntity te)
public void counterpartActed()
protected int validationTimer()
protected int setValidationTimer()
protected int setLongValidationTimer()
protected int maxRange()
protected int maxBlocks()
protected boolean fillInfinite()
public void reset()
public void destroy()
destroy in class TileEntityBehaviourprotected void scheduleUpdatesInAffectedArea()
protected int comparePositions(FluidManipulationBehaviour.BlockPosEntry e1, FluidManipulationBehaviour.BlockPosEntry e2)
protected net.minecraft.fluid.Fluid search(net.minecraft.fluid.Fluid fluid,
java.util.List<FluidManipulationBehaviour.BlockPosEntry> frontier,
java.util.Set<net.minecraft.util.math.BlockPos> visited,
java.util.function.BiConsumer<net.minecraft.util.math.BlockPos,java.lang.Integer> add,
boolean searchDownward)
protected void playEffect(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.Fluid fluid,
boolean fillSound)
protected boolean canDrainInfinitely(net.minecraft.fluid.Fluid fluid)
public void write(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket)
write in class TileEntityBehaviourpublic void read(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket)
read in class TileEntityBehaviour