public static enum BlockRay.RaySearch extends Enum<BlockRay.RaySearch>
Enum Constant and Description |
---|
POSITION |
TYPE_NOT_AIR |
TYPE_SPECIFIC |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(BlockRayBuilder builder) |
static BlockRay.RaySearch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockRay.RaySearch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockRay.RaySearch POSITION
public static final BlockRay.RaySearch TYPE_SPECIFIC
public static final BlockRay.RaySearch TYPE_NOT_AIR
public static BlockRay.RaySearch[] values()
for (BlockRay.RaySearch c : BlockRay.RaySearch.values()) System.out.println(c);
public static BlockRay.RaySearch 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 nullpublic boolean isValid(BlockRayBuilder builder)