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

public enum CopyNameFunction$NameSource

implements StringRepresentable

exr$a
net.minecraft.world.level.storage.loot.functions.CopyNameFunction$NameSource
net.minecraft.class_101$class_102
net.minecraft.loot.function.CopyNameLootFunction$Source
net.minecraft.world.level.storage.loot.functions.LootItemFunctionCopyName$Source

Enum constant summary

Enum Constant
a
THIS
field_1022
THIS
b
ATTACKING_ENTITY
field_51790
ATTACKING_ENTITY
c
LAST_DAMAGE_PLAYER
field_51791
LAST_DAMAGE_PLAYER
d
BLOCK_ENTITY
field_1023
BLOCK_ENTITY

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<CopyNameFunction$NameSource>
e
CODEC
field_45818
CODEC
private final String
f
name
field_1025
name
final ContextKey<?>
g
param
field_1024
parameter

Constructor summary

ModifierConstructor
private (String arg0, ContextKey<?> arg1)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()