public static enum EntityRemover.Type extends java.lang.Enum<EntityRemover.Type>
Enum Constant and Description |
---|
ALL |
BOATS |
FALLING_BLOCKS |
ITEM_FRAMES |
ITEMS |
MINECARTS |
PAINTINGS |
PROJECTILES |
TNT |
XP_ORBS |
Modifier and Type | Method and Description |
---|---|
static EntityRemover.Type |
findByPattern(java.lang.String str) |
boolean |
matches(java.lang.String str) |
static EntityRemover.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityRemover.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityRemover.Type ALL
public static final EntityRemover.Type PROJECTILES
public static final EntityRemover.Type ITEMS
public static final EntityRemover.Type FALLING_BLOCKS
public static final EntityRemover.Type PAINTINGS
public static final EntityRemover.Type ITEM_FRAMES
public static final EntityRemover.Type BOATS
public static final EntityRemover.Type MINECARTS
public static final EntityRemover.Type TNT
public static final EntityRemover.Type XP_ORBS
public static EntityRemover.Type[] values()
for (EntityRemover.Type c : EntityRemover.Type.values()) System.out.println(c);
public static EntityRemover.Type 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 boolean matches(java.lang.String str)
@Nullable public static EntityRemover.Type findByPattern(java.lang.String str)