net.minecraft.world.level.storage.loot.providers.number

public record EnchantmentLevelProvider

implements NumberProvider

evw
net.minecraft.world.level.storage.loot.providers.number.EnchantmentLevelProvider
net.minecraft.class_9753
net.minecraft.unmapped.C_xrlkhzyp
net.minecraft.loot.provider.number.EnchantmentLevelLootNumberProvider
net.minecraft.loot.provider.number.EnchantmentLevelNumberProvider
net.minecraft.src.C_336449_
net.minecraft.world.level.storage.loot.providers.number.EnchantmentLevelProvider

Field summary

Modifier and TypeField
private final LevelBasedValue
b
amount
comp_2784
f_knguagkl
amount
amount
f_336818_
public static final com.mojang.serialization.MapCodec<EnchantmentLevelProvider>
a
CODEC
field_51813
f_aiaamood
CODEC
CODEC
f_337425_

Constructor summary

ModifierConstructor
public (LevelBasedValue amount)

Method summary

Modifier and TypeMethod
public float
b(err arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
m_rcohobqm(C_iakykpgh arg0)
nextFloat(LootContext arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public LootNumberProviderType
b()
getType()
method_365()
m_nqaghysd()
getType()
getType()
m_142587_()
public static EnchantmentLevelProvider
a(daj arg0)
forEnchantmentLevel(LevelBasedValue arg0)
method_60313(class_9704 arg0)
m_ftrrciln(C_wrypqnyo arg0)
create(EnchantmentLevelBasedValue amount)
m_ftrrciln(LevelBasedValue amount)
m_340450_(C_336443_ p_343548_)
public LevelBasedValue
c()
amount()
comp_2784()
m_hrmnvzxp()
amount()
amount()
f_336818_()