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

public class CopyNameFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ehz
net.minecraft.world.level.storage.loot.functions.CopyNameFunction
net.minecraft.class_101
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.Codec<CopyNameFunction>
a
CODEC
field_45817
CODEC
f_290480_
private final CopyNameFunction$NameSource
b
source
field_1018
source
f_80175_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public ItemStack
a(cmy arg0, egw arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80186_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(ehz$a arg0)
copyName(CopyNameFunction$NameSource arg0)
method_473(class_101$class_102 arg0)
builder(CopyNameLootFunction$Source source)
m_80187_(C_2892_$C_2894_ p_80188_)