net.minecraft.world.level.material

public abstract class FlowingFluid

extends Fluid

esy
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.FluidTypeFlowing

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(dwz$a<esz, eta> 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(dfo arg0, ji arg1, eta 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(eta 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(dfo arg0, ji arg1, jn 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(ard arg0, ji arg1, dwy arg2, eta 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 pos, BlockState blockState, FluidState state)
m_76010_(C_12_ p_76012_, C_4675_ p_370035_, C_2064_ p_76013_, C_2691_ arg3)
private void
a(ard arg0, ji arg1, eta arg2, dwy 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(ard arg0, ji arg1, dwy 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(jn arg0, dfo arg1, ji arg2, dwy arg3, ji arg4, dwy 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)
receivesNeighborFlow(Direction direction, BlockView face, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState)
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(ard 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(dgk arg0, ji arg1, dwy arg2, jn arg3, eta 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(dgk arg0, ji arg1, dwy 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 arg0, BlockPos pos, BlockState state)
m_7456_(C_1598_ p_76003_, C_4675_ p_76004_, C_2064_ arg2)
protected int
a(dgm arg0, ji arg1, int arg2, jn arg3, dwy arg4, esy$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$NearbyFlowCache cache)
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(dfo arg0, ji arg1, dwy arg2, ji arg3, dwy 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 posBelow, BlockState stateBelow)
m_75956_(C_1559_ p_75959_, C_4675_ p_75960_, C_2064_ p_75961_, C_4675_ p_75962_, C_2064_ arg4)
private boolean
a(dfo arg0, esz arg1, ji arg2, dwy arg3, jn arg4, ji arg5, dwy arg6, eta 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 neighborPos, BlockState neighborState, 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(dfo arg0, ji arg1, dwy arg2, jn arg3, ji arg4, dwy arg5, eta 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)
canFlowThroughImpl(BlockView world, BlockPos pos, BlockState state, Direction direction, BlockPos neighborPos, BlockState neighborState, 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(eta 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(dgm 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(dgm arg0, ji 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(ard arg0, ji arg1, dwy 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(dwy arg0)
canHoldAnyFluid(BlockState arg0)
method_61814(class_2680 arg0)
m_vogtmsni(C_txtbiemp arg0)
canFill(BlockState state)
isFillable(BlockState state)
m_356294_(C_2064_ p_366747_)
private static boolean
a(dfo arg0, ji arg1, dwy arg2, esz 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(dfo arg0, ji arg1, dwy arg2, esz 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)
canFillImpl(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(dgm 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(dgj arg0, ji arg1, eta arg2, eta 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(ard arg0, ji arg1, dwy arg2, eta 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(eta 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(eta arg0, dfo arg1, ji 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(eta arg0, dfo arg1, ji 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(eta 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(eta 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(eta arg0, dfo arg1, ji 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)