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