public static enum AutoPlaceEnvironment.APILevel extends Enum<AutoPlaceEnvironment.APILevel>
AutoPlaceEnvironment has implemented.
Enum constants are defined in chronological order.
| Enum Constant and Description |
|---|
Legacy
|
LegacyRelaxed
|
V2
Implements everything so far we have defined.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoPlaceEnvironment.APILevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoPlaceEnvironment.APILevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoPlaceEnvironment.APILevel Legacy
AutoPlaceEnvironment.getChatter(), AutoPlaceEnvironment.getActor() and AutoPlaceEnvironment.getSource().
AutoPlaceEnvironment.getActor() is guaranteed to be an EntityPlayerMPpublic static final AutoPlaceEnvironment.APILevel LegacyRelaxed
AutoPlaceEnvironment.getChatter(), AutoPlaceEnvironment.getActor() and AutoPlaceEnvironment.getSource().
AutoPlaceEnvironment.getActor() is NOT guaranteed to be an EntityPlayerMPpublic static final AutoPlaceEnvironment.APILevel V2
public static AutoPlaceEnvironment.APILevel[] values()
for (AutoPlaceEnvironment.APILevel c : AutoPlaceEnvironment.APILevel.values()) System.out.println(c);
public static AutoPlaceEnvironment.APILevel 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 null