History - net.minecraft.loot.function.EnchantWithLevelsLootFunction

26.3

Names

Fields

LootNumberProvider: levels, levels, field_1026, levels

RegistryEntry<LootIntProvider>: levels, levels, field_1026, levels

Constructors

(List<LootCondition>, LootNumberProvider, Optional<RegistryEntryList<Enchantment>>, boolean)

(Optional<RegistryEntry<LootCondition>>, RegistryEntry<LootIntProvider>, Optional<RegistryEntryList<Enchantment>>, boolean)

Methods

EnchantWithLevelsLootFunction$Builder (RegistryWrapper$WrapperLookup, LootNumberProvider): enchantWithLevels, enchantWithLevels, method_481, builder

EnchantWithLevelsLootFunction$Builder (RegistryEntryLookup<Enchantment>, RegistryEntry<LootIntProvider>): enchantWithLevels, enchantWithLevels, method_481, builder

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

fph

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

net.minecraft.class_106

net.minecraft.loot.function.EnchantWithLevelsLootFunction

Fields

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

LootNumberProvider: levels, levels, field_1026, levels

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

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

Optional<RegistryEntryList<Enchantment>>: options, options, field_51796, options

com.mojang.serialization.MapCodec<EnchantWithLevelsLootFunction>: MAP_CODEC, MAP_CODEC, field_45825, CODEC

boolean: includeAdditionalCostComponent, includeAdditionalCostComponent, field_1_822, includeAdditionalCostComponent

Constructors

(List<LootCondition>, LootNumberProvider, Optional<RegistryEntryList<Enchantment>>)

(List<LootCondition>, LootNumberProvider, Optional<RegistryEntryList<Enchantment>>, boolean)

Methods

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

ItemStack (ItemStack, LootContext): run, run, method_522, process

LootFunctionType<EnchantWithLevelsLootFunction> (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_

Set<ContextParameter<?>> (): b, getReferencedContextParams, method_293, getAllowedParameters, m_oozesizv, getRequiredParameters, m_6231_

Set<ContextParameter<?>> (): getReferencedContextParams, getReferencedContextParams, method_293, getAllowedParameters

EnchantWithLevelsLootFunction$Builder (RegistryWrapper$WrapperLookup, LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, randomLootBuilder, m_165196_

EnchantWithLevelsLootFunction$Builder (RegistryWrapper$WrapperLookup, LootNumberProvider): enchantWithLevels, enchantWithLevels, method_481, builder

com.mojang.serialization.MapCodec<EnchantWithLevelsLootFunction> (): codec, codec, method_1_738, getCodec

void (LootTableReporter): validate, validate, method_292, report

1.21.11

Names

fkc

fph

Fields

Constructors

Methods

LootFunctionType<EnchantWithLevelsLootFunction> (): b, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_

LootFunctionType<EnchantWithLevelsLootFunction> (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_

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

Set<ContextParameter<?>> (): b, getReferencedContextParams, method_293, getAllowedParameters, m_oozesizv, getRequiredParameters, m_6231_

1.21.10

Names

Fields

Constructors

Methods

1.21.9

Names

fen

fkc

Fields

Constructors

Methods

1.21.8

Names

Fields

Constructors

Methods

1.21.7

Names

Fields

Constructors

Methods

1.21.6

Names

fbx

fen

Fields

Constructors

Methods

1.21.5

Names

eww

fbx

Fields

Constructors

Methods

1.21.4

Names

ext

eww

Fields

Constructors

Methods

1.21.3

Names

esv

ext

Fields

Constructors

Methods

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

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

EnchantWithLevelsLootFunction$Builder (RegistryWrapper$WrapperLookup, LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, m_baumhjth, m_165196_

EnchantWithLevelsLootFunction$Builder (RegistryWrapper$WrapperLookup, LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, randomLootBuilder, m_165196_

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

ero

esv

Fields

boolean: c, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, treasureEnchantmentsAllowed, f_80472_

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

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

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

Constructors

(List<LootCondition>, LootNumberProvider, boolean)

(List<LootCondition>, LootNumberProvider, Optional<RegistryEntryList<Enchantment>>)

Methods

EnchantWithLevelsLootFunction$Builder (LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, builder, m_165196_

EnchantWithLevelsLootFunction$Builder (RegistryWrapper$WrapperLookup, LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, m_baumhjth, m_165196_

1.20.6

Names

eic

ero

Fields

com.mojang.serialization.Codec<EnchantWithLevelsLootFunction>: a, CODEC, field_45825, CODEC, f_ybeuskpt, CODEC, f_291036_

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

Constructors

Methods

1.20.4

Names

edw

eic

Fields

Constructors

Methods

1.20.2

Names

eas

edw

Fields

boolean: b, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, treasureEnchantmentsAllowed, f_80472_

boolean: c, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, treasureEnchantmentsAllowed, f_80472_

LootNumberProvider: a, levels, field_1026, range, f_uznihzkv, range, f_80471_

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

com.mojang.serialization.Codec<EnchantWithLevelsLootFunction>: a, CODEC, field_45825, CODEC, f_ybeuskpt, CODEC, f_291036_

Constructors

(LootCondition[], LootNumberProvider, boolean)

(List<LootCondition>, LootNumberProvider, boolean)

Methods

1.20.1

Names

dzw

eas

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_

Set<LootContextParameter<?>> (): b, getReferencedContextParams, method_293, getRequiredParameters, m_oozesizv, getRequiredParameters, m_6231_

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

1.19.4

Names

dww

dzw

Fields

Constructors

Methods

1.19.3

Names

dti

dww

Fields

Constructors

Methods

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

dsl

dti

Fields

Constructors

Methods

1.19

Names

dmh

dsl

Fields

Constructors

Methods

1.18.2

Names

dlf

dmh

net.minecraft.loot.function.EnchantWithLevelsLootFunction

Fields

boolean: b, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, f_80472_

boolean: b, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, treasureEnchantmentsAllowed, f_80472_

LootNumberProvider: a, levels, field_1026, range, f_uznihzkv, f_80471_

LootNumberProvider: a, levels, field_1026, range, f_uznihzkv, range, f_80471_

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_

LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, m_7162_

LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, getType, m_7162_

Set<LootContextParameter<?>> (): b, getReferencedContextParams, method_293, getRequiredParameters, m_oozesizv, m_6231_

Set<LootContextParameter<?>> (): b, getReferencedContextParams, method_293, getRequiredParameters, m_oozesizv, getRequiredParameters, m_6231_

EnchantWithLevelsLootFunction$Builder (LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, m_165196_

EnchantWithLevelsLootFunction$Builder (LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, builder, m_165196_

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

dju

dlf

Fields

Constructors

Methods

1.17.1

Names

Fields

Constructors

Methods

1.17

Names

dad

dju

net.minecraft.loot.functions.EnchantWithLevels

net.minecraft.src.C_2910_

Fields

boolean: b, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, field_186578_b, isTreasure

boolean: b, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, f_80472_

LootTableRange: a, levels, field_1026, range, f_uznihzkv, field_186577_a, randomLevel

LootNumberProvider: a, levels, field_1026, range, f_uznihzkv, f_80471_

Constructors

(LootCondition[], LootTableRange, boolean)

(LootCondition[], LootNumberProvider, boolean)

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_

EnchantWithLevelsLootFunction$Builder (LootTableRange): a, enchantWithLevels, method_481, builder, m_baumhjth, func_215895_a, func_215895_a

LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, func_230425_b_, getFunctionType

LootFunctionType (): a, getType, method_29321, getType, m_ngvoddkv, m_7162_

Set<LootContextParameter<?>> (): b, getReferencedContextParams, method_293, getRequiredParameters, m_oozesizv, m_6231_

EnchantWithLevelsLootFunction$Builder (LootNumberProvider): a, enchantWithLevels, method_481, builder, m_baumhjth, m_165196_

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

daa

dad

Fields

Constructors

Methods

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

dcb

daa

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

ctc

dcb

net.minecraft.world.storage.loot.functions.EnchantWithLevels

net.minecraft.loot.functions.EnchantWithLevels

net.minecraft.world.storage.loot.functions.EnchantWithLevels

net.minecraft.loot.functions.EnchantWithLevels

Fields

boolean: c, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, field_186578_b, isTreasure

boolean: b, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, field_186578_b, isTreasure

Constructors

Methods

LootFunctionType (): b, getType, method_29321, getType, m_ngvoddkv, func_230425_b_, func_230425_b_

1.15.2

Names

csz

ctc

Fields

Constructors

Methods

1.15.1

Names

Fields

Constructors

Methods

1.15

Names

cqb

csz

Fields

boolean: c, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, treasure, field_186578_b, isTreasure

boolean: c, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, field_186578_b, isTreasure

LootTableRange: a, levels, field_1026, range, f_uznihzkv, levels, field_186577_a, randomLevel

LootTableRange: a, levels, field_1026, range, f_uznihzkv, field_186577_a, randomLevel

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

EnchantWithLevelsLootFunction$Builder (LootTableRange): a, enchantWithLevels, method_481, builder, m_baumhjth, m_83301877, func_215895_a, func_215895_a

EnchantWithLevelsLootFunction$Builder (LootTableRange): a, enchantWithLevels, method_481, builder, m_baumhjth, func_215895_a, func_215895_a

1.14.4

Names

cpv

cqb

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

net.minecraft.world.loot.function.EnchantWithLevelsLootFunction

net.minecraft.loot.function.EnchantWithLevelsLootFunction

net.minecraft.unmapped.C_hujvlqyo

Fields

boolean: c, field_1027, treasureEnchantmentsAllowed, treasure, field_186578_b, isTreasure

boolean: c, treasure, field_1027, treasureEnchantmentsAllowed, f_mdbmdlse, treasure, field_186578_b, isTreasure

LootTableRange: a, field_1026, range, levels, field_186577_a, randomLevel

LootTableRange: a, levels, field_1026, range, f_uznihzkv, levels, field_186577_a, randomLevel

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

EnchantWithLevelsLootFunction$Builder (LootTableRange): a, method_481, builder, m_83301877, func_215895_a, func_215895_a

EnchantWithLevelsLootFunction$Builder (LootTableRange): a, enchantWithLevels, method_481, builder, m_baumhjth, m_83301877, func_215895_a, func_215895_a

1.14.3

Names

cpr

cpv

net.minecraft.world.loot.function.EnchantWithLevelsLootFunction

Fields

boolean: c, field_1027, treasure, field_186578_b, isTreasure

boolean: c, field_1027, treasureEnchantmentsAllowed, treasure, field_186578_b, isTreasure

C_31499326: a, field_1026, levels, field_186577_a, randomLevel

LootTableRange: a, field_1026, range, levels, field_186577_a, randomLevel

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

EnchantWithLevelsFunction$C_31090061 (C_31499326): a, method_481, m_83301877, func_215895_a, func_215895_a

EnchantWithLevelsLootFunction$Builder (LootTableRange): a, method_481, builder, m_83301877, func_215895_a, func_215895_a

1.14.2

Names

Fields

boolean: c, field_1027, treasure, field_186578_b, field_186578_b

boolean: c, field_1027, treasure, field_186578_b, isTreasure

C_31499326: a, field_1026, levels, field_186577_a, field_186577_a

C_31499326: a, field_1026, levels, field_186577_a, randomLevel

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

cpp

cpr

Fields

Constructors

Methods

1.14

Names

ccw

cpp

net.minecraft.class_2793

net.minecraft.class_106

Fields

RandomNumberBounds: a, field_13216, levels, field_186577_a, randomLevel

boolean: b, field_13217, treasure, field_186578_b, isTreasure

boolean: c, field_1027, treasure, field_186578_b, field_186578_b

C_31499326: a, field_1026, levels, field_186577_a, field_186577_a

Constructors

(LootItemCondition[], RandomNumberBounds, boolean)

(LootEntityProperty[], C_31499326, boolean)

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

EnchantWithLevelsFunction$C_31090061 (C_31499326): a, method_481, m_83301877, func_215895_a, func_215895_a

1.13.2

Names

ccv

ccw

net.minecraft.unmapped.C_36791730

net.minecraft.class_2793

Fields

RandomNumberBounds: a, f_29535009, levels, field_186577_a

RandomNumberBounds: a, field_13216, levels, field_186577_a, randomLevel

boolean: b, f_72136264, treasure, field_186578_b

boolean: b, field_13217, treasure, field_186578_b, isTreasure

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

ccl

ccv

Fields

Constructors

Methods

1.13

Names

bfy

ccl

net.minecraft.class_2793

net.minecraft.unmapped.C_36791730

Fields

RandomNumberBounds: a, field_13216, levels, field_186577_a, randomLevel

RandomNumberBounds: a, f_29535009, levels, field_186577_a

boolean: b, field_13217, treasure, field_186578_b, isTreasure

boolean: b, f_72136264, treasure, field_186578_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

bfy

net.minecraft.class_2793

net.minecraft.world.gen.loot.functions.EnchantWithLevelsFunction

net.minecraft.world.storage.loot.functions.EnchantWithLevels

net.minecraft.world.storage.loot.functions.EnchantWithLevels

Fields

RandomNumberBounds: a, field_13216, levels, field_186577_a, randomLevel

boolean: b, field_13217, treasure, field_186578_b, isTreasure

Constructors

(LootItemCondition[], RandomNumberBounds, boolean)

Methods

ItemStack (ItemStack, Random, LootContext): a, method_12029, run, func_186553_a, apply