net.minecraft.world.level.storage.loot

public enum LootContext$EntityTarget

implements StringRepresentable

err$b
net.minecraft.world.level.storage.loot.LootContext$EntityTarget
net.minecraft.class_47$class_50
net.minecraft.loot.context.LootContext$EntityTarget
net.minecraft.src.C_2811_$C_2815_
net.minecraft.world.level.storage.loot.LootTableInfo$EntityTarget

Enum constant summary

Enum Constant
a
THIS
field_935
THIS
THIS
b
ATTACKER
field_936
ATTACKER
ATTACKER
c
DIRECT_ATTACKER
field_939
DIRECT_ATTACKER
DIRECT_ATTACKER
d
ATTACKING_PLAYER
field_937
ATTACKING_PLAYER
ATTACKING_PLAYER

Field summary

Modifier and TypeField
public static final StringRepresentable$EnumCodec<LootContext$EntityTarget>
e
CODEC
field_45792
CODEC
f_291271_
private final String
f
name
field_941
type
f_78994_
private final LootContextParam<? extends Entity>
g
param
field_938
parameter
f_78995_

Constructor summary

ModifierConstructor
private (String p_79000_, LootContextParam<? extends Entity> p_79001_)

Method summary

Modifier and TypeMethod
public LootContextParam<? extends Entity>
a()
getParam()
method_315()
getParameter()
m_79003_()
public static LootContext$EntityTarget
a(String arg0)
getByName(String arg0)
method_314(String arg0)
fromString(String type)
m_79006_(String p_79007_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()