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