net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

esy
net.minecraft.world.level.material.FlowingFluid
net.minecraft.class_3609
net.minecraft.fluid.FlowableFluid
net.minecraft.world.level.material.FluidTypeFlowing

Field summary

Modifier and TypeField
public static final BooleanProperty
a
FALLING
field_15902
FALLING
public static final IntegerProperty
b
LEVEL
field_15900
LEVEL
private static final int
e
CACHE_SIZE
field_31726
field_31726
private static final ThreadLocal<it.unimi.dsi.fastutil.objects.Object2ByteLinkedOpenHashMap<FlowingFluid$BlockStatePairKey>>
f
OCCLUSION_CACHE
field_15901
field_15901
private final Map<FluidState, VoxelShape>
g
shapes
field_17587
shapeCache

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a(dwz$a<esz, eta> arg0)
createFluidStateDefinition(StateDefinition$Builder<Fluid, FluidState> arg0)
method_15775(class_2689$class_2690<class_3611, class_3610> arg0)
appendProperties(StateManager$Builder<Fluid, FluidState> arg0)
public Vec3
a(dfo arg0, ji arg1, eta arg2)
getFlow(BlockGetter arg0, BlockPos arg1, FluidState arg2)
method_15782(class_1922 arg0, class_2338 arg1, class_3610 arg2)
getVelocity(BlockView arg0, BlockPos arg1, FluidState arg2)
private boolean
g(eta arg0)
affectsFlow(FluidState arg0)
method_15748(class_3610 arg0)
isEmptyOrThis(FluidState state)
protected boolean
a(dfo arg0, ji arg1, jn arg2)
isSolidFace(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_15749(class_1922 arg0, class_2338 arg1, class_2350 arg2)
isFlowBlocked(BlockView world, BlockPos pos, Direction direction)
protected void
a(ard arg0, ji arg1, dwy arg2, eta arg3)
spread(ServerLevel arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_15725(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
tryFlow(ServerWorld world, BlockPos fluidPos, BlockState blockState, FluidState fluidState)
private void
a(ard arg0, ji arg1, eta arg2, dwy arg3)
spreadToSides(ServerLevel arg0, BlockPos arg1, FluidState arg2, BlockState arg3)
method_15744(class_3218 arg0, class_2338 arg1, class_3610 arg2, class_2680 arg3)
flowToSides(ServerWorld world, BlockPos pos, FluidState fluidState, BlockState blockState)
protected FluidState
a(ard arg0, ji arg1, dwy arg2)
getNewLiquid(ServerLevel arg0, BlockPos arg1, BlockState arg2)
method_15727(class_3218 arg0, class_2338 arg1, class_2680 arg2)
getUpdatedState(ServerWorld world, BlockPos pos, BlockState state)
private static boolean
a(jn arg0, dfo arg1, ji arg2, dwy arg3, ji arg4, dwy arg5)
canPassThroughWall(Direction arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, BlockState arg5)
method_15732(class_2350 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_2338 arg4, class_2680 arg5)
receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
public abstract Fluid
d()
getFlowing()
method_15750()
getFlowing()
public FluidState
a(int arg0, boolean arg1)
getFlowing(int arg0, boolean arg1)
method_15728(int arg0, boolean arg1)
getFlowing(int level, boolean falling)
public abstract Fluid
e()
getSource()
method_15751()
getStill()
public FluidState
a(boolean arg0)
getSource(boolean arg0)
method_15729(boolean arg0)
getStill(boolean falling)
protected abstract boolean
a(ard arg0)
canConvertToSource(ServerLevel arg0)
method_15737(class_3218 arg0)
isInfinite(ServerWorld world)
protected void
a(dgk arg0, ji arg1, dwy arg2, jn arg3, eta arg4)
spreadTo(LevelAccessor arg0, BlockPos arg1, BlockState arg2, Direction arg3, FluidState arg4)
method_15745(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_2350 arg3, class_3610 arg4)
flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)
protected abstract void
a(dgk arg0, ji arg1, dwy arg2)
beforeDestroyingBlock(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_15730(class_1936 arg0, class_2338 arg1, class_2680 arg2)
beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state)
protected int
a(dgm arg0, ji arg1, int arg2, jn arg3, dwy arg4, esy$b arg5)
getSlopeDistance(LevelReader arg0, BlockPos arg1, int arg2, Direction arg3, BlockState arg4, FlowingFluid$SpreadContext arg5)
method_15742(class_4538 arg0, class_2338 arg1, int arg2, class_2350 arg3, class_2680 arg4, class_3609$class_9900 arg5)
getMinFlowDownDistance(WorldView world, BlockPos pos, int arg2, Direction direction, BlockState state, FlowableFluid$SpreadCache spreadCache)
boolean
a(dfo arg0, ji arg1, dwy arg2, ji arg3, dwy arg4)
isWaterHole(BlockGetter arg0, BlockPos arg1, BlockState arg2, BlockPos arg3, BlockState arg4)
method_15736(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_2338 arg3, class_2680 arg4)
canFlowDownTo(BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
private boolean
a(dfo arg0, esz arg1, ji arg2, dwy arg3, jn arg4, ji arg5, dwy arg6, eta arg7)
canPassThrough(BlockGetter arg0, Fluid arg1, BlockPos arg2, BlockState arg3, Direction arg4, BlockPos arg5, BlockState arg6, FluidState arg7)
method_15746(class_1922 arg0, class_3611 arg1, class_2338 arg2, class_2680 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_3610 arg7)
canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)
private boolean
a(dfo arg0, ji arg1, dwy arg2, jn arg3, ji arg4, dwy arg5, eta arg6)
canMaybePassThrough(BlockGetter arg0, BlockPos arg1, BlockState arg2, Direction arg3, BlockPos arg4, BlockState arg5, FluidState arg6)
method_61813(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_2350 arg3, class_2338 arg4, class_2680 arg5, class_3610 arg6)
canFlowThrough(BlockView world, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)
private boolean
h(eta arg0)
isSourceBlockOfThisType(FluidState arg0)
method_15752(class_3610 arg0)
isMatchingAndStill(FluidState state)
protected abstract int
b(dgm arg0)
getSlopeFindDistance(LevelReader arg0)
method_15733(class_4538 arg0)
getMaxFlowDistance(WorldView world)
private int
a(dgm arg0, ji arg1)
sourceNeighborCount(LevelReader arg0, BlockPos arg1)
method_15740(class_4538 arg0, class_2338 arg1)
countNeighboringSources(WorldView world, BlockPos pos)
protected Map<Direction, FluidState>
b(ard arg0, ji arg1, dwy arg2)
getSpread(ServerLevel arg0, BlockPos arg1, BlockState arg2)
method_15726(class_3218 arg0, class_2338 arg1, class_2680 arg2)
getSpread(ServerWorld world, BlockPos pos, BlockState state)
private static boolean
a(dwy arg0)
canHoldAnyFluid(BlockState arg0)
method_61814(class_2680 arg0)
canFill(BlockState state)
private static boolean
a(dfo arg0, ji arg1, dwy arg2, esz arg3)
canHoldFluid(BlockGetter arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_15754(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
private static boolean
b(dfo arg0, ji arg1, dwy arg2, esz arg3)
canHoldSpecificFluid(BlockGetter arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_61815(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
protected abstract int
c(dgm arg0)
getDropOff(LevelReader arg0)
method_15739(class_4538 arg0)
getLevelDecreasePerBlock(WorldView world)
protected int
a(dgj arg0, ji arg1, eta arg2, eta arg3)
getSpreadDelay(Level arg0, BlockPos arg1, FluidState arg2, FluidState arg3)
method_15753(class_1937 arg0, class_2338 arg1, class_3610 arg2, class_3610 arg3)
getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)
public void
b(ard arg0, ji arg1, dwy arg2, eta arg3)
tick(ServerLevel arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_15778(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
onScheduledTick(ServerWorld arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
protected static int
e(eta arg0)
getLegacyLevel(FluidState arg0)
method_15741(class_3610 arg0)
getBlockStateLevel(FluidState state)
private static boolean
c(eta arg0, dfo arg1, ji arg2)
hasSameAbove(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17774(class_3610 arg0, class_1922 arg1, class_2338 arg2)
isFluidAboveEqual(FluidState state, BlockView world, BlockPos pos)
public float
a(eta arg0, dfo arg1, ji arg2)
getHeight(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_15788(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getHeight(FluidState arg0, BlockView arg1, BlockPos arg2)
public float
a(eta arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
getHeight(FluidState arg0)
public abstract int
d(eta arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
getLevel(FluidState arg0)
public VoxelShape
b(eta arg0, dfo arg1, ji arg2)
getShape(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17775(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getShape(FluidState arg0, BlockView arg1, BlockPos arg2)