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

1.21.3

Names

ets

eyq

Fields

Map<Holder<Enchantment>, NumberProvider>: b, enchantments, field_27907, enchantments, f_165334_

Map<Holder<Enchantment>, NumberProvider>: b, enchantments, field_27907, enchantments

boolean: c, add, field_27908, add, f_165335_

boolean: c, add, field_27908, add

com.mojang.serialization.MapCodec<SetEnchantmentsFunction>: a, CODEC, field_45843, CODEC, f_290423_

com.mojang.serialization.MapCodec<SetEnchantmentsFunction>: a, CODEC, field_45843, CODEC

Constructors

Methods

LootItemFunctionType<SetEnchantmentsFunction> (): b, getType, method_29321, getType, m_7162_

LootItemFunctionType<SetEnchantmentsFunction> (): b, getType, method_29321, getType

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

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

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

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

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

esl

ets

Fields

Constructors

Methods

1.20.6

Names

eis

esl

Fields

com.mojang.serialization.Codec<SetEnchantmentsFunction>: a, CODEC, field_45843, CODEC, f_290423_

com.mojang.serialization.MapCodec<SetEnchantmentsFunction>: a, CODEC, field_45843, CODEC, f_290423_

Constructors

Methods

void (Map<Enchantment, Integer>, Enchantment, int): a, updateEnchantment, method_32411, addEnchantmentToMap, m_165355_

1.20.4

Names

eem

eis

Fields

Constructors

Methods

1.20.2

Names

ebh

eem

Fields

Map<Enchantment, NumberProvider>: a, enchantments, field_27907, enchantments, f_165334_

Map<Holder<Enchantment>, NumberProvider>: b, enchantments, field_27907, enchantments, f_165334_

boolean: b, add, field_27908, add, f_165335_

boolean: c, add, field_27908, add, f_165335_

com.mojang.serialization.Codec<SetEnchantmentsFunction>: a, CODEC, field_45843, CODEC, f_290423_

Constructors

(LootItemCondition[], Map<Enchantment, NumberProvider>, boolean)

(List<LootItemCondition>, Map<Holder<Enchantment>, NumberProvider>, boolean)

Methods

1.20.1

Names

eak

ebh

Fields

Constructors

Methods

LootItemFunctionType (): a, getType, method_29321, getType, m_7162_

LootItemFunctionType (): b, getType, method_29321, getType, m_7162_

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

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

1.19.4

Names

dxk

eak

Fields

Constructors

Methods

1.19.3

Names

dtw

dxk

Fields

Constructors

Methods

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

dsz

dtw

Fields

Constructors

Methods

1.19

Names

dmv

dsz

Fields

Constructors

Methods

1.18.2

Names

dlt

dmv

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

dki

dlt

Fields

Constructors

Methods

1.17.1

Names

Fields

Constructors

Methods

1.17

Names

dki

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

net.minecraft.class_5642

net.minecraft.loot.function.SetEnchantmentsLootFunction

net.minecraft.src.C_141470_

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

Fields

Map<Enchantment, NumberProvider>: a, enchantments, field_27907, enchantments, f_165334_

boolean: b, add, field_27908, add, f_165335_

Constructors

(LootItemCondition[], Map<Enchantment, NumberProvider>, boolean)

Methods

LootItemFunctionType (): a, getType, method_29321, getType, m_7162_

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

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

void (Map<Enchantment, Integer>, Enchantment, int): a, updateEnchantment, method_32411, addEnchantmentToMap, m_165355_