public static enum EntityData.SourceType extends Enum<EntityData.SourceType>
| Enum Constant and Description |
|---|
BLOCK |
CONSOLE |
MOB |
OPPED_PLAYER |
PLAYER |
| Modifier and Type | Method and Description |
|---|---|
static EntityData.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityData.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityData.SourceType PLAYER
public static final EntityData.SourceType MOB
public static final EntityData.SourceType CONSOLE
public static final EntityData.SourceType OPPED_PLAYER
public static final EntityData.SourceType BLOCK
public static EntityData.SourceType[] values()
for (EntityData.SourceType c : EntityData.SourceType.values()) System.out.println(c);
public static EntityData.SourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 elMakers. All rights reserved.