public static enum OreFeatureConfig.FillerBlockType extends java.lang.Enum<OreFeatureConfig.FillerBlockType> implements IExtensibleEnum
Enum Constant and Description |
---|
NATURAL_STONE |
NETHERRACK |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private java.util.function.Predicate<BlockState> |
targetBlockPredicate |
private static java.util.Map<java.lang.String,OreFeatureConfig.FillerBlockType> |
VALUES_MAP |
Modifier and Type | Method and Description |
---|---|
static OreFeatureConfig.FillerBlockType |
byName(java.lang.String nameIn) |
static OreFeatureConfig.FillerBlockType |
create(java.lang.String enumName,
java.lang.String nameIn,
java.util.function.Predicate<BlockState> predicateIn) |
java.lang.String |
getName() |
java.util.function.Predicate<BlockState> |
getTargetBlockPredicate() |
void |
init()
Deprecated.
|
static OreFeatureConfig.FillerBlockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OreFeatureConfig.FillerBlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OreFeatureConfig.FillerBlockType NATURAL_STONE
public static final OreFeatureConfig.FillerBlockType NETHERRACK
private static final java.util.Map<java.lang.String,OreFeatureConfig.FillerBlockType> VALUES_MAP
private final java.lang.String name
private final java.util.function.Predicate<BlockState> targetBlockPredicate
public static OreFeatureConfig.FillerBlockType[] values()
for (OreFeatureConfig.FillerBlockType c : OreFeatureConfig.FillerBlockType.values()) System.out.println(c);
public static OreFeatureConfig.FillerBlockType 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 java.lang.String getName()
public static OreFeatureConfig.FillerBlockType byName(java.lang.String nameIn)
public java.util.function.Predicate<BlockState> getTargetBlockPredicate()
public static OreFeatureConfig.FillerBlockType create(java.lang.String enumName, java.lang.String nameIn, java.util.function.Predicate<BlockState> predicateIn)
@Deprecated public void init()
IExtensibleEnum
init
in interface IExtensibleEnum