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

public enum CopyNameFunction$NameSource

implements StringRepresentable

est$a
net.minecraft.world.level.storage.loot.functions.CopyNameFunction$NameSource
net.minecraft.class_101$class_102
net.minecraft.loot.function.CopyNameLootFunction$Source
net.minecraft.src.C_2892_$C_2894_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionCopyName$Source

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (String p_80205_, LootContextParam<?> p_80206_)

Method summary

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