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