public static enum OilGenStructure.ReplaceType extends java.lang.Enum<OilGenStructure.ReplaceType>
Enum Constant and Description |
---|
ALWAYS |
IS_FOR_LAKE |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canReplace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static OilGenStructure.ReplaceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OilGenStructure.ReplaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OilGenStructure.ReplaceType ALWAYS
public static final OilGenStructure.ReplaceType IS_FOR_LAKE
public static OilGenStructure.ReplaceType[] values()
for (OilGenStructure.ReplaceType c : OilGenStructure.ReplaceType.values()) System.out.println(c);
public static OilGenStructure.ReplaceType 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 abstract boolean canReplace(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)