net.minecraft.world.level.material

public abstract class Fluid

ewn
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.unmapped.C_rxhyurmy
net.minecraft.fluid.Fluid
net.minecraft.fluid.Fluid

Field summary

Modifier and TypeField
public static final IdMapper<FluidState>
c
FLUID_STATE_REGISTRY
field_15904
f_sbhnjduk
STATE_IDS
STATE_IDS
protected final StateDefinition<Fluid, FluidState>
d
stateDefinition
field_15905
f_yrmirzbe
stateManager
stateManager
private FluidState
a
defaultFluidState
field_15903
f_kpypqepb
defaultState
defaultState
private final Holder$Reference<Fluid>
b
builtInRegistryHolder
field_36431
f_zkjtkgce
registryEntry
builtInRegistryHolder

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
protected void
a(eai$a<ewn, ewo> 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)
public StateDefinition<Fluid, FluidState>
f()
getStateDefinition()
method_15783()
m_skhoygrv()
getStateManager()
getStateManager()
protected final void
f(ewo arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
m_hkiydxui(C_xqketiuf arg0)
setDefaultState(FluidState state)
setDefaultState(FluidState state)
public final FluidState
g()
defaultFluidState()
method_15785()
m_iovysrti()
getDefaultState()
getDefaultState()
public abstract Item
a()
getBucket()
method_15774()
m_gspotxsa()
getBucketItem()
getBucketItem()
protected void
a(dja arg0, iu arg1, ewo arg2, azv 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)
protected void
b(arq arg0, iu arg1, eah arg2, ewo arg3)
tick(ServerLevel arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_15778(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
m_ckadjwba(C_bdwnwhiu arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xqketiuf arg3)
onScheduledTick(ServerWorld world, BlockPos pos, BlockState blockState, FluidState fluidState)
onScheduledTick(ServerWorld world, BlockPos pos, BlockState blockState, FluidState state)
protected void
a(arq arg0, iu arg1, ewo arg2, azv arg3)
randomTick(ServerLevel arg0, BlockPos arg1, FluidState arg2, RandomSource arg3)
method_15792(class_3218 arg0, class_2338 arg1, class_3610 arg2, class_5819 arg3)
m_tgvruohf(C_bdwnwhiu arg0, C_hynzadkk arg1, C_xqketiuf arg2, C_rlomrsco arg3)
onRandomTick(ServerWorld world, BlockPos pos, FluidState state, Random random)
onRandomTick(ServerWorld world, BlockPos pos, FluidState state, RandomGenerator random)
protected ParticleOptions
h()
getDripParticle()
method_15787()
m_ciouftzi()
getParticle()
getParticle()
protected abstract boolean
a(ewo arg0, dig arg1, iu arg2, ewn arg3, ja 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 arg3, Direction direction)
protected abstract Vec3
a(dig arg0, iu arg1, ewo 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)
public abstract int
a(djd arg0)
getTickDelay(LevelReader arg0)
method_15789(class_4538 arg0)
m_ytkqcfqu(C_eemzphbi arg0)
getTickRate(WorldView world)
getTickRate(WorldView world)
protected boolean
i()
isRandomlyTicking()
method_15795()
m_gtjvpotf()
hasRandomTicks()
hasRandomTicks()
protected boolean
b()
isEmpty()
method_15794()
m_csmjjwky()
isEmpty()
isEmpty()
protected abstract float
c()
getExplosionResistance()
method_15784()
m_okxqeops()
getBlastResistance()
getBlastResistance()
public abstract float
a(ewo arg0, dig arg1, iu 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)
public abstract float
a(ewo arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
m_fyrjznjx(C_xqketiuf arg0)
getHeight(FluidState state)
getHeight(FluidState state)
protected abstract BlockState
b(ewo arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
m_knecptla(C_xqketiuf arg0)
toBlockState(FluidState state)
toBlockState(FluidState state)
public abstract boolean
c(ewo arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
m_zcckkdqh(C_xqketiuf arg0)
isStill(FluidState state)
isSource(FluidState state)
public abstract int
d(ewo arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
m_thtsuwkd(C_xqketiuf arg0)
getLevel(FluidState state)
getLevel(FluidState state)
public boolean
a(ewn arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
m_mwhfifwd(C_rxhyurmy arg0)
matchesType(Fluid fluid)
matchesType(Fluid fluid)
public boolean
a(axr<ewn> 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)
public abstract VoxelShape
b(ewo arg0, dig arg1, iu 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)
public AABB
c(ewo arg0, dig arg1, iu arg2)
getAABB(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_66788(class_3610 arg0, class_1922 arg1, class_2338 arg2)
m_rzubjknj(C_xqketiuf arg0, C_peaveboq arg1, C_hynzadkk arg2)
getCollisionBox(FluidState state, BlockView world, BlockPos pos)
m_rzubjknj(FluidState state, BlockView world, BlockPos pos)
public Optional<SoundEvent>
j()
getPickupSound()
method_32359()
m_qdxselfr()
getBucketFillSound()
getBucketFillSound()
public Holder$Reference<Fluid>
k()
builtInRegistryHolder()
method_40178()
m_aahbiwvg()
getRegistryEntry()
getBuiltInRegistryHolder()