net.minecraft.world.level.material

public final class FluidState

extends StateHolder<Fluid, FluidState>

cxa
net.minecraft.world.level.material.FluidState
net.minecraft.class_3610
net.minecraft.fluid.FluidState
net.minecraft.fluid.FluidState
net.minecraft.server.v1_16_R1.Fluid

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FluidState>
a
CODEC
field_25018
CODEC
field_237213_a_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Fluid
a()
getType()
method_15772()
getFluid()
func_206886_c()
getType()
public boolean
b()
isSource()
method_15771()
isStill()
func_206889_d()
isSource()
public boolean
c()
isEmpty()
method_15769()
isEmpty()
func_206888_e()
isEmpty()
public float
a(bpg arg0, fu arg1)
getHeight(BlockGetter arg0, BlockPos arg1)
method_15763(class_1922 arg0, class_2338 arg1)
getHeight(BlockView world, BlockPos pos)
func_215679_a(IBlockReader arg0, BlockPos arg1)
getHeight(IBlockAccess arg0, BlockPosition arg1)
public float
d()
getOwnHeight()
method_20785()
getHeight()
func_223408_f()
public int
e()
getAmount()
method_15761()
getLevel()
func_206882_g()
public void
a(bqb arg0, fu arg1)
tick(Level arg0, BlockPos arg1)
method_15770(class_1937 arg0, class_2338 arg1)
onScheduledTick(World world, BlockPos pos)
func_206880_a(World arg0, BlockPos arg1)
public boolean
f()
isRandomlyTicking()
method_15773()
hasRandomTicks()
func_206890_h()
public void
b(bqb arg0, fu arg1, Random arg2)
randomTick(Level arg0, BlockPos arg1, Random arg2)
method_15757(class_1937 arg0, class_2338 arg1, Random arg2)
onRandomTick(World world, BlockPos pos, Random random)
func_206891_b(World arg0, BlockPos arg1, Random arg2)
public Vec3
c(bpg arg0, fu arg1)
getFlow(BlockGetter arg0, BlockPos arg1)
method_15758(class_1922 arg0, class_2338 arg1)
getVelocity(BlockView world, BlockPos pos)
func_215673_c(IBlockReader arg0, BlockPos arg1)
public BlockState
g()
createLegacyBlock()
method_15759()
getBlockState()
func_206883_i()
getBlockData()
public boolean
a(adf<cwz> arg0)
is(Tag<Fluid> arg0)
method_15767(class_3494<class_3611> arg0)
isIn(Tag<Fluid> tag)
func_206884_a(ITag<Fluid> arg0)
public float
i()
getExplosionResistance()
method_15760()
getBlastResistance()
func_210200_l()
public boolean
a(bpg arg0, fu arg1, cwz arg2, fz arg3)
canBeReplacedWith(BlockGetter arg0, BlockPos arg1, Fluid arg2, Direction arg3)
method_15764(class_1922 arg0, class_2338 arg1, class_3611 arg2, class_2350 arg3)
canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction)
func_215677_a(IBlockReader arg0, BlockPos arg1, Fluid arg2, Direction arg3)
public VoxelShape
d(bpg arg0, fu arg1)
getShape(BlockGetter arg0, BlockPos arg1)
method_17776(class_1922 arg0, class_2338 arg1)
getShape(BlockView world, BlockPos pos)
func_215676_d(IBlockReader arg0, BlockPos arg1)
public boolean
b(bpg arg0, fu arg1)
shouldRenderBackwardUpFace(BlockGetter arg0, BlockPos arg1)
method_15756(class_1922 arg0, class_2338 arg1)
method_15756(BlockView world, BlockPos pos)
func_205586_a(IBlockReader arg0, BlockPos arg1)
public void
a(bqb arg0, fu arg1, Random arg2)
animateTick(Level arg0, BlockPos arg1, Random arg2)
method_15768(class_1937 arg0, class_2338 arg1, Random arg2)
randomDisplayTick(World world, BlockPos pos, Random random)
func_206881_a(World arg0, BlockPos arg1, Random arg2)
public ParticleOptions
h()
getDripParticle()
method_15766()
getParticle()
func_204521_c()