Package net.minecraft.text
Enum Class HoverEvent.Action
- All Implemented Interfaces:
Serializable,Comparable<HoverEvent.Action>,Constable
- Enclosing class:
- HoverEvent
- Mappings:
Namespace Name official fd$aintermediary net/minecraft/class_1984$class_1985named net/minecraft/text/HoverEvent$Action
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<String,HoverEvent.Action> private final Stringprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HoverEvent.ActiongetName()booleanstatic HoverEvent.ActionReturns the enum constant of this class with the specified name.static HoverEvent.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHOW_TEXT
- Mappings:
Namespace Name Mixin selector official aLfd$a;a:Lfd$a;intermediary field_8488Lnet/minecraft/class_1984$class_1985;field_8488:Lnet/minecraft/class_1984$class_1985;named SHOW_TEXTLnet/minecraft/text/HoverEvent$Action;SHOW_TEXT:Lnet/minecraft/text/HoverEvent$Action;
-
SHOW_ACHIEVEMENT
- Mappings:
Namespace Name Mixin selector official bLfd$a;b:Lfd$a;intermediary field_8489Lnet/minecraft/class_1984$class_1985;field_8489:Lnet/minecraft/class_1984$class_1985;named SHOW_ACHIEVEMENTLnet/minecraft/text/HoverEvent$Action;SHOW_ACHIEVEMENT:Lnet/minecraft/text/HoverEvent$Action;
-
SHOW_ITEM
- Mappings:
Namespace Name Mixin selector official cLfd$a;c:Lfd$a;intermediary field_8490Lnet/minecraft/class_1984$class_1985;field_8490:Lnet/minecraft/class_1984$class_1985;named SHOW_ITEMLnet/minecraft/text/HoverEvent$Action;SHOW_ITEM:Lnet/minecraft/text/HoverEvent$Action;
-
SHOW_ENTITY
- Mappings:
Namespace Name Mixin selector official dLfd$a;d:Lfd$a;intermediary field_11571Lnet/minecraft/class_1984$class_1985;field_11571:Lnet/minecraft/class_1984$class_1985;named SHOW_ENTITYLnet/minecraft/text/HoverEvent$Action;SHOW_ENTITY:Lnet/minecraft/text/HoverEvent$Action;
-
-
Field Details
-
ACTIONS
- Mappings:
Namespace Name Mixin selector official eLfd$a;e:Ljava/util/Map;intermediary field_8491Lnet/minecraft/class_1984$class_1985;field_8491:Ljava/util/Map;named ACTIONSLnet/minecraft/text/HoverEvent$Action;ACTIONS:Ljava/util/Map;
-
userDefinable
private final boolean userDefinable- Mappings:
Namespace Name Mixin selector official fLfd$a;f:Zintermediary field_8492Lnet/minecraft/class_1984$class_1985;field_8492:Znamed userDefinableLnet/minecraft/text/HoverEvent$Action;userDefinable:Z
-
name
- Mappings:
Namespace Name Mixin selector official gLfd$a;g:Ljava/lang/String;intermediary field_8493Lnet/minecraft/class_1984$class_1985;field_8493:Ljava/lang/String;named nameLnet/minecraft/text/HoverEvent$Action;name:Ljava/lang/String;
-
-
Constructor Details
-
Action
- Mappings:
Namespace Name Mixin selector official <init>Lfd$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_1984$class_1985;<init>(Ljava/lang/String;ILjava/lang/String;Z)Vnamed <init>Lnet/minecraft/text/HoverEvent$Action;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isUserDefinable
public boolean isUserDefinable()- Mappings:
Namespace Name Mixin selector official aLfd$a;a()Zintermediary method_7482Lnet/minecraft/class_1984$class_1985;method_7482()Znamed isUserDefinableLnet/minecraft/text/HoverEvent$Action;isUserDefinable()Z
-
getName
- Mappings:
Namespace Name Mixin selector official bLfd$a;b()Ljava/lang/String;intermediary method_7484Lnet/minecraft/class_1984$class_1985;method_7484()Ljava/lang/String;named getNameLnet/minecraft/text/HoverEvent$Action;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLfd$a;a(Ljava/lang/String;)Lfd$a;intermediary method_7483Lnet/minecraft/class_1984$class_1985;method_7483(Ljava/lang/String;)Lnet/minecraft/class_1984$class_1985;named byNameLnet/minecraft/text/HoverEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/HoverEvent$Action;
-