public enum RayTraceFluidMode extends java.lang.Enum<RayTraceFluidMode>
Enum Constant and Description |
---|
ALWAYS |
NEVER |
SOURCE_ONLY |
Modifier and Type | Field and Description |
---|---|
java.util.function.Predicate<IFluidState> |
predicate |
Modifier and Type | Method and Description |
---|---|
static RayTraceFluidMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RayTraceFluidMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RayTraceFluidMode NEVER
public static final RayTraceFluidMode SOURCE_ONLY
public static final RayTraceFluidMode ALWAYS
public final java.util.function.Predicate<IFluidState> predicate
public static RayTraceFluidMode[] values()
for (RayTraceFluidMode c : RayTraceFluidMode.values()) System.out.println(c);
public static RayTraceFluidMode 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 null