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

public enum SetNameFunction$Target

implements StringRepresentable

eyy$a
net.minecraft.world.level.storage.loot.functions.SetNameFunction$Target
net.minecraft.class_3670$class_9475
net.minecraft.loot.function.SetNameLootFunction$Target
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetName$a

Enum constant summary

Enum Constant
a
CUSTOM_NAME
field_50210
CUSTOM_NAME
b
ITEM_NAME
field_50211
ITEM_NAME

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetNameFunction$Target>
c
CODEC
field_50212
CODEC
private final String
d
name
field_50213
id

Constructor summary

ModifierConstructor
private (String arg0)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
public DataComponentType<Component>
a()
component()
method_58734()
getComponentType()