net.minecraft.world.item.enchantment

public enum EnchantmentTarget

implements StringRepresentable

dde
net.minecraft.world.item.enchantment.EnchantmentTarget
net.minecraft.class_9703
net.minecraft.enchantment.effect.EnchantmentEffectTarget
net.minecraft.world.item.enchantment.EnchantmentTarget

Enum constant summary

Enum Constant
a
ATTACKER
field_51683
ATTACKER
b
DAMAGING_ENTITY
field_51684
DAMAGING_ENTITY
c
VICTIM
field_51685
VICTIM

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<EnchantmentTarget>
d
CODEC
field_51686
CODEC
private final String
e
id
field_51687
id

Constructor summary

ModifierConstructor
private (String arg0)

Method summary

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