public static enum LootContext.EntityTarget extends java.lang.Enum<LootContext.EntityTarget>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
LootContext.EntityTarget.Serializer  | 
| Enum Constant and Description | 
|---|
KILLER  | 
KILLER_PLAYER  | 
THIS  | 
| Modifier and Type | Method and Description | 
|---|---|
static LootContext.EntityTarget | 
fromString(java.lang.String type)  | 
static LootContext.EntityTarget | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static LootContext.EntityTarget[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final LootContext.EntityTarget THIS
public static final LootContext.EntityTarget KILLER
public static final LootContext.EntityTarget KILLER_PLAYER
public static LootContext.EntityTarget[] values()
for (LootContext.EntityTarget c : LootContext.EntityTarget.values()) System.out.println(c);
public static LootContext.EntityTarget valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static LootContext.EntityTarget fromString(java.lang.String type)