net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

cwy
net.minecraft.world.level.material.FlowingFluid
net.minecraft.class_3609
net.minecraft.unmapped.C_vneqepda
net.minecraft.fluid.FlowableFluid
net.minecraft.fluid.FlowingFluid
net.minecraft.server.v1_16_R1.FluidTypeFlowing

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a(cfk$a<cwz, cxa> arg0)
createFluidStateDefinition(StateDefinition$Builder<Fluid, FluidState> arg0)
method_15775(class_2689$class_2690<class_3611, class_3610> arg0)
m_nnamigjt(C_ezfeikaq$C_mfnsmxhw<C_rxhyurmy, C_xqketiuf> arg0)
appendProperties(StateManager$Builder<Fluid, FluidState> arg0)
func_207184_a(StateContainer$Builder<Fluid, FluidState> arg0)
public Vec3
a(bpg arg0, fu arg1, cxa arg2)
getFlow(BlockGetter arg0, BlockPos arg1, FluidState arg2)
method_15782(class_1922 arg0, class_2338 arg1, class_3610 arg2)
m_pfqcawvv(C_peaveboq arg0, C_hynzadkk arg1, C_xqketiuf arg2)
getVelocity(BlockView arg0, BlockPos arg1, FluidState arg2)
func_215663_a(IBlockReader arg0, BlockPos arg1, FluidState arg2)
private boolean
g(cxa arg0)
affectsFlow(FluidState arg0)
method_15748(class_3610 arg0)
m_vpoeivwu(C_xqketiuf arg0)
method_15748(FluidState state)
func_212189_g(FluidState arg0)
protected boolean
a(bpg arg0, fu arg1, fz arg2)
isSolidFace(BlockGetter arg0, BlockPos arg1, Direction arg2)
method_15749(class_1922 arg0, class_2338 arg1, class_2350 arg2)
m_innettlj(C_peaveboq arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
method_15749(BlockView world, BlockPos pos, Direction arg2)
func_205573_a(IBlockReader arg0, BlockPos arg1, Direction arg2)
protected void
a(bqc arg0, fu arg1, cxa arg2)
spread(LevelAccessor arg0, BlockPos arg1, FluidState arg2)
method_15725(class_1936 arg0, class_2338 arg1, class_3610 arg2)
m_gnukxuqv(C_vdvbsyle arg0, C_hynzadkk arg1, C_xqketiuf arg2)
tryFlow(WorldAccess world, BlockPos fluidPos, FluidState state)
func_205575_a(IWorld arg0, BlockPos arg1, FluidState arg2)
private void
a(bqc arg0, fu arg1, cxa arg2, cfj arg3)
spreadToSides(LevelAccessor arg0, BlockPos arg1, FluidState arg2, BlockState arg3)
method_15744(class_1936 arg0, class_2338 arg1, class_3610 arg2, class_2680 arg3)
m_hyyevjfk(C_vdvbsyle arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_txtbiemp arg3)
method_15744(WorldAccess world, BlockPos pos, FluidState fluidState, BlockState blockState)
func_207937_a(IWorld arg0, BlockPos arg1, FluidState arg2, BlockState arg3)
protected FluidState
a(bqd arg0, fu arg1, cfj arg2)
getNewLiquid(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_15727(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_ejtzmuvf(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getUpdatedState(WorldView world, BlockPos pos, BlockState state)
func_205576_a(IWorldReader arg0, BlockPos arg1, BlockState arg2)
private boolean
a(fz arg0, bpg arg1, fu arg2, cfj arg3, fu arg4, cfj 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)
m_ddqoqbni(C_xpuuihxf arg0, C_peaveboq arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_hynzadkk arg4, C_txtbiemp 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()
m_jfpcbsiz()
getFlowing()
func_210197_e()
public FluidState
a(int arg0, boolean arg1)
getFlowing(int arg0, boolean arg1)
method_15728(int arg0, boolean arg1)
m_arspckzu(int arg0, boolean arg1)
getFlowing(int level, boolean falling)
func_207207_a(int arg0, boolean arg1)
public abstract Fluid
e()
getSource()
method_15751()
m_easmhmhd()
getStill()
func_210198_f()
public FluidState
a(boolean arg0)
getSource(boolean arg0)
method_15729(boolean arg0)
m_rvnlkcqm(boolean arg0)
getStill(boolean falling)
func_207204_a(boolean arg0)
protected abstract boolean
f()
canConvertToSource()
method_15737()
m_qipgcscg()
isInfinite()
func_205579_d()
protected void
a(bqc arg0, fu arg1, cfj arg2, fz arg3, cxa 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)
m_mvvtqxwz(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xpuuihxf arg3, C_xqketiuf arg4)
flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)
func_205574_a(IWorld arg0, BlockPos arg1, BlockState arg2, Direction arg3, FluidState arg4)
protected abstract void
a(bqc arg0, fu arg1, cfj arg2)
beforeDestroyingBlock(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_15730(class_1936 arg0, class_2338 arg1, class_2680 arg2)
m_lshwjkeq(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2)
beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state)
func_205580_a(IWorld arg0, BlockPos arg1, BlockState arg2)
private static short
a(fu arg0, fu arg1)
getCacheKey(BlockPos arg0, BlockPos arg1)
method_15747(class_2338 arg0, class_2338 arg1)
m_hpatzdqg(C_hynzadkk arg0, C_hynzadkk arg1)
method_15747(BlockPos arg0, BlockPos arg1)
func_212752_a(BlockPos arg0, BlockPos arg1)
protected int
a(bqd arg0, fu arg1, int arg2, fz arg3, cfj arg4, fu arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<cfj, cxa>> 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)
m_elhudbgf(C_eemzphbi arg0, C_hynzadkk arg1, int arg2, C_xpuuihxf arg3, C_txtbiemp arg4, C_hynzadkk arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<C_txtbiemp, C_xqketiuf>> arg6, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
method_15742(WorldView world, 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)
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, FluidState>> arg6, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
private boolean
a(bpg arg0, cwz arg1, fu arg2, cfj arg3, fu arg4, cfj 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)
m_yyzlptcq(C_peaveboq arg0, C_rxhyurmy arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_hynzadkk arg4, C_txtbiemp arg5)
method_15736(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
func_211759_a(IBlockReader arg0, Fluid arg1, BlockPos arg2, BlockState arg3, BlockPos arg4, BlockState arg5)
private boolean
a(bpg arg0, cwz arg1, fu arg2, cfj arg3, fz arg4, fu arg5, cfj arg6, cxa 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)
m_akhvnkfl(C_peaveboq arg0, C_rxhyurmy arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_xqketiuf 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, FluidState arg7)
private boolean
h(cxa arg0)
isSourceBlockOfThisType(FluidState arg0)
method_15752(class_3610 arg0)
m_flkcyrdx(C_xqketiuf arg0)
isMatchingAndStill(FluidState state)
func_211758_g(FluidState arg0)
protected abstract int
b(bqd arg0)
getSlopeFindDistance(LevelReader arg0)
method_15733(class_4538 arg0)
m_kgmkgxcd(C_eemzphbi arg0)
getFlowSpeed(WorldView world)
func_185698_b(IWorldReader arg0)
private int
a(bqd arg0, fu arg1)
sourceNeighborCount(LevelReader arg0, BlockPos arg1)
method_15740(class_4538 arg0, class_2338 arg1)
m_piqgrpvh(C_eemzphbi arg0, C_hynzadkk arg1)
method_15740(WorldView world, BlockPos pos)
func_207936_a(IWorldReader arg0, BlockPos arg1)
protected Map<Direction, FluidState>
b(bqd arg0, fu arg1, cfj arg2)
getSpread(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_15726(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_lcoiqlct(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getSpread(WorldView world, BlockPos pos, BlockState state)
func_205572_b(IWorldReader arg0, BlockPos arg1, BlockState arg2)
private boolean
a(bpg arg0, fu arg1, cfj arg2, cwz arg3)
canHoldFluid(BlockGetter arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_15754(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
m_rjtwfflw(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_rxhyurmy arg3)
canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
func_211761_a(IBlockReader arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
protected boolean
a(bpg arg0, fu arg1, cfj arg2, fz arg3, fu arg4, cfj arg5, cxa arg6, cwz 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)
m_tvbaomon(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xpuuihxf arg3, C_hynzadkk arg4, C_txtbiemp arg5, C_xqketiuf arg6, C_rxhyurmy 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, FluidState arg6, Fluid arg7)
protected abstract int
c(bqd arg0)
getDropOff(LevelReader arg0)
method_15739(class_4538 arg0)
m_lngltdkk(C_eemzphbi arg0)
getLevelDecreasePerBlock(WorldView world)
func_204528_b(IWorldReader arg0)
protected int
a(bqb arg0, fu arg1, cxa arg2, cxa arg3)
getSpreadDelay(Level arg0, BlockPos arg1, FluidState arg2, FluidState arg3)
method_15753(class_1937 arg0, class_2338 arg1, class_3610 arg2, class_3610 arg3)
m_isezvdok(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_xqketiuf arg3)
getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)
func_215667_a(World arg0, BlockPos arg1, FluidState arg2, FluidState arg3)
public void
a(bqb arg0, fu arg1, cxa arg2)
tick(Level arg0, BlockPos arg1, FluidState arg2)
method_15778(class_1937 arg0, class_2338 arg1, class_3610 arg2)
m_ckadjwba(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2)
onScheduledTick(World arg0, BlockPos arg1, FluidState arg2)
func_207191_a(World arg0, BlockPos arg1, FluidState arg2)
protected static int
e(cxa arg0)
getLegacyLevel(FluidState arg0)
method_15741(class_3610 arg0)
m_hjsfccmf(C_xqketiuf arg0)
method_15741(FluidState state)
func_207205_e(FluidState arg0)
private static boolean
c(cxa arg0, bpg arg1, fu arg2)
hasSameAbove(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17774(class_3610 arg0, class_1922 arg1, class_2338 arg2)
m_vbpauywo(C_xqketiuf arg0, C_peaveboq arg1, C_hynzadkk arg2)
isFluidAboveEqual(FluidState state, BlockView world, BlockPos pos)
func_215666_c(FluidState arg0, IBlockReader arg1, BlockPos arg2)
public float
a(cxa arg0, bpg arg1, fu arg2)
getHeight(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_15788(class_3610 arg0, class_1922 arg1, class_2338 arg2)
m_ujruvhoa(C_xqketiuf arg0, C_peaveboq arg1, C_hynzadkk arg2)
getHeight(FluidState arg0, BlockView arg1, BlockPos arg2)
func_215662_a(FluidState arg0, IBlockReader arg1, BlockPos arg2)
public float
a(cxa arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
m_fyrjznjx(C_xqketiuf arg0)
getHeight(FluidState arg0)
func_223407_a(FluidState arg0)
public VoxelShape
b(cxa arg0, bpg arg1, fu arg2)
getShape(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17775(class_3610 arg0, class_1922 arg1, class_2338 arg2)
m_lrjhvxds(C_xqketiuf arg0, C_peaveboq arg1, C_hynzadkk arg2)
getShape(FluidState arg0, BlockView arg1, BlockPos arg2)
func_215664_b(FluidState arg0, IBlockReader arg1, BlockPos arg2)