public static enum CopyNbt.Source extends java.lang.Enum<CopyNbt.Source>
| Enum Constant and Description | 
|---|
BLOCK_ENTITY  | 
KILLER  | 
KILLER_PLAYER  | 
THIS  | 
| Modifier and Type | Field and Description | 
|---|---|
java.util.function.Function<LootContext,INBT> | 
field_216226_g  | 
LootParameter<?> | 
lootParam  | 
java.lang.String | 
sourceName  | 
| Modifier and Type | Method and Description | 
|---|---|
static CopyNbt.Source | 
getByName(java.lang.String p_216223_0_)  | 
static CopyNbt.Source | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static CopyNbt.Source[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final CopyNbt.Source THIS
public static final CopyNbt.Source KILLER
public static final CopyNbt.Source KILLER_PLAYER
public static final CopyNbt.Source BLOCK_ENTITY
public final java.lang.String sourceName
public final LootParameter<?> lootParam
public final java.util.function.Function<LootContext,INBT> field_216226_g
public static CopyNbt.Source[] values()
for (CopyNbt.Source c : CopyNbt.Source.values()) System.out.println(c);
public static CopyNbt.Source 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 CopyNbt.Source getByName(java.lang.String p_216223_0_)