Package me.iron.WarpSpace.Mod.HUD.client
Enum WarpProcessController.WarpProcess
java.lang.Object
java.lang.Enum<WarpProcessController.WarpProcess>
me.iron.WarpSpace.Mod.HUD.client.WarpProcessController.WarpProcess
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WarpProcessController.WarpProcess>,java.lang.constant.Constable
- Enclosing class:
- WarpProcessController
public static enum WarpProcessController.WarpProcess extends java.lang.Enum<WarpProcessController.WarpProcess>
enum containing available processes that can happen to a player like jumping to warp
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description JUMPDROPJUMPENTRYJUMPEXITJUMPPULLPARTNER_NOENTRYPARTNER_NOEXITRSPSECTORBLOCKEDSECTOR_NOENTRYSECTOR_NOEXITTRAVELWARPSECTORBLOCKED -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateWarpProcess(int value) -
Method Summary
Modifier and Type Method Description intgetValue()static WarpProcessController.WarpProcessvalueOf(int k)Returns the enum constant of this type with the specified name.static WarpProcessController.WarpProcessvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WarpProcessController.WarpProcess[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Field Details
-
Constructor Details
-
WarpProcess
private WarpProcess(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
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.)- Parameters:
k- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-