public enum EntityType extends Enum<EntityType>
| Enum Constant and Description |
|---|
ALL |
ARROWS
Deprecated.
|
BOATS |
FALLING_BLOCKS |
ITEM_FRAMES |
ITEMS |
MINECARTS |
PAINTINGS |
PROJECTILES |
TNT |
XP_ORBS |
| Modifier and Type | Method and Description |
|---|---|
static EntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityType ALL
@Deprecated public static final EntityType ARROWS
public static final EntityType PROJECTILES
public static final EntityType ITEMS
public static final EntityType FALLING_BLOCKS
public static final EntityType PAINTINGS
public static final EntityType ITEM_FRAMES
public static final EntityType BOATS
public static final EntityType MINECARTS
public static final EntityType TNT
public static final EntityType XP_ORBS
public static EntityType[] values()
for (EntityType c : EntityType.values()) System.out.println(c);
public static EntityType 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 © 2010-2014. All Rights Reserved.