net.minecraft.world.level.material

public final class FluidState

extends StateHolder<Fluid, FluidState>

des
net.minecraft.world.level.material.FluidState
net.minecraft.class_3610
net.minecraft.unmapped.C_xqketiuf
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
f_76146_
public static final int
b
AMOUNT_MAX
field_31727
f_dpgydwjl
field_31727
f_164510_
public static final int
g
AMOUNT_FULL
field_31728
f_rqcxfxdw
field_31728
f_164511_

Constructor summary

ModifierConstructor
public (Fluid fluid, com.google.common.collect.ImmutableMap<Property<?>, Comparable<?>> propertiesMap, com.mojang.serialization.MapCodec<FluidState> codec)

Method summary

Modifier and TypeMethod
public Fluid
a()
getType()
method_15772()
m_myjucdzw()
getFluid()
m_76152_()
getType()
public boolean
b()
isSource()
method_15771()
m_ufhvfxpy()
isStill()
m_76170_()
isSource()
public boolean
a(der arg0)
isSourceOfType(Fluid arg0)
method_33659(class_3611 arg0)
m_chbefdvv(C_rxhyurmy arg0)
isEqualAndStill(Fluid fluid)
m_164512_(C_2690_ arg0)
public boolean
c()
isEmpty()
method_15769()
m_suhektew()
isEmpty()
m_76178_()
isEmpty()
public float
a(bvu arg0, gg 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)
m_76155_(C_1559_ p_76157_, C_4675_ arg1)
getHeight(IBlockAccess arg0, BlockPosition arg1)
public float
d()
getOwnHeight()
method_20785()
m_cmsitmpb()
getHeight()
m_76182_()
public int
e()
getAmount()
method_15761()
m_urtbgxch()
getLevel()
m_76186_()
public boolean
b(bvu arg0, gg arg1)
shouldRenderBackwardUpFace(BlockGetter arg0, BlockPos arg1)
method_15756(class_1922 arg0, class_2338 arg1)
m_efpbsqwh(C_peaveboq arg0, C_hynzadkk arg1)
method_15756(BlockView world, BlockPos pos)
m_76171_(C_1559_ p_76173_, C_4675_ arg1)
public void
a(bwq arg0, gg arg1)
tick(Level arg0, BlockPos arg1)
method_15770(class_1937 arg0, class_2338 arg1)
m_bustihxf(C_cdctfzbn arg0, C_hynzadkk arg1)
onScheduledTick(World world, BlockPos pos)
m_76163_(C_1596_ p_76165_, C_4675_ arg1)
public void
a(bwq arg0, gg arg1, Random arg2)
animateTick(Level arg0, BlockPos arg1, Random arg2)
method_15768(class_1937 arg0, class_2338 arg1, Random arg2)
m_mqclozah(C_cdctfzbn arg0, C_hynzadkk arg1, Random arg2)
randomDisplayTick(World world, BlockPos pos, Random random)
m_76166_(C_1596_ p_76168_, C_4675_ p_76169_, Random arg2)
public boolean
f()
isRandomlyTicking()
method_15773()
m_qxoetaqe()
hasRandomTicks()
m_76187_()
public void
b(bwq arg0, gg arg1, Random arg2)
randomTick(Level arg0, BlockPos arg1, Random arg2)
method_15757(class_1937 arg0, class_2338 arg1, Random arg2)
m_kyapqeph(C_cdctfzbn arg0, C_hynzadkk arg1, Random arg2)
onRandomTick(World world, BlockPos pos, Random random)
m_76174_(C_1596_ p_76176_, C_4675_ p_76177_, Random arg2)
public Vec3
c(bvu arg0, gg 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)
m_76179_(C_1559_ p_76181_, C_4675_ arg1)
public BlockState
g()
createLegacyBlock()
method_15759()
m_cydtnwda()
getBlockState()
m_76188_()
getBlockData()
public ParticleOptions
h()
getDripParticle()
method_15766()
m_fzmzbbxh()
getParticle()
m_76189_()
public boolean
a(aga<der> arg0)
is(Tag<Fluid> arg0)
method_15767(class_3494<class_3611> arg0)
m_wwbgorvc(C_mokekhxv<C_rxhyurmy> arg0)
isIn(Tag<Fluid> tag)
m_76153_(C_147_<C_2690_> arg0)
public float
i()
getExplosionResistance()
method_15760()
m_fqewibfo()
getBlastResistance()
m_76190_()
public boolean
a(bvu arg0, gg arg1, der arg2, gl 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)
m_76158_(C_1559_ p_76160_, C_4675_ p_76161_, C_2690_ p_76162_, C_4687_ arg3)
public VoxelShape
d(bvu arg0, gg 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)
m_76183_(C_1559_ p_76185_, C_4675_ arg1)