net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

cli
net.minecraft.world.level.material.FlowingFluid
net.minecraft.class_3609
net.minecraft.fluid.BaseFluid
net.minecraft.fluid.FlowingFluid
net.minecraft.server.v1_14_R1.FluidTypeFlowing

Field summary

Modifier and TypeField
public static final BooleanProperty
a
FALLING
field_15902
FALLING
field_207209_a
FALLING
public static final IntegerProperty
b
LEVEL
field_15900
LEVEL
field_207210_b
LEVEL
private static final ThreadLocal<it.unimi.dsi.fastutil.objects.Object2ByteLinkedOpenHashMap<Block$BlockStatePairKey>>
e
OCCLUSION_CACHE
field_15901
field_212756_e
private final Map<FluidState, VoxelShape>
f
shapes
field_17587
shapeCache
field_215669_f

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a(bvu$a<clj, clk> arg0)
createFluidStateDefinition(StateDefinition$Builder<Fluid, FluidState> arg0)
method_15775(class_2689$class_2690<class_3611, class_3610> arg0)
appendProperties(StateManager$Builder<Fluid, FluidState> arg0)
func_207184_a(StateContainer$Builder<Fluid, IFluidState> arg0)
public Vec3
a(bhb arg0, ew arg1, clk 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)
func_215663_a(IBlockReader arg0, BlockPos arg1, IFluidState arg2)
private boolean
g(clk arg0)
affectsFlow(FluidState arg0)
method_15748(class_3610 arg0)
func_212189_g(IFluidState arg0)
protected boolean
a(bhb arg0, ew arg1, fb arg2)
isSolidFace(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_15749(class_1922 arg0, class_2338 arg1, class_2350 arg2)
func_205573_a(IBlockReader arg0, BlockPos arg1, Direction arg2)
protected void
a(bhs arg0, ew arg1, clk arg2)
spread(LevelAccessor arg0, BlockPos arg1, FluidState arg2)
method_15725(class_1936 arg0, class_2338 arg1, class_3610 arg2)
tryFlow(IWorld world, BlockPos fluidPos, FluidState state)
func_205575_a(IWorld arg0, BlockPos arg1, IFluidState arg2)
private void
a(bhs arg0, ew arg1, clk arg2, bvt arg3)
spreadToSides(LevelAccessor arg0, BlockPos arg1, FluidState arg2, BlockState arg3)
method_15744(class_1936 arg0, class_2338 arg1, class_3610 arg2, class_2680 arg3)
func_207937_a(IWorld arg0, BlockPos arg1, IFluidState arg2, BlockState arg3)
protected FluidState
a(bhu arg0, ew arg1, bvt arg2)
getNewLiquid(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_15727(class_1941 arg0, class_2338 arg1, class_2680 arg2)
getUpdatedState(CollisionView world, BlockPos pos, BlockState state)
func_205576_a(IWorldReader arg0, BlockPos arg1, BlockState arg2)
private boolean
a(fb arg0, bhb arg1, ew arg2, bvt arg3, ew arg4, bvt 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)
func_212751_a(Direction arg0, IBlockReader arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, BlockState arg5)
public abstract Fluid
e()
getFlowing()
method_15750()
getFlowing()
func_210197_e()
public FluidState
a(int arg0, boolean arg1)
getFlowing(int arg0, boolean arg1)
method_15728(int arg0, boolean arg1)
getFlowing(int level, boolean falling)
func_207207_a(int arg0, boolean arg1)
public abstract Fluid
f()
getSource()
method_15751()
getStill()
func_210198_f()
public FluidState
a(boolean arg0)
getSource(boolean arg0)
method_15729(boolean arg0)
getStill(boolean falling)
func_207204_a(boolean arg0)
protected abstract boolean
g()
canConvertToSource()
method_15737()
isInfinite()
func_205579_d()
protected void
a(bhs arg0, ew arg1, bvt arg2, fb arg3, clk 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(IWorld world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)
func_205574_a(IWorld arg0, BlockPos arg1, BlockState arg2, Direction arg3, IFluidState arg4)
protected abstract void
a(bhs arg0, ew arg1, bvt arg2)
beforeDestroyingBlock(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_15730(class_1936 arg0, class_2338 arg1, class_2680 arg2)
beforeBreakingBlock(IWorld world, BlockPos pos, BlockState state)
func_205580_a(IWorld arg0, BlockPos arg1, BlockState arg2)
private static short
a(ew arg0, ew arg1)
getCacheKey(BlockPos arg0, BlockPos arg1)
method_15747(class_2338 arg0, class_2338 arg1)
func_212752_a(BlockPos arg0, BlockPos arg1)
protected int
a(bhu arg0, ew arg1, int arg2, fb arg3, bvt arg4, ew arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<bvt, clk>> arg6, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
getSlopeDistance(LevelReader arg0, BlockPos arg1, int arg2, Direction arg3, BlockState arg4, BlockPos arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> arg6, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
method_15742(class_1941 arg0, class_2338 arg1, int arg2, class_2350 arg3, class_2680 arg4, class_2338 arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<class_2680, class_3610>> arg6, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
func_205571_a(IWorldReader arg0, BlockPos arg1, int arg2, Direction arg3, BlockState arg4, BlockPos arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, IFluidState>> arg6, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
private boolean
a(bhb arg0, clj arg1, ew arg2, bvt arg3, ew arg4, bvt arg5)
isWaterHole(BlockGetter arg0, Fluid arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, BlockState arg5)
method_15736(class_1922 arg0, class_3611 arg1, class_2338 arg2, class_2680 arg3, class_2338 arg4, class_2680 arg5)
func_211759_a(IBlockReader arg0, Fluid arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, BlockState arg5)
private boolean
a(bhb arg0, clj arg1, ew arg2, bvt arg3, fb arg4, ew arg5, bvt arg6, clk 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)
func_211760_a(IBlockReader arg0, Fluid arg1, BlockPos arg2, BlockState arg3, Direction arg4, BlockPos arg5, BlockState arg6, IFluidState arg7)
private boolean
h(clk arg0)
isSourceBlockOfThisType(FluidState arg0)
method_15752(class_3610 arg0)
isMatchingAndStill(FluidState state)
func_211758_g(IFluidState arg0)
protected abstract int
b(bhu arg0)
getSlopeFindDistance(LevelReader arg0)
method_15733(class_1941 arg0)
func_185698_b(IWorldReader arg0)
private int
a(bhu arg0, ew arg1)
sourceNeighborCount(LevelReader arg0, BlockPos arg1)
method_15740(class_1941 arg0, class_2338 arg1)
func_207936_a(IWorldReader arg0, BlockPos arg1)
protected Map<Direction, FluidState>
b(bhu arg0, ew arg1, bvt arg2)
getSpread(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_15726(class_1941 arg0, class_2338 arg1, class_2680 arg2)
getSpread(CollisionView world, BlockPos pos, BlockState state)
func_205572_b(IWorldReader arg0, BlockPos arg1, BlockState arg2)
private boolean
a(bhb arg0, ew arg1, bvt arg2, clj 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)
func_211761_a(IBlockReader arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
protected boolean
a(bhb arg0, ew arg1, bvt arg2, fb arg3, ew arg4, bvt arg5, clk arg6, clj arg7)
canSpreadTo(BlockGetter arg0, BlockPos arg1, BlockState arg2, Direction arg3, BlockPos arg4, BlockState arg5, FluidState arg6, Fluid arg7)
method_15738(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_2350 arg3, class_2338 arg4, class_2680 arg5, class_3610 arg6, class_3611 arg7)
canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState arg6, Fluid arg7)
func_205570_b(IBlockReader arg0, BlockPos arg1, BlockState arg2, Direction arg3, BlockPos arg4, BlockState arg5, IFluidState arg6, Fluid arg7)
protected abstract int
c(bhu arg0)
getDropOff(LevelReader arg0)
method_15739(class_1941 arg0)
getLevelDecreasePerBlock(CollisionView world)
func_204528_b(IWorldReader arg0)
protected int
a(bhr arg0, ew arg1, clk arg2, clk 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)
func_215667_a(World arg0, BlockPos arg1, IFluidState arg2, IFluidState arg3)
public void
a(bhr arg0, ew arg1, clk arg2)
tick(Level arg0, BlockPos arg1, FluidState arg2)
method_15778(class_1937 arg0, class_2338 arg1, class_3610 arg2)
onScheduledTick(World arg0, BlockPos arg1, FluidState arg2)
func_207191_a(World arg0, BlockPos arg1, IFluidState arg2)
protected static int
e(clk arg0)
getLegacyLevel(FluidState arg0)
method_15741(class_3610 arg0)
func_207205_e(IFluidState arg0)
private static boolean
c(clk arg0, bhb arg1, ew 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)
func_215666_c(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
public float
a(clk arg0, bhb arg1, ew 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)
func_215662_a(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
public float
a(clk arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
func_223407_a(IFluidState arg0)
public VoxelShape
b(clk arg0, bhb arg1, ew 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)
func_215664_b(IFluidState arg0, IBlockReader arg1, BlockPos arg2)