History - net.minecraft.loot.function.EnchantRandomlyLootFunction
26.3
Names
Fields
Constructors
(List<LootCondition>, Optional<RegistryEntryList<Enchantment>>, boolean, boolean)
(Optional<RegistryEntry<LootCondition>>, Optional<RegistryEntryList<Enchantment>>, boolean, boolean)
Methods
EnchantRandomlyLootFunction$Builder (RegistryWrapper$WrapperLookup): randomApplicableEnchantment, randomApplicableEnchantment, method_489, builder
EnchantRandomlyLootFunction$Builder (RegistryEntryLookup<Enchantment>): randomApplicableEnchantment, randomApplicableEnchantment, method_489, builder
26.2
Names
Fields
Constructors
Methods
26.1.2
Names
Fields
Constructors
Methods
26.1.1
Names
Fields
Constructors
Methods
26.1
Names
fpg
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction
net.minecraft.class_109
net.minecraft.loot.function.EnchantRandomlyLootFunction
Fields
org.slf4j.Logger: b, LOGGER, field_1031, LOGGER, f_hmtatkky, LOGGER, f_80414_
org.slf4j.Logger: LOGGER, LOGGER, field_1031, LOGGER
com.mojang.serialization.MapCodec<EnchantRandomlyLootFunction>: a, CODEC, field_45823, CODEC, f_bwriysqi, CODEC, f_291046_
Optional<RegistryEntryList<Enchantment>>: c, options, field_51792, options, f_nimgetud, options, f_336941_
Optional<RegistryEntryList<Enchantment>>: options, options, field_51792, options
boolean: d, onlyCompatible, field_51793, onlyCompatible, f_jcyipglw, onlyCompatible, f_336641_
boolean: onlyCompatible, onlyCompatible, field_51793, onlyCompatible
com.mojang.serialization.MapCodec<EnchantRandomlyLootFunction>: MAP_CODEC, MAP_CODEC, field_45823, CODEC
boolean: includeAdditionalCostComponent, includeAdditionalCostComponent, field_1_818, includeAdditionalCostComponent
Constructors
(List<LootCondition>, Optional<RegistryEntryList<Enchantment>>, boolean)
(List<LootCondition>, Optional<RegistryEntryList<Enchantment>>, boolean, boolean)
Methods
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, process, m_7372_
ItemStack (ItemStack, LootContext): run, run, method_522, process
LootFunctionType<EnchantRandomlyLootFunction> (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_
EnchantRandomlyLootFunction$Builder (): c, randomEnchantment, method_35520, create, m_oylffrhc, builder, m_165191_
EnchantRandomlyLootFunction$Builder (): randomEnchantment, randomEnchantment, method_35520, create
ItemStack (ItemStack, RegistryEntry<Enchantment>, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, process, m_230979_
EnchantRandomlyLootFunction$Builder (RegistryWrapper$WrapperLookup): a, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, randomLootBuilder, m_80440_
EnchantRandomlyLootFunction$Builder (RegistryWrapper$WrapperLookup): randomApplicableEnchantment, randomApplicableEnchantment, method_489, builder
com.mojang.serialization.MapCodec<EnchantRandomlyLootFunction> (): codec, codec, method_1_738, getCodec
Set<ContextParameter<?>> (): getReferencedContextParams, getReferencedContextParams, method_293, getAllowedParameters
ItemStack (ItemStack, RegistryEntry<Enchantment>, LootContext): enchantItem, enchantItem, method_1_760, enchant
1.21.11
Names
fkb
fpg
Fields
Constructors
Methods
LootFunctionType<EnchantRandomlyLootFunction> (): b, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_
LootFunctionType<EnchantRandomlyLootFunction> (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_
1.21.10
Names
Fields
Constructors
Methods
1.21.9
Names
fem
fkb
Fields
Constructors
Methods
1.21.8
Names
Fields
Constructors
Methods
1.21.7
Names
Fields
Constructors
Methods
1.21.6
Names
fbw
fem
Fields
Constructors
Methods
1.21.5
Names
ewv
fbw
Fields
Constructors
Methods
1.21.4
Names
exs
ewv
Fields
Constructors
Methods
1.21.3
Names
esu
exs
Fields
Constructors
Methods
EnchantRandomlyLootFunction$Builder (): c, randomEnchantment, method_35520, create, m_oylffrhc, create, m_165191_
EnchantRandomlyLootFunction$Builder (): c, randomEnchantment, method_35520, create, m_oylffrhc, builder, m_165191_
ItemStack (ItemStack, RegistryEntry<Enchantment>, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, m_susyvyur, m_230979_
ItemStack (ItemStack, RegistryEntry<Enchantment>, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, process, m_230979_
EnchantRandomlyLootFunction$Builder (RegistryWrapper$WrapperLookup): a, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, m_80440_
EnchantRandomlyLootFunction$Builder (RegistryWrapper$WrapperLookup): a, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, randomLootBuilder, m_80440_
1.21.1
Names
Fields
Constructors
Methods
1.21
Names
ern
esu
Fields
com.mojang.serialization.Codec<RegistryEntryList<Enchantment>>: c, ENCHANTMENT_SET_CODEC, field_45824, ENCHANTMENT_LIST_CODEC, f_qkktzcyr, ENCHANTMENT_HOLDER_CODEC, f_291886_
Optional<RegistryEntryList<Enchantment>>: d, enchantments, field_1030, enchantments, f_dtvmmsyz, enchantments, f_80415_
Optional<RegistryEntryList<Enchantment>>: c, options, field_51792, options, f_nimgetud, options, f_336941_
boolean: d, onlyCompatible, field_51793, onlyCompatible, f_jcyipglw, onlyCompatible, f_336641_
Constructors
(List<LootCondition>, Optional<RegistryEntryList<Enchantment>>)
(List<LootCondition>, Optional<RegistryEntryList<Enchantment>>, boolean)
Methods
ConditionalLootFunction$Builder<?> (): d, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, builder, m_80440_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, addEnchantmentToStack, m_230979_
ItemStack (ItemStack, RegistryEntry<Enchantment>, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, m_susyvyur, m_230979_
EnchantRandomlyLootFunction$Builder (RegistryWrapper$WrapperLookup): a, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, m_80440_
1.20.6
Names
eib
ern
Fields
com.mojang.serialization.Codec<RegistryEntryList<Enchantment>>: c, ENCHANTMENT_SET_CODEC, field_45824, ENCHANTMENT_LIST_CODEC, f_qkktzcyr, f_291886_
com.mojang.serialization.Codec<RegistryEntryList<Enchantment>>: c, ENCHANTMENT_SET_CODEC, field_45824, ENCHANTMENT_LIST_CODEC, f_qkktzcyr, ENCHANTMENT_HOLDER_CODEC, f_291886_
com.mojang.serialization.Codec<EnchantRandomlyLootFunction>: a, CODEC, field_45823, CODEC, f_bwriysqi, f_291046_
com.mojang.serialization.MapCodec<EnchantRandomlyLootFunction>: a, CODEC, field_45823, CODEC, f_bwriysqi, CODEC, f_291046_
Constructors
Methods
1.20.4
Names
edv
eib
Fields
com.mojang.serialization.Codec<RegistryEntryList<Enchantment>>: c, ENCHANTMENT_SET_CODEC, field_45824, field_45824, f_qkktzcyr, f_291886_
com.mojang.serialization.Codec<RegistryEntryList<Enchantment>>: c, ENCHANTMENT_SET_CODEC, field_45824, ENCHANTMENT_LIST_CODEC, f_qkktzcyr, f_291886_
Constructors
Methods
1.20.2
Names
ear
edv
Fields
List<Enchantment>: b, enchantments, field_1030, enchantments, f_dtvmmsyz, enchantments, f_80415_
org.slf4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, LOGGER, f_80414_
org.slf4j.Logger: b, LOGGER, field_1031, LOGGER, f_hmtatkky, LOGGER, f_80414_
com.mojang.serialization.Codec<RegistryEntryList<Enchantment>>: c, ENCHANTMENT_SET_CODEC, field_45824, field_45824, f_qkktzcyr, f_291886_
com.mojang.serialization.Codec<EnchantRandomlyLootFunction>: a, CODEC, field_45823, CODEC, f_bwriysqi, f_291046_
Optional<RegistryEntryList<Enchantment>>: d, enchantments, field_1030, enchantments, f_dtvmmsyz, enchantments, f_80415_
Constructors
(LootCondition[], Collection<Enchantment>)
(List<LootCondition>, Optional<RegistryEntryList<Enchantment>>)
Methods
1.20.1
Names
dzv
ear
Fields
Constructors
Methods
LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_
LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_
1.19.4
Names
dwv
dzv
Fields
Constructors
Methods
1.19.3
Names
dth
dwv
Fields
Constructors
Methods
1.19.2
Names
Fields
Constructors
Methods
1.19.1
Names
dsk
dth
Fields
Constructors
Methods
1.19
Names
dmg
dsk
Fields
Constructors
Methods
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, addEnchantmentToStack, m_80424_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, addEnchantmentToStack, m_230979_
1.18.2
Names
dle
dmg
net.minecraft.loot.function.EnchantRandomlyLootFunction
Fields
org.apache.logging.log4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, f_80414_
List<Enchantment>: b, enchantments, field_1030, enchantments, f_dtvmmsyz, f_80415_
List<Enchantment>: b, enchantments, field_1030, enchantments, f_dtvmmsyz, enchantments, f_80415_
org.slf4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, LOGGER, f_80414_
Constructors
Methods
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, m_7372_
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, process, m_7372_
ConditionalLootFunction$Builder<?> (): d, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, m_80440_
ConditionalLootFunction$Builder<?> (): d, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, builder, m_80440_
LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, m_7162_
LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, m_80424_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, addEnchantmentToStack, m_80424_
EnchantRandomlyLootFunction$Builder (): c, randomEnchantment, method_35520, create, m_oylffrhc, m_165191_
EnchantRandomlyLootFunction$Builder (): c, randomEnchantment, method_35520, create, m_oylffrhc, create, m_165191_
1.18.1
Names
Fields
Constructors
Methods
1.18
Names
djt
dle
Fields
Constructors
Methods
1.17.1
Names
Fields
Constructors
Methods
1.17
Names
dac
djt
net.minecraft.loot.functions.EnchantRandomly
net.minecraft.src.C_2906_
Fields
org.apache.logging.log4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, field_186557_a, LOGGER
org.apache.logging.log4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, f_80414_
List<Enchantment>: b, enchantments, field_1030, enchantments, f_dtvmmsyz, field_186558_b, enchantments
List<Enchantment>: b, enchantments, field_1030, enchantments, f_dtvmmsyz, f_80415_
Constructors
Methods
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, func_215859_a, doApply
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, m_7372_
ConditionalLootFunction$Builder<?> (): d, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, func_215900_c, func_215900_c
ConditionalLootFunction$Builder<?> (): d, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, m_80440_
LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, func_230425_b_, getFunctionType
LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, m_7162_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, method_26266, m_susyvyur, func_237420_a_, func_237420_a_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, addEnchantmentToStack, m_susyvyur, m_80424_
EnchantRandomlyLootFunction$Builder (): c, randomEnchantment, method_35520, create, m_oylffrhc, m_165191_
1.16.5
Names
Fields
Constructors
Methods
1.16.4
Names
czz
dac
Fields
Constructors
Methods
1.16.3
Names
Fields
Constructors
Methods
1.16.2
Names
dca
czz
Fields
Constructors
Methods
LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, func_230425_b_, func_230425_b_
LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, func_230425_b_, getFunctionType
1.16.1
Names
ctb
dca
net.minecraft.world.storage.loot.functions.EnchantRandomly
net.minecraft.loot.functions.EnchantRandomly
net.minecraft.world.storage.loot.functions.EnchantRandomly
net.minecraft.loot.functions.EnchantRandomly
Fields
List<Enchantment>: c, enchantments, field_1030, enchantments, f_dtvmmsyz, field_186558_b, enchantments
List<Enchantment>: b, enchantments, field_1030, enchantments, f_dtvmmsyz, field_186558_b, enchantments
Constructors
Methods
ConditionalLootFunction$Builder<?> (): c, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, func_215900_c, func_215900_c
ConditionalLootFunction$Builder<?> (): d, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, func_215900_c, func_215900_c
LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, func_230425_b_, func_230425_b_
ItemStack (ItemStack, Enchantment, Random): a, enchantItem, method_26266, method_26266, m_susyvyur, func_237420_a_, func_237420_a_
1.15.2
Names
csy
ctb
Fields
Constructors
Methods
1.15.1
Names
Fields
Constructors
Methods
1.15
Names
cqa
csy
Fields
org.apache.logging.log4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, LOGGER, field_186557_a, LOGGER
org.apache.logging.log4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, field_186557_a, LOGGER
List<Enchantment>: c, enchantments, field_1030, enchantments, f_dtvmmsyz, enchantments, field_186558_b, enchantments
List<Enchantment>: c, enchantments, field_1030, enchantments, f_dtvmmsyz, field_186558_b, enchantments
Constructors
Methods
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, run, func_215859_a, doApply
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, func_215859_a, doApply
ConditionalLootFunction$Builder<?> (): c, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, m_23200015, func_215900_c, func_215900_c
ConditionalLootFunction$Builder<?> (): c, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, func_215900_c, func_215900_c
1.14.4
Names
cpu
cqa
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction
net.minecraft.world.loot.function.EnchantRandomlyLootFunction
net.minecraft.loot.function.EnchantRandomlyLootFunction
net.minecraft.unmapped.C_mcyropux
Fields
org.apache.logging.log4j.Logger: a, field_1031, LOGGER, LOGGER, field_186557_a, LOGGER
org.apache.logging.log4j.Logger: a, LOGGER, field_1031, LOGGER, f_hmtatkky, LOGGER, field_186557_a, LOGGER
List<Enchantment>: c, field_1030, enchantments, enchantments, field_186558_b, enchantments
List<Enchantment>: c, enchantments, field_1030, enchantments, f_dtvmmsyz, enchantments, field_186558_b, enchantments
Constructors
Methods
ItemStack (ItemStack, LootContext): a, method_522, process, run, func_215859_a, doApply
ItemStack (ItemStack, LootContext): a, run, method_522, process, m_axzztavb, run, func_215859_a, doApply
ConditionalLootFunction$Builder<?> (): c, method_489, builder, m_23200015, func_215900_c, func_215900_c
ConditionalLootFunction$Builder<?> (): c, randomApplicableEnchantment, method_489, builder, m_hgxjeanh, m_23200015, func_215900_c, func_215900_c
1.14.3
Names
cpq
cpu
net.minecraft.world.loot.function.EnchantRandomlyLootFunction
Fields
org.apache.logging.log4j.Logger: a, field_1031, LOGGER, field_186557_a, LOGGER
org.apache.logging.log4j.Logger: a, field_1031, LOGGER, LOGGER, field_186557_a, LOGGER
List<Enchantment>: c, field_1030, enchantments, field_186558_b, enchantments
List<Enchantment>: c, field_1030, enchantments, enchantments, field_186558_b, enchantments
Constructors
Methods
ItemStack (ItemStack, LootContext): a, method_522, run, func_215859_a, doApply
ItemStack (ItemStack, LootContext): a, method_522, process, run, func_215859_a, doApply
LootItemFunction$C_16118229<?> (): c, method_489, m_23200015, func_215900_c, func_215900_c
ConditionalLootFunction$Builder<?> (): c, method_489, builder, m_23200015, func_215900_c, func_215900_c
1.14.2
Names
Fields
org.apache.logging.log4j.Logger: a, field_1031, LOGGER, field_186557_a, field_186557_a
org.apache.logging.log4j.Logger: a, field_1031, LOGGER, field_186557_a, LOGGER
List<Enchantment>: c, field_1030, enchantments, field_186558_b, field_186558_b
List<Enchantment>: c, field_1030, enchantments, field_186558_b, enchantments
Constructors
Methods
ItemStack (ItemStack, LootContext): a, method_522, run, func_215859_a, func_215859_a
ItemStack (ItemStack, LootContext): a, method_522, run, func_215859_a, doApply
1.14.1
Names
cpo
cpq
Fields
Constructors
Methods
1.14
Names
ccv
cpo
net.minecraft.class_2791
net.minecraft.class_109
Fields
org.apache.logging.log4j.Logger: a, field_13214, LOGGER, field_186557_a, LOGGER
org.apache.logging.log4j.Logger: a, field_1031, LOGGER, field_186557_a, field_186557_a
List<Enchantment>: b, field_13215, enchantments, field_186558_b, enchantments
List<Enchantment>: c, field_1030, enchantments, field_186558_b, field_186558_b
Constructors
(LootItemCondition[], List<Enchantment>)
(LootEntityProperty[], Collection<Enchantment>)
Methods
ItemStack (ItemStack, Random, LootContext): a, method_12029, run, func_186553_a, apply
ItemStack (ItemStack, LootContext): a, method_522, run, func_215859_a, func_215859_a
LootItemFunction$C_16118229<?> (): c, method_489, m_23200015, func_215900_c, func_215900_c
1.13.2
Names
ccu
ccv
net.minecraft.unmapped.C_98664814
net.minecraft.class_2791
Fields
org.apache.logging.log4j.Logger: a, f_54668607, LOGGER, field_186557_a
org.apache.logging.log4j.Logger: a, field_13214, LOGGER, field_186557_a, LOGGER
List<Enchantment>: b, f_98667055, enchantments, field_186558_b
List<Enchantment>: b, field_13215, enchantments, field_186558_b, enchantments
Constructors
Methods
ItemStack (ItemStack, Random, LootContext): a, m_38106248, run, func_186553_a
ItemStack (ItemStack, Random, LootContext): a, method_12029, run, func_186553_a, apply
1.13.1
Names
cck
ccu
Fields
Constructors
Methods
1.13
Names
bfx
cck
net.minecraft.class_2791
net.minecraft.unmapped.C_98664814
Fields
org.apache.logging.log4j.Logger: a, field_13214, LOGGER, field_186557_a, LOGGER
org.apache.logging.log4j.Logger: a, f_54668607, LOGGER, field_186557_a
List<Enchantment>: b, field_13215, enchantments, field_186558_b, enchantments
List<Enchantment>: b, f_98667055, enchantments, field_186558_b
Constructors
Methods
ItemStack (ItemStack, Random, LootContext): a, method_12029, run, func_186553_a, apply
ItemStack (ItemStack, Random, LootContext): a, m_38106248, run, func_186553_a
1.12.2
Names
bfx
net.minecraft.class_2791
net.minecraft.world.gen.loot.functions.EnchantRandomlyFunction
net.minecraft.world.storage.loot.functions.EnchantRandomly
net.minecraft.world.storage.loot.functions.EnchantRandomly
Fields
org.apache.logging.log4j.Logger: a, field_13214, LOGGER, field_186557_a, LOGGER
List<Enchantment>: b, field_13215, enchantments, field_186558_b, enchantments
Constructors
(LootItemCondition[], List<Enchantment>)
Methods
ItemStack (ItemStack, Random, LootContext): a, method_12029, run, func_186553_a, apply