Package net.minecraft.util
Enum Class ActionResult
- All Implemented Interfaces:
Serializable,Comparable<ActionResult>,Constable
- Mappings:
Namespace Name official admintermediary net/minecraft/class_2962named net/minecraft/util/ActionResult
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionResultReturns the enum constant of this class with the specified name.static ActionResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
- Mappings:
Namespace Name Mixin selector official aLadm;a:Ladm;intermediary field_14439Lnet/minecraft/class_2962;field_14439:Lnet/minecraft/class_2962;named SUCCESSLnet/minecraft/util/ActionResult;SUCCESS:Lnet/minecraft/util/ActionResult;
-
PASS
- Mappings:
Namespace Name Mixin selector official bLadm;b:Ladm;intermediary field_14440Lnet/minecraft/class_2962;field_14440:Lnet/minecraft/class_2962;named PASSLnet/minecraft/util/ActionResult;PASS:Lnet/minecraft/util/ActionResult;
-
FAIL
- Mappings:
Namespace Name Mixin selector official cLadm;c:Ladm;intermediary field_14441Lnet/minecraft/class_2962;field_14441:Lnet/minecraft/class_2962;named FAILLnet/minecraft/util/ActionResult;FAIL:Lnet/minecraft/util/ActionResult;
-
-
Constructor Details
-
ActionResult
private ActionResult()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-