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

public class CopyNameFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exq
net.minecraft.world.level.storage.loot.functions.CopyNameFunction
net.minecraft.class_101
net.minecraft.unmapped.C_nczwqnwe
net.minecraft.loot.function.CopyNameLootFunction
net.minecraft.loot.function.CopyNameLootFunction
net.minecraft.src.C_2892_
net.minecraft.world.level.storage.loot.functions.CopyCustomDataFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CopyNameFunction>
a
CODEC
field_45817
f_uocbkoni
CODEC
CODEC
f_290480_
private final CopyNameFunction$NameSource
b
source
field_1018
f_perqlghk
source
source
f_80175_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, CopyNameFunction$NameSource source)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<CopyNameFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
m_6231_()
public ItemStack
a(cxo arg0, ewo arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80186_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(exq$a arg0)
copyName(CopyNameFunction$NameSource arg0)
method_473(class_101$class_102 arg0)
m_rekafxcr(C_nczwqnwe$C_ysmhgjrm arg0)
builder(CopyNameLootFunction$Source source)
builder(CopyNameLootFunction$Source source)
m_80187_(C_2892_$C_2894_ p_80188_)