net.minecraft.world.level.material

public abstract class Fluid

der
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.fluid.Fluid
net.minecraft.src.C_2690_
net.minecraft.world.level.material.FluidType

Field summary

Modifier and TypeField
public static final IdMapper<FluidState>
c
FLUID_STATE_REGISTRY
field_15904
STATE_IDS
f_76104_
protected final StateDefinition<Fluid, FluidState>
d
stateDefinition
field_15905
stateManager
f_76105_
private FluidState
a
defaultFluidState
field_15903
defaultState
f_76103_

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
protected void
a(cku$a<der, des> arg0)
createFluidStateDefinition(StateDefinition$Builder<Fluid, FluidState> arg0)
method_15775(class_2689$class_2690<class_3611, class_3610> arg0)
appendProperties(StateManager$Builder<Fluid, FluidState> builder)
m_7180_(C_2065_$C_2066_<C_2690_, C_2691_> arg0)
public StateDefinition<Fluid, FluidState>
g()
getStateDefinition()
method_15783()
getStateManager()
m_76144_()
protected final void
f(des arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
setDefaultState(FluidState state)
m_76142_(C_2691_ arg0)
public final FluidState
h()
defaultFluidState()
method_15785()
getDefaultState()
m_76145_()
public abstract Item
a()
getBucket()
method_15774()
getBucketItem()
m_6859_()
protected void
a(bwq arg0, gg arg1, des arg2, Random arg3)
animateTick(Level arg0, BlockPos arg1, FluidState arg2, Random arg3)
method_15776(class_1937 arg0, class_2338 arg1, class_3610 arg2, Random arg3)
randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)
m_7450_(C_1596_ p_76117_, C_4675_ p_76118_, C_2691_ p_76119_, Random arg3)
protected void
a(bwq arg0, gg arg1, des arg2)
tick(Level arg0, BlockPos arg1, FluidState arg2)
method_15778(class_1937 arg0, class_2338 arg1, class_3610 arg2)
onScheduledTick(World world, BlockPos pos, FluidState state)
m_6292_(C_1596_ p_76114_, C_4675_ p_76115_, C_2691_ arg2)
protected void
b(bwq arg0, gg arg1, des arg2, Random arg3)
randomTick(Level arg0, BlockPos arg1, FluidState arg2, Random arg3)
method_15792(class_1937 arg0, class_2338 arg1, class_3610 arg2, Random arg3)
onRandomTick(World world, BlockPos pos, FluidState state, Random random)
m_7449_(C_1596_ p_76133_, C_4675_ p_76134_, C_2691_ p_76135_, Random arg3)
protected ParticleOptions
i()
getDripParticle()
method_15787()
getParticle()
m_7792_()
protected abstract boolean
a(des arg0, bvu arg1, gg arg2, der arg3, gl arg4)
canBeReplacedWith(FluidState arg0, BlockGetter arg1, BlockPos arg2, Fluid arg3, Direction arg4)
method_15777(class_3610 arg0, class_1922 arg1, class_2338 arg2, class_3611 arg3, class_2350 arg4)
canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
m_5486_(C_2691_ p_76128_, C_1559_ p_76129_, C_4675_ p_76130_, C_2690_ p_76131_, C_4687_ arg4)
protected abstract Vec3
a(bvu arg0, gg arg1, des arg2)
getFlow(BlockGetter arg0, BlockPos arg1, FluidState arg2)
method_15782(class_1922 arg0, class_2338 arg1, class_3610 arg2)
getVelocity(BlockView world, BlockPos pos, FluidState state)
m_7000_(C_1559_ p_76111_, C_4675_ p_76112_, C_2691_ arg2)
public abstract int
a(bwt arg0)
getTickDelay(LevelReader arg0)
method_15789(class_4538 arg0)
getTickRate(WorldView world)
m_6718_(C_1599_ arg0)
protected boolean
j()
isRandomlyTicking()
method_15795()
hasRandomTicks()
m_6685_()
protected boolean
b()
isEmpty()
method_15794()
isEmpty()
m_6759_()
protected abstract float
c()
getExplosionResistance()
method_15784()
getBlastResistance()
m_6752_()
public abstract float
a(des arg0, bvu arg1, gg arg2)
getHeight(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_15788(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getHeight(FluidState state, BlockView world, BlockPos pos)
m_6098_(C_2691_ p_76125_, C_1559_ p_76126_, C_4675_ arg2)
public abstract float
a(des arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
getHeight(FluidState state)
m_7427_(C_2691_ arg0)
protected abstract BlockState
b(des arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
toBlockState(FluidState state)
m_5804_(C_2691_ arg0)
public abstract boolean
c(des arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
isStill(FluidState state)
m_7444_(C_2691_ arg0)
public abstract int
d(des arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
getLevel(FluidState state)
m_7430_(C_2691_ arg0)
public boolean
a(der arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
matchesType(Fluid fluid)
m_6212_(C_2690_ arg0)
public boolean
a(aga<der> arg0)
is(Tag<Fluid> arg0)
method_15791(class_3494<class_3611> arg0)
isIn(Tag<Fluid> tag)
m_76108_(C_147_<C_2690_> arg0)
public abstract VoxelShape
b(des arg0, bvu arg1, gg arg2)
getShape(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17775(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getShape(FluidState state, BlockView world, BlockPos pos)
m_7999_(C_2691_ p_76138_, C_1559_ p_76139_, C_4675_ arg2)
public Optional<SoundEvent>
k()
getPickupSound()
method_32359()
getBucketFillSound()
m_142520_()