History - net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction

1.21.2

Names

exs

net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction

net.minecraft.class_106

net.minecraft.unmapped.C_hujvlqyo

net.minecraft.loot.function.EnchantWithLevelsLootFunction

net.minecraft.loot.function.EnchantWithLevelsLootFunction

net.minecraft.src.C_2910_

net.minecraft.world.level.storage.loot.functions.LootItemFunctionEnchant

Fields

com.mojang.serialization.MapCodec<EnchantWithLevelsFunction>: a, CODEC, field_45825, f_ybeuskpt, CODEC, CODEC, f_291036_

NumberProvider: b, levels, field_1026, f_uznihzkv, levels, range, f_80471_

Optional<HolderSet<Enchantment>>: c, options, field_51796, f_dhstuucg, options, options, f_337585_

Constructors

(List<LootItemCondition>, NumberProvider, Optional<HolderSet<Enchantment>>)

Methods

LootItemFunctionType<EnchantWithLevelsFunction> (): b, getType, method_29321, m_ngvoddkv, getType, getType, m_7162_

Set<ContextKey<?>> (): a, getReferencedContextParams, method_293, m_oozesizv, getAllowedParameters, getRequiredParameters, m_6231_

ItemStack (ItemStack, LootContext): a, run, method_522, m_axzztavb, process, process, m_7372_

EnchantWithLevelsFunction$Builder (HolderLookup$Provider, NumberProvider): a, enchantWithLevels, method_481, m_baumhjth, builder, m_baumhjth, m_165196_