net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

coh
net.minecraft.world.level.material.FlowingFluid
net.minecraft.class_3609
net.minecraft.fluid.BaseFluid
net.minecraft.fluid.FlowingFluid
net.minecraft.server.v1_15_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(byk$a<coi, coj> 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(bjg arg0, fk arg1, coj 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(coj arg0)
affectsFlow(FluidState arg0)
method_15748(class_3610 arg0)
func_212189_g(IFluidState arg0)
protected boolean
a(bjg arg0, fk arg1, fp 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(bjx arg0, fk arg1, coj 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(bjx arg0, fk arg1, coj arg2, byj 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(bjz arg0, fk arg1, byj arg2)
getNewLiquid(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_15727(class_4538 arg0, class_2338 arg1, class_2680 arg2)
getUpdatedState(WorldView world, BlockPos pos, BlockState state)
func_205576_a(IWorldReader arg0, BlockPos arg1, BlockState arg2)
private boolean
a(fp arg0, bjg arg1, fk arg2, byj arg3, fk arg4, byj 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
d()
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
e()
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
f()
canConvertToSource()
method_15737()
isInfinite()
func_205579_d()
protected void
a(bjx arg0, fk arg1, byj arg2, fp arg3, coj 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(bjx arg0, fk arg1, byj 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(fk arg0, fk arg1)
getCacheKey(BlockPos arg0, BlockPos arg1)
method_15747(class_2338 arg0, class_2338 arg1)
func_212752_a(BlockPos arg0, BlockPos arg1)
protected int
a(bjz arg0, fk arg1, int arg2, fp arg3, byj arg4, fk arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<byj, coj>> 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_4538 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(bjg arg0, coi arg1, fk arg2, byj arg3, fk arg4, byj 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(bjg arg0, coi arg1, fk arg2, byj arg3, fp arg4, fk arg5, byj arg6, coj 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(coj arg0)
isSourceBlockOfThisType(FluidState arg0)
method_15752(class_3610 arg0)
isMatchingAndStill(FluidState state)
func_211758_g(IFluidState arg0)
protected abstract int
b(bjz arg0)
getSlopeFindDistance(LevelReader arg0)
method_15733(class_4538 arg0)
func_185698_b(IWorldReader arg0)
private int
a(bjz arg0, fk arg1)
sourceNeighborCount(LevelReader arg0, BlockPos arg1)
method_15740(class_4538 arg0, class_2338 arg1)
func_207936_a(IWorldReader arg0, BlockPos arg1)
protected Map<Direction, FluidState>
b(bjz arg0, fk arg1, byj arg2)
getSpread(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_15726(class_4538 arg0, class_2338 arg1, class_2680 arg2)
getSpread(WorldView world, BlockPos pos, BlockState state)
func_205572_b(IWorldReader arg0, BlockPos arg1, BlockState arg2)
private boolean
a(bjg arg0, fk arg1, byj arg2, coi 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(bjg arg0, fk arg1, byj arg2, fp arg3, fk arg4, byj arg5, coj arg6, coi 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(bjz arg0)
getDropOff(LevelReader arg0)
method_15739(class_4538 arg0)
getLevelDecreasePerBlock(WorldView world)
func_204528_b(IWorldReader arg0)
protected int
a(bjw arg0, fk arg1, coj arg2, coj 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(bjw arg0, fk arg1, coj 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(coj arg0)
getLegacyLevel(FluidState arg0)
method_15741(class_3610 arg0)
func_207205_e(IFluidState arg0)
private static boolean
c(coj arg0, bjg arg1, fk 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(coj arg0, bjg arg1, fk 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(coj arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
getHeight(FluidState arg0)
func_223407_a(IFluidState arg0)
public VoxelShape
b(coj arg0, bjg arg1, fk 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)