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

public class CopyNameFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

exr
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.LootItemFunctionCopyName

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(cxp arg0, ewp 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(exr$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_)