net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

etu
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<FlowingFluid$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(dxv$a<etv, etw> 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(dgm arg0, jh arg1, etw 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(etw 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(dgm arg0, jh arg1, jm 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(ash arg0, jh arg1, dxu arg2, etw arg3)
spread(ServerLevel arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_15725(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
m_gnukxuqv(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xqketiuf arg3)
tryFlow(ServerWorld world, BlockPos fluidPos, BlockState blockState, FluidState fluidState)
tryFlow(ServerWorld world, BlockPos fluidPos, BlockState blockState, FluidState state)
m_76010_(C_12_ p_76012_, C_4675_ p_370035_, C_2064_ p_76013_, C_2691_ arg3)
private void
a(ash arg0, jh arg1, etw arg2, dxu arg3)
spreadToSides(ServerLevel arg0, BlockPos arg1, FluidState arg2, BlockState arg3)
method_15744(class_3218 arg0, class_2338 arg1, class_3610 arg2, class_2680 arg3)
m_hyyevjfk(C_bdwnwhiu arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_txtbiemp arg3)
flowToSides(ServerWorld world, BlockPos pos, FluidState fluidState, BlockState blockState)
flowToSides(ServerWorld world, BlockPos pos, FluidState fluidState, BlockState blockState)
m_76014_(C_12_ p_76016_, C_4675_ p_76017_, C_2691_ p_76018_, C_2064_ arg3)
protected FluidState
a(ash arg0, jh arg1, dxu arg2)
getNewLiquid(ServerLevel arg0, BlockPos arg1, BlockState arg2)
method_15727(class_3218 arg0, class_2338 arg1, class_2680 arg2)
m_ejtzmuvf(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getUpdatedState(ServerWorld world, BlockPos pos, BlockState state)
getUpdatedState(ServerWorld world, BlockPos pos, BlockState state)
m_76035_(C_12_ p_76037_, C_4675_ p_76038_, C_2064_ arg2)
private static boolean
a(jm arg0, dgm arg1, jh arg2, dxu arg3, jh arg4, dxu 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 direction, BlockView face, BlockPos arg2, BlockState arg3, BlockPos state, BlockState fromPos)
m_76061_(C_4687_ p_76062_, C_1559_ p_76063_, C_4675_ p_76064_, C_2064_ p_76065_, C_4675_ p_76066_, C_2064_ p_76067_)
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(ash arg0)
canConvertToSource(ServerLevel arg0)
method_15737(class_3218 arg0)
m_qipgcscg(C_bdwnwhiu arg0)
isInfinite(ServerWorld world)
isInfinite(ServerWorld world)
m_6760_(C_12_ arg0)
protected void
a(dhi arg0, jh arg1, dxu arg2, jm arg3, etw 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(dhi arg0, jh arg1, dxu 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)
protected int
a(dhk arg0, jh arg1, int arg2, jm arg3, dxu arg4, etu$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)
m_elhudbgf(C_eemzphbi arg0, C_hynzadkk arg1, int arg2, C_xpuuihxf arg3, C_txtbiemp arg4, C_vneqepda$C_pbwmzsui arg5)
getMinFlowDownDistance(WorldView world, BlockPos pos, int arg2, Direction direction, BlockState state, FlowableFluid$SpreadCache spreadCache)
getFlowSpeedBetween(WorldView world, BlockPos pos, int downFlowSpeed, Direction direction, BlockState state, FlowableFluid$C_pbwmzsui arg5)
m_76026_(C_1599_ p_76028_, C_4675_ p_76029_, int p_76030_, C_4687_ p_76031_, C_2064_ p_361884_, C_2688_$C_345644_ arg5)
boolean
a(dgm arg0, jh arg1, dxu arg2, jh arg3, dxu 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)
m_yyzlptcq(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_txtbiemp arg4)
canFlowDownTo(BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
canFlowDownTo(BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState)
m_75956_(C_1559_ p_75959_, C_4675_ p_75960_, C_2064_ p_75961_, C_4675_ p_75962_, C_2064_ arg4)
private boolean
a(dgm arg0, etv arg1, jh arg2, dxu arg3, jm arg4, jh arg5, dxu arg6, etw 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
a(dgm arg0, jh arg1, dxu arg2, jm arg3, jh arg4, dxu arg5, etw 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)
m_epmjwigk(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xpuuihxf arg3, C_hynzadkk arg4, C_txtbiemp arg5, C_xqketiuf arg6)
canFlowThrough(BlockView world, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState)
m_epmjwigk(BlockView world, BlockPos arg1, BlockState arg2, Direction direction, BlockPos state, BlockState arg5, FluidState fluidState)
m_355541_(C_1559_ p_366289_, C_4675_ p_368603_, C_2064_ p_367727_, C_4687_ p_366544_, C_4675_ p_366635_, C_2064_ p_362443_, C_2691_ arg6)
private boolean
h(etw 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(dhk arg0)
getSlopeFindDistance(LevelReader arg0)
method_15733(class_4538 arg0)
m_kgmkgxcd(C_eemzphbi arg0)
getMaxFlowDistance(WorldView world)
getFlowSpeed(WorldView world)
m_6719_(C_1599_ arg0)
private int
a(dhk arg0, jh 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(ash arg0, jh arg1, dxu arg2)
getSpread(ServerLevel arg0, BlockPos arg1, BlockState arg2)
method_15726(class_3218 arg0, class_2338 arg1, class_2680 arg2)
m_lcoiqlct(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getSpread(ServerWorld world, BlockPos pos, BlockState state)
getSpread(ServerWorld world, BlockPos pos, BlockState state)
m_76079_(C_12_ p_76081_, C_4675_ p_76082_, C_2064_ arg2)
private static boolean
a(dxu arg0)
canHoldAnyFluid(BlockState arg0)
method_61814(class_2680 arg0)
m_vogtmsni(C_txtbiemp arg0)
canFill(BlockState state)
m_vogtmsni(BlockState state)
m_356294_(C_2064_ p_366747_)
private static boolean
a(dgm arg0, jh arg1, dxu arg2, etv 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_75973_, C_4675_ p_75974_, C_2064_ p_75975_, C_2690_ p_75976_)
private static boolean
b(dgm arg0, jh arg1, dxu arg2, etv arg3)
canHoldSpecificFluid(BlockGetter arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_61815(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
m_bzifeyxn(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_rxhyurmy arg3)
canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
m_bzifeyxn(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
m_355704_(C_1559_ p_368745_, C_4675_ p_367421_, C_2064_ p_366623_, C_2690_ p_365745_)
protected abstract int
c(dhk 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(dhh arg0, jh arg1, etw arg2, etw 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(ash arg0, jh arg1, dxu arg2, etw arg3)
tick(ServerLevel arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_15778(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
m_ckadjwba(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xqketiuf arg3)
onScheduledTick(ServerWorld arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
onScheduledTick(ServerWorld arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
m_6292_(C_12_ p_75996_, C_4675_ p_369266_, C_2064_ p_75997_, C_2691_ arg3)
protected static int
e(etw 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(etw arg0, dgm arg1, jh 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(etw arg0, dgm arg1, jh 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(etw 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(etw 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(etw arg0, dgm arg1, jh 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)