Enum ClickEvent.Action

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

public static enum ClickEvent.Action
extends Enum<ClickEvent.Action>
Mappings:
Namespace Name
official et$a
intermediary net/minecraft/class_1442$class_1443
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 Let$a;a:Let$a;
      intermediary field_5999 Lnet/minecraft/class_1442$class_1443;field_5999:Lnet/minecraft/class_1442$class_1443;
      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 Let$a;b:Let$a;
      intermediary field_6000 Lnet/minecraft/class_1442$class_1443;field_6000:Lnet/minecraft/class_1442$class_1443;
      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 Let$a;c:Let$a;
      intermediary field_6001 Lnet/minecraft/class_1442$class_1443;field_6001:Lnet/minecraft/class_1442$class_1443;
      named RUN_COMMAND Lnet/minecraft/text/ClickEvent$Action;RUN_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
    • TWITCH_USER_INFO

      public static final ClickEvent.Action TWITCH_USER_INFO
      Mappings:
      Namespace Name Mixin selector
      official d Let$a;d:Let$a;
      intermediary field_6002 Lnet/minecraft/class_1442$class_1443;field_6002:Lnet/minecraft/class_1442$class_1443;
      named TWITCH_USER_INFO Lnet/minecraft/text/ClickEvent$Action;TWITCH_USER_INFO:Lnet/minecraft/text/ClickEvent$Action;
    • SUGGEST_COMMAND

      public static final ClickEvent.Action SUGGEST_COMMAND
      Mappings:
      Namespace Name Mixin selector
      official e Let$a;e:Let$a;
      intermediary field_6003 Lnet/minecraft/class_1442$class_1443;field_6003:Lnet/minecraft/class_1442$class_1443;
      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 f Let$a;f:Let$a;
      intermediary field_6004 Lnet/minecraft/class_1442$class_1443;field_6004:Lnet/minecraft/class_1442$class_1443;
      named CHANGE_PAGE Lnet/minecraft/text/ClickEvent$Action;CHANGE_PAGE:Lnet/minecraft/text/ClickEvent$Action;
  • Field Details

    • ACTIONS

      private static final Map<String,​ClickEvent.Action> ACTIONS
      Mappings:
      Namespace Name Mixin selector
      official g Let$a;g:Ljava/util/Map;
      intermediary field_6005 Lnet/minecraft/class_1442$class_1443;field_6005:Ljava/util/Map;
      named ACTIONS Lnet/minecraft/text/ClickEvent$Action;ACTIONS:Ljava/util/Map;
    • userDefinable

      private final boolean userDefinable
      Mappings:
      Namespace Name Mixin selector
      official h Let$a;h:Z
      intermediary field_6006 Lnet/minecraft/class_1442$class_1443;field_6006:Z
      named userDefinable Lnet/minecraft/text/ClickEvent$Action;userDefinable:Z
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Let$a;i:Ljava/lang/String;
      intermediary field_6007 Lnet/minecraft/class_1442$class_1443;field_6007: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> Let$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_1442$class_1443;<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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ClickEvent.Action valueOf​(String name)
      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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isUserDefinable

      public boolean isUserDefinable()
      Mappings:
      Namespace Name Mixin selector
      official a Let$a;a()Z
      intermediary method_5155 Lnet/minecraft/class_1442$class_1443;method_5155()Z
      named isUserDefinable Lnet/minecraft/text/ClickEvent$Action;isUserDefinable()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Let$a;b()Ljava/lang/String;
      intermediary method_5157 Lnet/minecraft/class_1442$class_1443;method_5157()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 Let$a;a(Ljava/lang/String;)Let$a;
      intermediary method_5156 Lnet/minecraft/class_1442$class_1443;method_5156(Ljava/lang/String;)Lnet/minecraft/class_1442$class_1443;
      named byName Lnet/minecraft/text/ClickEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/ClickEvent$Action;