Enum Class HoverEvent.Action

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

public static enum HoverEvent.Action extends Enum<HoverEvent.Action>
Mappings:
Namespace Name
official ey$a
intermediary net/minecraft/class_1984$class_1985
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 Ley$a;a:Ley$a;
      intermediary field_8488 Lnet/minecraft/class_1984$class_1985;field_8488:Lnet/minecraft/class_1984$class_1985;
      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 Ley$a;b:Ley$a;
      intermediary field_8489 Lnet/minecraft/class_1984$class_1985;field_8489:Lnet/minecraft/class_1984$class_1985;
      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 Ley$a;c:Ley$a;
      intermediary field_8490 Lnet/minecraft/class_1984$class_1985;field_8490:Lnet/minecraft/class_1984$class_1985;
      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 Ley$a;d:Ley$a;
      intermediary field_11571 Lnet/minecraft/class_1984$class_1985;field_11571:Lnet/minecraft/class_1984$class_1985;
      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 Ley$a;e:Ljava/util/Map;
      intermediary field_8491 Lnet/minecraft/class_1984$class_1985;field_8491: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 Ley$a;f:Z
      intermediary field_8492 Lnet/minecraft/class_1984$class_1985;field_8492:Z
      named userDefinable Lnet/minecraft/text/HoverEvent$Action;userDefinable:Z
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official g Ley$a;g:Ljava/lang/String;
      intermediary field_8493 Lnet/minecraft/class_1984$class_1985;field_8493: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> Ley$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_1984$class_1985;<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 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 HoverEvent.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 Ley$a;a()Z
      intermediary method_7482 Lnet/minecraft/class_1984$class_1985;method_7482()Z
      named isUserDefinable Lnet/minecraft/text/HoverEvent$Action;isUserDefinable()Z
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ley$a;b()Ljava/lang/String;
      intermediary method_7484 Lnet/minecraft/class_1984$class_1985;method_7484()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 Ley$a;a(Ljava/lang/String;)Ley$a;
      intermediary method_7483 Lnet/minecraft/class_1984$class_1985;method_7483(Ljava/lang/String;)Lnet/minecraft/class_1984$class_1985;
      named byName Lnet/minecraft/text/HoverEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/HoverEvent$Action;