Package net.minecraft.text
Enum Class HoverEvent.Action
- All Implemented Interfaces:
Serializable,Comparable<HoverEvent.Action>,Constable
- Enclosing class:
- HoverEvent
- Mappings:
Namespace Name official il$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 aLil$a;a:Lil$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_ITEM
- Mappings:
Namespace Name Mixin selector official bLil$a;b:Lil$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 cLil$a;c:Lil$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
-
field_21514
- Mappings:
Namespace Name Mixin selector official dLil$a;d:Ljava/util/Map;intermediary field_21514Lnet/minecraft/class_1984$class_1985;field_21514:Ljava/util/Map;named field_21514Lnet/minecraft/text/HoverEvent$Action;field_21514:Ljava/util/Map;
-
userDefinable
private final boolean userDefinable- Mappings:
Namespace Name Mixin selector official eLil$a;e: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 fLil$a;f: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>Lil$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 aLil$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 bLil$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 aLil$a;a(Ljava/lang/String;)Lil$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;
-