public static enum EntityData.TargetType extends Enum<EntityData.TargetType>
| Modifier and Type | Method and Description |
|---|---|
static EntityData.TargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityData.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityData.TargetType NONE
public static final EntityData.TargetType PLAYER
public static final EntityData.TargetType MOB
public static final EntityData.TargetType BLOCK
public static EntityData.TargetType[] values()
for (EntityData.TargetType c : EntityData.TargetType.values()) System.out.println(c);
public static EntityData.TargetType 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.