Enum CircuitState
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
,net.minecraft.util.StringRepresentable
public enum CircuitState extends Enum<CircuitState> implements StringRepresentable
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<CircuitState>
entries
-
Constructor Summary
Constructors Constructor Description CircuitState()
-
Enum Constant Summary
Enum Constants Enum Constant Description BASE
STALK
STARE
MINESHAFT_FLEE
MINESHAFT_STARE
MINESHAFT_WALK
PIG
CREEPER
-
Method Summary
Modifier and Type Method Description String
getSerializedName()
final CircuitState
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<CircuitState>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<CircuitState>
getEntries()
-
-
Method Detail
-
getSerializedName
String getSerializedName()
-
valueOf
final CircuitState valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<CircuitState> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<CircuitState> getEntries()
-
-
-
-