public static enum Datapack.Compatibility extends Enum<Datapack.Compatibility>
Enum Constant and Description |
---|
COMPATIBLE |
TOO_NEW |
TOO_OLD |
Modifier and Type | Method and Description |
---|---|
static Datapack.Compatibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Datapack.Compatibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Datapack.Compatibility TOO_OLD
public static final Datapack.Compatibility TOO_NEW
public static final Datapack.Compatibility COMPATIBLE
public static Datapack.Compatibility[] values()
for (Datapack.Compatibility c : Datapack.Compatibility.values()) System.out.println(c);
public static Datapack.Compatibility 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 © 2021. All rights reserved.