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