Enum HoverEvent.Action

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

public static enum HoverEvent.Action
extends Enum<HoverEvent.Action>
Mappings:
Namespace Name
official ew$a
intermediary net/minecraft/class_1447$class_1448
named net/minecraft/text/HoverEvent$Action
  • Enum Constant Details

    • SHOW_TEXT

      public static final HoverEvent.Action SHOW_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lew$a;a:Lew$a;
      intermediary field_6012 Lnet/minecraft/class_1447$class_1448;field_6012:Lnet/minecraft/class_1447$class_1448;
      named SHOW_TEXT Lnet/minecraft/text/HoverEvent$Action;SHOW_TEXT:Lnet/minecraft/text/HoverEvent$Action;
    • SHOW_ACHIEVEMENT

      public static final HoverEvent.Action SHOW_ACHIEVEMENT
      Mappings:
      Namespace Name Mixin selector
      official b Lew$a;b:Lew$a;
      intermediary field_6013 Lnet/minecraft/class_1447$class_1448;field_6013:Lnet/minecraft/class_1447$class_1448;
      named SHOW_ACHIEVEMENT Lnet/minecraft/text/HoverEvent$Action;SHOW_ACHIEVEMENT:Lnet/minecraft/text/HoverEvent$Action;
    • SHOW_ITEM

      public static final HoverEvent.Action SHOW_ITEM
      Mappings:
      Namespace Name Mixin selector
      official c Lew$a;c:Lew$a;
      intermediary field_6014 Lnet/minecraft/class_1447$class_1448;field_6014:Lnet/minecraft/class_1447$class_1448;
      named SHOW_ITEM Lnet/minecraft/text/HoverEvent$Action;SHOW_ITEM:Lnet/minecraft/text/HoverEvent$Action;
    • SHOW_ENTITY

      public static final HoverEvent.Action SHOW_ENTITY
      Mappings:
      Namespace Name Mixin selector
      official d Lew$a;d:Lew$a;
      intermediary field_6015 Lnet/minecraft/class_1447$class_1448;field_6015:Lnet/minecraft/class_1447$class_1448;
      named SHOW_ENTITY Lnet/minecraft/text/HoverEvent$Action;SHOW_ENTITY:Lnet/minecraft/text/HoverEvent$Action;
  • Field Details

    • ACTIONS

      private static final Map<String,​HoverEvent.Action> ACTIONS
      Mappings:
      Namespace Name Mixin selector
      official e Lew$a;e:Ljava/util/Map;
      intermediary field_6016 Lnet/minecraft/class_1447$class_1448;field_6016:Ljava/util/Map;
      named ACTIONS Lnet/minecraft/text/HoverEvent$Action;ACTIONS:Ljava/util/Map;
    • userDefinable

      private final boolean userDefinable
      Mappings:
      Namespace Name Mixin selector
      official f Lew$a;f:Z
      intermediary field_6017 Lnet/minecraft/class_1447$class_1448;field_6017:Z
      named userDefinable Lnet/minecraft/text/HoverEvent$Action;userDefinable:Z
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official g Lew$a;g:Ljava/lang/String;
      intermediary field_6018 Lnet/minecraft/class_1447$class_1448;field_6018:Ljava/lang/String;
      named name Lnet/minecraft/text/HoverEvent$Action;name:Ljava/lang/String;
  • Constructor Details

    • Action

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

    • values

      public static HoverEvent.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 HoverEvent.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 Lew$a;a()Z
      intermediary method_5175 Lnet/minecraft/class_1447$class_1448;method_5175()Z
      named isUserDefinable Lnet/minecraft/text/HoverEvent$Action;isUserDefinable()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lew$a;b()Ljava/lang/String;
      intermediary method_5177 Lnet/minecraft/class_1447$class_1448;method_5177()Ljava/lang/String;
      named getName Lnet/minecraft/text/HoverEvent$Action;getName()Ljava/lang/String;
    • byName

      public static HoverEvent.Action byName​(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lew$a;a(Ljava/lang/String;)Lew$a;
      intermediary method_5176 Lnet/minecraft/class_1447$class_1448;method_5176(Ljava/lang/String;)Lnet/minecraft/class_1447$class_1448;
      named byName Lnet/minecraft/text/HoverEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/HoverEvent$Action;