net.minecraft.world.level.storage.loot

public enum LootContext$EntityTarget

implements StringRepresentable

ewp$b
net.minecraft.world.level.storage.loot.LootContext$EntityTarget
net.minecraft.class_47$class_50
net.minecraft.loot.context.LootContext$EntityTarget
net.minecraft.world.level.storage.loot.LootTableInfo$EntityTarget

Enum constant summary

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

Field summary

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

Constructor summary

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

Method summary

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