net.minecraft.world.level.material

public final class FluidState

extends StateHolder<Fluid, FluidState>

etx
net.minecraft.world.level.material.FluidState
net.minecraft.class_3610
net.minecraft.unmapped.C_xqketiuf
net.minecraft.fluid.FluidState
net.minecraft.fluid.FluidState
net.minecraft.src.C_2691_
net.minecraft.world.level.material.Fluid

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FluidState>
a
CODEC
field_25018
f_oludjfij
CODEC
CODEC
f_76146_
public static final int
f
AMOUNT_MAX
field_31727
f_dpgydwjl
field_31727
AMOUNT_MAX
f_164510_
public static final int
g
AMOUNT_FULL
field_31728
f_rqcxfxdw
field_31728
AMOUNT_FULL
f_164511_

Constructor summary

ModifierConstructor
public (Fluid fluid, it.unimi.dsi.fastutil.objects.Reference2ObjectArrayMap<Property<?>, Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<FluidState> codec)

Method summary

Modifier and TypeMethod
public Fluid
a()
getType()
method_15772()
m_myjucdzw()
getFluid()
getFluid()
m_76152_()
public boolean
b()
isSource()
method_15771()
m_ufhvfxpy()
isStill()
isSource()
m_76170_()
public boolean
a(etw arg0)
isSourceOfType(Fluid arg0)
method_33659(class_3611 arg0)
m_chbefdvv(C_rxhyurmy arg0)
isEqualAndStill(Fluid fluid)
isEqualAndStill(Fluid fluid)
m_164512_(C_2690_ arg0)
public boolean
c()
isEmpty()
method_15769()
m_suhektew()
isEmpty()
isEmpty()
m_76178_()
public float
a(dgn arg0, jh arg1)
getHeight(BlockGetter arg0, BlockPos arg1)
method_15763(class_1922 arg0, class_2338 arg1)
m_vnpinqqs(C_peaveboq arg0, C_hynzadkk arg1)
getHeight(BlockView world, BlockPos pos)
getHeight(BlockView world, BlockPos pos)
m_76155_(C_1559_ p_76157_, C_4675_ arg1)
public float
d()
getOwnHeight()
method_20785()
m_cmsitmpb()
getHeight()
getHeight()
m_76182_()
public int
e()
getAmount()
method_15761()
m_urtbgxch()
getLevel()
getLevel()
m_76186_()
public boolean
b(dgn arg0, jh arg1)
shouldRenderBackwardUpFace(BlockGetter arg0, BlockPos arg1)
method_15756(class_1922 arg0, class_2338 arg1)
m_efpbsqwh(C_peaveboq arg0, C_hynzadkk arg1)
canFlowTo(BlockView world, BlockPos pos)
shouldReverseUpFaceVertexOrder(BlockView world, BlockPos pos)
m_76171_(C_1559_ p_76173_, C_4675_ arg1)
public void
a(ash arg0, jh arg1, dxv arg2)
tick(ServerLevel arg0, BlockPos arg1, BlockState arg2)
method_15770(class_3218 arg0, class_2338 arg1, class_2680 arg2)
m_bustihxf(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2)
onScheduledTick(ServerWorld world, BlockPos pos, BlockState state)
onScheduledTick(ServerWorld world, BlockPos pos, BlockState state)
m_76163_(C_12_ p_76165_, C_4675_ p_361746_, C_2064_ arg2)
public void
a(dhi arg0, jh arg1, bam arg2)
animateTick(Level arg0, BlockPos arg1, RandomSource arg2)
method_15768(class_1937 arg0, class_2338 arg1, class_5819 arg2)
m_mqclozah(C_cdctfzbn arg0, C_hynzadkk arg1, C_rlomrsco arg2)
randomDisplayTick(World world, BlockPos pos, Random random)
randomDisplayTick(World world, BlockPos pos, RandomGenerator random)
m_230558_(C_1596_ p_230560_, C_4675_ p_230561_, C_212974_ arg2)
public boolean
f()
isRandomlyTicking()
method_15773()
m_qxoetaqe()
hasRandomTicks()
hasRandomTicks()
m_76187_()
public void
a(ash arg0, jh arg1, bam arg2)
randomTick(ServerLevel arg0, BlockPos arg1, RandomSource arg2)
method_15757(class_3218 arg0, class_2338 arg1, class_5819 arg2)
m_kyapqeph(C_bdwnwhiu arg0, C_hynzadkk arg1, C_rlomrsco arg2)
onRandomTick(ServerWorld world, BlockPos pos, Random random)
onRandomTick(ServerWorld world, BlockPos pos, RandomGenerator random)
m_230562_(C_12_ p_230564_, C_4675_ p_230565_, C_212974_ arg2)
public Vec3
c(dgn arg0, jh arg1)
getFlow(BlockGetter arg0, BlockPos arg1)
method_15758(class_1922 arg0, class_2338 arg1)
m_cysdonkn(C_peaveboq arg0, C_hynzadkk arg1)
getVelocity(BlockView world, BlockPos pos)
getVelocity(BlockView world, BlockPos pos)
m_76179_(C_1559_ p_76181_, C_4675_ arg1)
public BlockState
g()
createLegacyBlock()
method_15759()
m_cydtnwda()
getBlockState()
getBlockState()
m_76188_()
public ParticleOptions
h()
getDripParticle()
method_15766()
m_fzmzbbxh()
getParticle()
getParticle()
m_76189_()
public boolean
a(ayk<etw> arg0)
is(TagKey<Fluid> arg0)
method_15767(class_6862<class_3611> arg0)
m_rntwnzsu(C_ednuhnnn<C_rxhyurmy> arg0)
isIn(TagKey<Fluid> tag)
isIn(TagKey<Fluid> tag)
m_205070_(C_203208_<C_2690_> arg0)
public boolean
a(ju<etw> arg0)
is(HolderSet<Fluid> arg0)
method_40179(class_6885<class_3611> arg0)
m_yvkcordb(C_odfnijdo<C_rxhyurmy> arg0)
isIn(RegistryEntryList<Fluid> fluids)
isIn(HolderSet<Fluid> set)
m_205072_(C_203233_<C_2690_> arg0)
public boolean
b(etw arg0)
is(Fluid arg0)
method_39360(class_3611 arg0)
m_gdypaenc(C_rxhyurmy arg0)
isOf(Fluid fluid)
isOf(Fluid fluid)
m_192917_(C_2690_ arg0)
public float
i()
getExplosionResistance()
method_15760()
m_fqewibfo()
getBlastResistance()
getBlastResistance()
m_76190_()
public boolean
a(dgn arg0, jh arg1, etw arg2, jm arg3)
canBeReplacedWith(BlockGetter arg0, BlockPos arg1, Fluid arg2, Direction arg3)
method_15764(class_1922 arg0, class_2338 arg1, class_3611 arg2, class_2350 arg3)
m_jxadadpa(C_peaveboq arg0, C_hynzadkk arg1, C_rxhyurmy arg2, C_xpuuihxf arg3)
canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
m_76158_(C_1559_ p_76160_, C_4675_ p_76161_, C_2690_ p_76162_, C_4687_ arg3)
public VoxelShape
d(dgn arg0, jh arg1)
getShape(BlockGetter arg0, BlockPos arg1)
method_17776(class_1922 arg0, class_2338 arg1)
m_rbymegfm(C_peaveboq arg0, C_hynzadkk arg1)
getShape(BlockView world, BlockPos pos)
getShape(BlockView world, BlockPos pos)
m_76183_(C_1559_ p_76185_, C_4675_ arg1)
public Holder<Fluid>
j()
holder()
method_40180()
m_arnkzbnn()
getRegistryEntry()
getBuiltInRegistryHolder()
m_205074_()
public Stream<TagKey<Fluid>>
k()
getTags()
method_40181()
m_ywzkhoah()
streamTags()
streamTags()
m_205075_()