net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

enu
net.minecraft.world.level.material.FlowingFluid
net.minecraft.class_3609
net.minecraft.unmapped.C_vneqepda
net.minecraft.fluid.FlowableFluid
net.minecraft.fluid.FlowableFluid
net.minecraft.src.C_2688_
net.minecraft.world.level.material.FluidTypeEmpty

Field summary

Modifier and TypeField
public static final BooleanProperty
a
FALLING
field_15902
f_bnaahamd
FALLING
FALLING
f_75947_
public static final IntegerProperty
b
LEVEL
field_15900
f_aoezexks
LEVEL
LEVEL
f_75948_
private static final int
e
CACHE_SIZE
field_31726
f_weewhugx
field_31726
OCCLUSION_CACHE_SIZE
f_164507_
private static final ThreadLocal<it.unimi.dsi.fastutil.objects.Object2ByteLinkedOpenHashMap<Block$BlockStatePairKey>>
f
OCCLUSION_CACHE
field_15901
f_daihqheh
field_15901
OCCLUSION_CACHE
f_75949_
private final Map<FluidState, VoxelShape>
g
shapes
field_17587
f_ksswwgef
shapeCache
shapeCache
f_75950_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a(dse$a<env, enw> 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)
appendProperties(StateManager$Builder<Fluid, FluidState> arg0)
m_7180_(C_2065_$C_2066_<C_2690_, C_2691_> arg0)
public Vec3
a(dbf arg0, iz arg1, enw 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)
getVelocity(BlockView arg0, BlockPos arg1, FluidState arg2)
m_7000_(C_1559_ p_75988_, C_4675_ p_75989_, C_2691_ arg2)
private boolean
g(enw arg0)
affectsFlow(FluidState arg0)
method_15748(class_3610 arg0)
m_vpoeivwu(C_xqketiuf arg0)
isEmptyOrThis(FluidState state)
isEmptyOrThis(FluidState state)
m_76094_(C_2691_ arg0)
protected boolean
a(dbf arg0, iz arg1, je 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)
isFlowBlocked(BlockView world, BlockPos pos, Direction direction)
preventsFlow(BlockView world, BlockPos pos, Direction direction)
m_75990_(C_1559_ p_75992_, C_4675_ p_75993_, C_4687_ arg2)
protected void
a(dbz arg0, iz arg1, enw arg2)
spread(Level arg0, BlockPos arg1, FluidState arg2)
method_15725(class_1937 arg0, class_2338 arg1, class_3610 arg2)
m_gnukxuqv(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2)
tryFlow(World world, BlockPos fluidPos, FluidState state)
tryFlow(World world, BlockPos fluidPos, FluidState state)
m_76010_(C_1596_ p_76012_, C_4675_ p_76013_, C_2691_ arg2)
private void
a(dbz arg0, iz arg1, enw arg2, dsd arg3)
spreadToSides(Level arg0, BlockPos arg1, FluidState arg2, BlockState arg3)
method_15744(class_1937 arg0, class_2338 arg1, class_3610 arg2, class_2680 arg3)
m_hyyevjfk(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_txtbiemp arg3)
flowToSides(World world, BlockPos pos, FluidState fluidState, BlockState blockState)
flowToSides(World world, BlockPos pos, FluidState fluidState, BlockState blockState)
m_76014_(C_1596_ p_76016_, C_4675_ p_76017_, C_2691_ p_76018_, C_2064_ arg3)
protected FluidState
a(dbz arg0, iz arg1, dsd arg2)
getNewLiquid(Level arg0, BlockPos arg1, BlockState arg2)
method_15727(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_ejtzmuvf(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getUpdatedState(World world, BlockPos pos, BlockState state)
getUpdatedState(World world, BlockPos pos, BlockState state)
m_76035_(C_1596_ p_76037_, C_4675_ p_76038_, C_2064_ arg2)
private boolean
a(je arg0, dbf arg1, iz arg2, dsd arg3, iz arg4, dsd 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)
receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
m_76061_(C_4687_ p_76063_, C_1559_ p_76064_, C_4675_ p_76065_, C_2064_ p_76066_, C_4675_ p_76067_, C_2064_ arg5)
public abstract Fluid
d()
getFlowing()
method_15750()
m_jfpcbsiz()
getFlowing()
getFlowing()
m_5615_()
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)
getFlowing(int level, boolean falling)
m_75953_(int p_75955_, boolean arg1)
public abstract Fluid
e()
getSource()
method_15751()
m_easmhmhd()
getStill()
getStill()
m_5613_()
public FluidState
a(boolean arg0)
getSource(boolean arg0)
method_15729(boolean arg0)
m_rvnlkcqm(boolean arg0)
getStill(boolean falling)
getStill(boolean falling)
m_76068_(boolean arg0)
protected abstract boolean
a(dbz arg0)
canConvertToSource(Level arg0)
method_15737(class_1937 arg0)
m_qipgcscg(C_cdctfzbn arg0)
isInfinite(World world)
isInfinite(World world)
m_6760_(C_1596_ arg0)
protected void
a(dca arg0, iz arg1, dsd arg2, je arg3, enw 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)
flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState)
m_6364_(C_1598_ p_76006_, C_4675_ p_76007_, C_2064_ p_76008_, C_4687_ p_76009_, C_2691_ arg4)
protected abstract void
a(dca arg0, iz arg1, dsd 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)
beforeBreakingBlock(WorldAccess world, BlockPos pos, BlockState state)
m_7456_(C_1598_ p_76003_, C_4675_ p_76004_, C_2064_ arg2)
private static short
a(iz arg0, iz arg1)
getCacheKey(BlockPos arg0, BlockPos arg1)
method_15747(class_2338 arg0, class_2338 arg1)
m_hpatzdqg(C_hynzadkk arg0, C_hynzadkk arg1)
packXZOffset(BlockPos from, BlockPos to)
getCacheKey(BlockPos pos, BlockPos targetPos)
m_76058_(C_4675_ p_76059_, C_4675_ p_76060_)
protected int
a(dcc arg0, iz arg1, int arg2, je arg3, dsd arg4, iz arg5, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<dsd, enw>> 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)
getFlowSpeedBetween(WorldView world, BlockPos pos, int arg2, Direction direction, BlockState state, BlockPos fromPos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap flowDownCache)
getFlowSpeedBetween(WorldView world, BlockPos pos, int downFlowSpeed, Direction direction, BlockState state, BlockPos targetPos, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> stateCache, it.unimi.dsi.fastutil.shorts.Short2BooleanMap downFlowCandidateCache)
m_76026_(C_1599_ p_76028_, C_4675_ p_76029_, int p_76030_, C_4687_ p_76031_, C_2064_ p_76032_, C_4675_ p_76033_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<C_2064_, C_2691_>> p_76034_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap arg7)
private boolean
a(dbf arg0, env arg1, iz arg2, dsd arg3, iz arg4, dsd 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)
canFlowDownTo(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
canFlowDownTo(BlockView world, Fluid fluid, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
m_75956_(C_1559_ p_75958_, C_2690_ p_75959_, C_4675_ p_75960_, C_2064_ p_75961_, C_4675_ p_75962_, C_2064_ arg5)
private boolean
a(dbf arg0, env arg1, iz arg2, dsd arg3, je arg4, iz arg5, dsd arg6, enw 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)
canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)
m_75963_(C_1559_ p_75965_, C_2690_ p_75966_, C_4675_ p_75967_, C_2064_ p_75968_, C_4687_ p_75969_, C_4675_ p_75970_, C_2064_ p_75971_, C_2691_ arg7)
private boolean
h(enw arg0)
isSourceBlockOfThisType(FluidState arg0)
method_15752(class_3610 arg0)
m_flkcyrdx(C_xqketiuf arg0)
isMatchingAndStill(FluidState state)
isMatchingAndStill(FluidState state)
m_76096_(C_2691_ arg0)
protected abstract int
b(dcc arg0)
getSlopeFindDistance(LevelReader arg0)
method_15733(class_4538 arg0)
m_kgmkgxcd(C_eemzphbi arg0)
getFlowSpeed(WorldView world)
getFlowSpeed(WorldView world)
m_6719_(C_1599_ arg0)
private int
a(dcc arg0, iz arg1)
sourceNeighborCount(LevelReader arg0, BlockPos arg1)
method_15740(class_4538 arg0, class_2338 arg1)
m_piqgrpvh(C_eemzphbi arg0, C_hynzadkk arg1)
countNeighboringSources(WorldView world, BlockPos pos)
neighboringSourceCount(WorldView world, BlockPos pos)
m_76019_(C_1599_ p_76021_, C_4675_ arg1)
protected Map<Direction, FluidState>
b(dbz arg0, iz arg1, dsd arg2)
getSpread(Level arg0, BlockPos arg1, BlockState arg2)
method_15726(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_lcoiqlct(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getSpread(World world, BlockPos pos, BlockState state)
getSpread(World world, BlockPos pos, BlockState state)
m_76079_(C_1596_ p_76081_, C_4675_ p_76082_, C_2064_ arg2)
private boolean
a(dbf arg0, iz arg1, dsd arg2, env 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)
canFill(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
m_75972_(C_1559_ p_75974_, C_4675_ p_75975_, C_2064_ p_75976_, C_2690_ arg3)
protected boolean
a(dbf arg0, iz arg1, dsd arg2, je arg3, iz arg4, dsd arg5, enw arg6, env 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 fluidState, Fluid fluid)
canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid)
m_75977_(C_1559_ p_75979_, C_4675_ p_75980_, C_2064_ p_75981_, C_4687_ p_75982_, C_4675_ p_75983_, C_2064_ p_75984_, C_2691_ p_75985_, C_2690_ arg7)
protected abstract int
c(dcc arg0)
getDropOff(LevelReader arg0)
method_15739(class_4538 arg0)
m_lngltdkk(C_eemzphbi arg0)
getLevelDecreasePerBlock(WorldView world)
getLevelDecreasePerBlock(WorldView world)
m_6713_(C_1599_ arg0)
protected int
a(dbz arg0, iz arg1, enw arg2, enw 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)
getNextTickDelay(World world, BlockPos pos, FluidState oldState, FluidState newState)
m_6886_(C_1596_ p_75999_, C_4675_ p_76000_, C_2691_ p_76001_, C_2691_ arg3)
public void
b(dbz arg0, iz arg1, enw 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)
onScheduledTick(World arg0, BlockPos arg1, FluidState arg2)
m_6292_(C_1596_ p_75996_, C_4675_ p_75997_, C_2691_ arg2)
protected static int
e(enw arg0)
getLegacyLevel(FluidState arg0)
method_15741(class_3610 arg0)
m_hjsfccmf(C_xqketiuf arg0)
getBlockStateLevel(FluidState state)
getBlockStateLevel(FluidState state)
m_76092_(C_2691_ p_76093_)
private static boolean
c(enw arg0, dbf arg1, iz 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)
isFluidAboveEqual(FluidState state, BlockView world, BlockPos pos)
m_76088_(C_2691_ p_76089_, C_1559_ p_76090_, C_4675_ p_76091_)
public float
a(enw arg0, dbf arg1, iz 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)
getHeight(FluidState arg0, BlockView arg1, BlockPos arg2)
m_6098_(C_2691_ p_76051_, C_1559_ p_76052_, C_4675_ arg2)
public float
a(enw arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
m_fyrjznjx(C_xqketiuf arg0)
getHeight(FluidState arg0)
getHeight(FluidState arg0)
m_7427_(C_2691_ arg0)
public abstract int
d(enw arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
m_thtsuwkd(C_xqketiuf arg0)
getLevel(FluidState arg0)
getLevel(FluidState arg0)
m_7430_(C_2691_ arg0)
public VoxelShape
b(enw arg0, dbf arg1, iz 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)
getShape(FluidState arg0, BlockView arg1, BlockPos arg2)
m_7999_(C_2691_ p_76085_, C_1559_ p_76086_, C_4675_ arg2)