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

1.21.2

Names

eyx

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

net.minecraft.class_3670

net.minecraft.unmapped.C_wsvkpiky

net.minecraft.loot.function.SetNameLootFunction

net.minecraft.loot.function.SetNameLootFunction

net.minecraft.src.C_2955_

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

Fields

org.slf4j.Logger: b, LOGGER, field_16230, f_cvsxnvmg, LOGGER, LOGGER, f_81122_

com.mojang.serialization.MapCodec<SetNameFunction>: a, CODEC, field_45848, f_rdloarji, CODEC, CODEC, f_291592_

Optional<Component>: c, name, field_16228, f_piwnqeba, name, name, f_81123_

Optional<LootContext$EntityTarget>: d, resolutionContext, field_16229, f_elaedipn, entity, entity, f_81124_

SetNameFunction$Target: e, target, field_50208, f_ltjhbgnq, target, target, f_315028_

Constructors

(List<LootItemCondition>, Optional<Component>, Optional<LootContext$EntityTarget>, SetNameFunction$Target)

Methods

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

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

UnaryOperator<Component> (LootContext, LootContext$EntityTarget): a, createResolver, method_16190, m_sxelynuf, applySourceEntity, applySourceEntity, m_81139_

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

LootItemConditionalFunction$Builder<?> (Component, SetNameFunction$Target): a, setName, method_35549, m_qjkvclgt, builder, m_165459_

LootItemConditionalFunction$Builder<?> (Component, SetNameFunction$Target, LootContext$EntityTarget): a, setName, method_35550, m_auxopsyl, builder, m_165457_