net.minecraft.world.level.material

public abstract class Fluid

dxd
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.unmapped.C_rxhyurmy
net.minecraft.fluid.Fluid
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
f_sbhnjduk
STATE_IDS
STATE_IDS
f_76104_
protected final StateDefinition<Fluid, FluidState>
d
stateDefinition
field_15905
f_yrmirzbe
stateManager
stateManager
f_76105_
private FluidState
a
defaultFluidState
field_15903
f_kpypqepb
defaultState
defaultState
f_76103_
private final Holder$Reference<Fluid>
b
builtInRegistryHolder
field_36431
f_zkjtkgce
registryEntry
builtInRegistryHolder
f_205066_

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
protected void
a(dcc$a<dxd, dxe> 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> builder)
appendProperties(StateManager$Builder<Fluid, FluidState> builder)
m_7180_(C_2065_$C_2066_<C_2690_, C_2691_> arg0)
public StateDefinition<Fluid, FluidState>
f()
getStateDefinition()
method_15783()
m_skhoygrv()
getStateManager()
getStateManager()
m_76144_()
protected final void
f(dxe arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
m_hkiydxui(C_xqketiuf arg0)
setDefaultState(FluidState state)
setDefaultState(FluidState state)
m_76142_(C_2691_ arg0)
public final FluidState
g()
defaultFluidState()
method_15785()
m_iovysrti()
getDefaultState()
getDefaultState()
m_76145_()
public abstract Item
a()
getBucket()
method_15774()
m_gspotxsa()
getBucketItem()
getBucketItem()
m_6859_()
protected void
a(cmm arg0, gu arg1, dxe arg2, apf arg3)
animateTick(Level arg0, BlockPos arg1, FluidState arg2, RandomSource arg3)
method_15776(class_1937 arg0, class_2338 arg1, class_3610 arg2, class_5819 arg3)
m_tlgfmmht(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_rlomrsco arg3)
randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)
randomDisplayTick(World world, BlockPos pos, FluidState state, RandomGenerator random)
m_213811_(C_1596_ p_230551_, C_4675_ p_230552_, C_2691_ p_230553_, C_212974_ arg3)
protected void
b(cmm arg0, gu arg1, dxe arg2)
tick(Level arg0, BlockPos arg1, FluidState arg2)
method_15778(class_1937 arg0, class_2338 arg1, class_3610 arg2)
m_ckadjwba(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2)
onScheduledTick(World world, BlockPos pos, FluidState state)
onScheduledTick(World world, BlockPos pos, FluidState state)
m_6292_(C_1596_ p_76114_, C_4675_ p_76115_, C_2691_ arg2)
protected void
b(cmm arg0, gu arg1, dxe arg2, apf arg3)
randomTick(Level arg0, BlockPos arg1, FluidState arg2, RandomSource arg3)
method_15792(class_1937 arg0, class_2338 arg1, class_3610 arg2, class_5819 arg3)
m_tgvruohf(C_cdctfzbn arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_rlomrsco arg3)
onRandomTick(World world, BlockPos pos, FluidState state, Random random)
onRandomTick(World world, BlockPos pos, FluidState state, RandomGenerator random)
m_213812_(C_1596_ p_230555_, C_4675_ p_230556_, C_2691_ p_230557_, C_212974_ arg3)
protected ParticleOptions
h()
getDripParticle()
method_15787()
m_ciouftzi()
getParticle()
getParticle()
m_7792_()
protected abstract boolean
a(dxe arg0, cls arg1, gu arg2, dxd arg3, ha 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)
m_hpmvvmie(C_xqketiuf arg0, C_peaveboq arg1, C_hynzadkk arg2, C_rxhyurmy arg3, C_xpuuihxf arg4)
canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
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(cls arg0, gu arg1, dxe 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 world, BlockPos pos, FluidState state)
getVelocity(BlockView world, BlockPos pos, FluidState state)
m_7000_(C_1559_ p_76111_, C_4675_ p_76112_, C_2691_ arg2)
public abstract int
a(cmp arg0)
getTickDelay(LevelReader arg0)
method_15789(class_4538 arg0)
m_ytkqcfqu(C_eemzphbi arg0)
getTickRate(WorldView world)
getTickRate(WorldView world)
m_6718_(C_1599_ arg0)
protected boolean
i()
isRandomlyTicking()
method_15795()
m_gtjvpotf()
hasRandomTicks()
hasRandomTicks()
m_6685_()
protected boolean
b()
isEmpty()
method_15794()
m_csmjjwky()
isEmpty()
isEmpty()
m_6759_()
protected abstract float
c()
getExplosionResistance()
method_15784()
m_okxqeops()
getBlastResistance()
getBlastResistance()
m_6752_()
public abstract float
a(dxe arg0, cls arg1, gu 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 state, BlockView world, BlockPos pos)
getHeight(FluidState state, BlockView world, BlockPos pos)
m_6098_(C_2691_ p_76125_, C_1559_ p_76126_, C_4675_ arg2)
public abstract float
a(dxe arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
m_fyrjznjx(C_xqketiuf arg0)
getHeight(FluidState state)
getHeight(FluidState state)
m_7427_(C_2691_ arg0)
protected abstract BlockState
b(dxe arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
m_knecptla(C_xqketiuf arg0)
toBlockState(FluidState state)
toBlockState(FluidState state)
m_5804_(C_2691_ arg0)
public abstract boolean
c(dxe arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
m_zcckkdqh(C_xqketiuf arg0)
isStill(FluidState state)
isSource(FluidState state)
m_7444_(C_2691_ arg0)
public abstract int
d(dxe arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
m_thtsuwkd(C_xqketiuf arg0)
getLevel(FluidState state)
getLevel(FluidState state)
m_7430_(C_2691_ arg0)
public boolean
a(dxd arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
m_mwhfifwd(C_rxhyurmy arg0)
matchesType(Fluid fluid)
matchesType(Fluid fluid)
m_6212_(C_2690_ arg0)
public boolean
a(anl<dxd> arg0)
is(TagKey<Fluid> arg0)
method_15791(class_6862<class_3611> arg0)
m_gmnntlxe(C_ednuhnnn<C_rxhyurmy> arg0)
isIn(TagKey<Fluid> tag)
isIn(TagKey<Fluid> tag)
m_205067_(C_203208_<C_2690_> arg0)
public abstract VoxelShape
b(dxe arg0, cls arg1, gu 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 state, BlockView world, BlockPos pos)
getShape(FluidState state, BlockView world, BlockPos pos)
m_7999_(C_2691_ p_76138_, C_1559_ p_76139_, C_4675_ arg2)
public Optional<SoundEvent>
j()
getPickupSound()
method_32359()
m_qdxselfr()
getBucketFillSound()
getBucketFillSound()
m_142520_()
public Holder$Reference<Fluid>
k()
builtInRegistryHolder()
method_40178()
m_aahbiwvg()
getRegistryEntry()
getBuiltInRegistryHolder()
m_205069_()