Serializable
, Comparable<TargetBlockInfo.FluidMode>
public static enum TargetBlockInfo.FluidMode extends Enum<TargetBlockInfo.FluidMode>
Enum Constant | Description |
---|---|
ALWAYS |
|
NEVER |
|
SOURCE_ONLY |
Modifier and Type | Method | Description |
---|---|---|
static TargetBlockInfo.FluidMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TargetBlockInfo.FluidMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetBlockInfo.FluidMode NEVER
public static final TargetBlockInfo.FluidMode SOURCE_ONLY
public static final TargetBlockInfo.FluidMode ALWAYS
public static TargetBlockInfo.FluidMode[] values()
for (TargetBlockInfo.FluidMode c : TargetBlockInfo.FluidMode.values()) System.out.println(c);
public static TargetBlockInfo.FluidMode 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 nullCopyright © 2020. All rights reserved.