Enum Class ClickEvent.Action

java.lang.Object
java.lang.Enum<ClickEvent.Action>
net.minecraft.text.ClickEvent.Action
All Implemented Interfaces:
Serializable, Comparable<ClickEvent.Action>, Constable
Enclosing class:
ClickEvent

public static enum ClickEvent.Action extends Enum<ClickEvent.Action>
Mappings:
Namespace Name
official ii$a
intermediary net/minecraft/class_1980$class_1981
named net/minecraft/text/ClickEvent$Action
  • Enum Constant Details

    • OPEN_URL

      public static final ClickEvent.Action OPEN_URL
      Mappings:
      Namespace Name Mixin selector
      official a Lii$a;a:Lii$a;
      intermediary field_8476 Lnet/minecraft/class_1980$class_1981;field_8476:Lnet/minecraft/class_1980$class_1981;
      named OPEN_URL Lnet/minecraft/text/ClickEvent$Action;OPEN_URL:Lnet/minecraft/text/ClickEvent$Action;
    • OPEN_FILE

      public static final ClickEvent.Action OPEN_FILE
      Mappings:
      Namespace Name Mixin selector
      official b Lii$a;b:Lii$a;
      intermediary field_8477 Lnet/minecraft/class_1980$class_1981;field_8477:Lnet/minecraft/class_1980$class_1981;
      named OPEN_FILE Lnet/minecraft/text/ClickEvent$Action;OPEN_FILE:Lnet/minecraft/text/ClickEvent$Action;
    • RUN_COMMAND

      public static final ClickEvent.Action RUN_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official c Lii$a;c:Lii$a;
      intermediary field_8478 Lnet/minecraft/class_1980$class_1981;field_8478:Lnet/minecraft/class_1980$class_1981;
      named RUN_COMMAND Lnet/minecraft/text/ClickEvent$Action;RUN_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
    • SUGGEST_COMMAND

      public static final ClickEvent.Action SUGGEST_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official d Lii$a;d:Lii$a;
      intermediary field_8480 Lnet/minecraft/class_1980$class_1981;field_8480:Lnet/minecraft/class_1980$class_1981;
      named SUGGEST_COMMAND Lnet/minecraft/text/ClickEvent$Action;SUGGEST_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
    • CHANGE_PAGE

      public static final ClickEvent.Action CHANGE_PAGE
      Mappings:
      Namespace Name Mixin selector
      official e Lii$a;e:Lii$a;
      intermediary field_11570 Lnet/minecraft/class_1980$class_1981;field_11570:Lnet/minecraft/class_1980$class_1981;
      named CHANGE_PAGE Lnet/minecraft/text/ClickEvent$Action;CHANGE_PAGE:Lnet/minecraft/text/ClickEvent$Action;
  • Field Details

    • field_21509

      private static final Map<String,ClickEvent.Action> field_21509
      Mappings:
      Namespace Name Mixin selector
      official f Lii$a;f:Ljava/util/Map;
      intermediary field_21509 Lnet/minecraft/class_1980$class_1981;field_21509:Ljava/util/Map;
      named field_21509 Lnet/minecraft/text/ClickEvent$Action;field_21509:Ljava/util/Map;
    • userDefinable

      private final boolean userDefinable
      Mappings:
      Namespace Name Mixin selector
      official g Lii$a;g:Z
      intermediary field_8482 Lnet/minecraft/class_1980$class_1981;field_8482:Z
      named userDefinable Lnet/minecraft/text/ClickEvent$Action;userDefinable:Z
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official h Lii$a;h:Ljava/lang/String;
      intermediary field_8483 Lnet/minecraft/class_1980$class_1981;field_8483:Ljava/lang/String;
      named name Lnet/minecraft/text/ClickEvent$Action;name:Ljava/lang/String;
  • Constructor Details

    • Action

      private Action(String name, boolean userDefinable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lii$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_1980$class_1981;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
      named <init> Lnet/minecraft/text/ClickEvent$Action;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
  • Method Details

    • values

      public static ClickEvent.Action[] 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 ClickEvent.Action 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
    • isUserDefinable

      public boolean isUserDefinable()
      Mappings:
      Namespace Name Mixin selector
      official a Lii$a;a()Z
      intermediary method_7463 Lnet/minecraft/class_1980$class_1981;method_7463()Z
      named isUserDefinable Lnet/minecraft/text/ClickEvent$Action;isUserDefinable()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lii$a;b()Ljava/lang/String;
      intermediary method_7465 Lnet/minecraft/class_1980$class_1981;method_7465()Ljava/lang/String;
      named getName Lnet/minecraft/text/ClickEvent$Action;getName()Ljava/lang/String;
    • byName

      public static ClickEvent.Action byName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lii$a;a(Ljava/lang/String;)Lii$a;
      intermediary method_7464 Lnet/minecraft/class_1980$class_1981;method_7464(Ljava/lang/String;)Lnet/minecraft/class_1980$class_1981;
      named byName Lnet/minecraft/text/ClickEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/ClickEvent$Action;