net.minecraft.world.level.storage.loot

public enum LootContext$EntityTarget

implements StringRepresentable, LootContextArg$SimpleGetter<Entity>

fnz$c
net.minecraft.world.level.storage.loot.LootContext$EntityTarget
net.minecraft.class_47$class_50
net.minecraft.loot.context.LootContext$EntityReference
net.minecraft.src.C_2811_$C_2815_
net.minecraft.world.level.storage.loot.LootTableInfo$EntityTarget

枚举常量概要

枚举常量
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
e
TARGET_ENTITY
field_61495
TARGET_ENTITY
TARGET_ENTITY
f
INTERACTING_ENTITY
field_61496
INTERACTING_ENTITY
INTERACTING_ENTITY

字段概要

修饰符与类型字段
public static final StringRepresentable$EnumCodec<LootContext$EntityTarget>
g
CODEC
field_45792
CODEC
f_291271_
private final String
i
name
field_941
type
f_78994_
private final ContextKey<? extends Entity>
j
param
field_938
parameter
f_78995_

构造函数概要

修饰符构造函数
private (String p_79000_, ContextKey<? extends Entity> p_79001_)

方法概要

修饰符与类型方法
public ContextKey<? extends Entity>
a()
contextParam()
comp_4920()
contextParam()
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_()