Enum Class ActionResult

java.lang.Object
java.lang.Enum<ActionResult>
net.minecraft.util.ActionResult
All Implemented Interfaces:
Serializable, Comparable<ActionResult>, Constable

public enum ActionResult extends Enum<ActionResult>
Mappings:
Namespace Name
official rk
intermediary net/minecraft/class_2962
named net/minecraft/util/ActionResult
  • Enum Constant Details

    • SUCCESS

      public static final ActionResult SUCCESS
      Mappings:
      Namespace Name Mixin selector
      official a Lrk;a:Lrk;
      intermediary field_14439 Lnet/minecraft/class_2962;field_14439:Lnet/minecraft/class_2962;
      named SUCCESS Lnet/minecraft/util/ActionResult;SUCCESS:Lnet/minecraft/util/ActionResult;
    • PASS

      public static final ActionResult PASS
      Mappings:
      Namespace Name Mixin selector
      official b Lrk;b:Lrk;
      intermediary field_14440 Lnet/minecraft/class_2962;field_14440:Lnet/minecraft/class_2962;
      named PASS Lnet/minecraft/util/ActionResult;PASS:Lnet/minecraft/util/ActionResult;
    • FAIL

      public static final ActionResult FAIL
      Mappings:
      Namespace Name Mixin selector
      official c Lrk;c:Lrk;
      intermediary field_14441 Lnet/minecraft/class_2962;field_14441:Lnet/minecraft/class_2962;
      named FAIL Lnet/minecraft/util/ActionResult;FAIL:Lnet/minecraft/util/ActionResult;
  • Constructor Details

    • ActionResult

      private ActionResult()
  • Method Details

    • values

      public static ActionResult[] 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

      public static ActionResult valueOf(String name)
      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 name
      NullPointerException - if the argument is null