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