Package net.minecraft.text
Enum Class ClickEvent.Action
- All Implemented Interfaces:
Serializable,Comparable<ClickEvent.Action>,Constable
- Enclosing class:
- ClickEvent
- Mappings:
Namespace Name official ev$aintermediary net/minecraft/class_1980$class_1981named net/minecraft/text/ClickEvent$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,ClickEvent.Action> private final Stringprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClickEvent.ActiongetName()booleanstatic ClickEvent.ActionReturns the enum constant of this class with the specified name.static ClickEvent.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN_URL
- Mappings:
Namespace Name Mixin selector official aLev$a;a:Lev$a;intermediary field_8476Lnet/minecraft/class_1980$class_1981;field_8476:Lnet/minecraft/class_1980$class_1981;named OPEN_URLLnet/minecraft/text/ClickEvent$Action;OPEN_URL:Lnet/minecraft/text/ClickEvent$Action;
-
OPEN_FILE
- Mappings:
Namespace Name Mixin selector official bLev$a;b:Lev$a;intermediary field_8477Lnet/minecraft/class_1980$class_1981;field_8477:Lnet/minecraft/class_1980$class_1981;named OPEN_FILELnet/minecraft/text/ClickEvent$Action;OPEN_FILE:Lnet/minecraft/text/ClickEvent$Action;
-
RUN_COMMAND
- Mappings:
Namespace Name Mixin selector official cLev$a;c:Lev$a;intermediary field_8478Lnet/minecraft/class_1980$class_1981;field_8478:Lnet/minecraft/class_1980$class_1981;named RUN_COMMANDLnet/minecraft/text/ClickEvent$Action;RUN_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
-
SUGGEST_COMMAND
- Mappings:
Namespace Name Mixin selector official dLev$a;d:Lev$a;intermediary field_8480Lnet/minecraft/class_1980$class_1981;field_8480:Lnet/minecraft/class_1980$class_1981;named SUGGEST_COMMANDLnet/minecraft/text/ClickEvent$Action;SUGGEST_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
-
CHANGE_PAGE
- Mappings:
Namespace Name Mixin selector official eLev$a;e:Lev$a;intermediary field_11570Lnet/minecraft/class_1980$class_1981;field_11570:Lnet/minecraft/class_1980$class_1981;named CHANGE_PAGELnet/minecraft/text/ClickEvent$Action;CHANGE_PAGE:Lnet/minecraft/text/ClickEvent$Action;
-
-
Field Details
-
ACTIONS
- Mappings:
Namespace Name Mixin selector official fLev$a;f:Ljava/util/Map;intermediary field_8481Lnet/minecraft/class_1980$class_1981;field_8481:Ljava/util/Map;named ACTIONSLnet/minecraft/text/ClickEvent$Action;ACTIONS:Ljava/util/Map;
-
userDefinable
private final boolean userDefinable- Mappings:
Namespace Name Mixin selector official gLev$a;g:Zintermediary field_8482Lnet/minecraft/class_1980$class_1981;field_8482:Znamed userDefinableLnet/minecraft/text/ClickEvent$Action;userDefinable:Z
-
name
- Mappings:
Namespace Name Mixin selector official hLev$a;h:Ljava/lang/String;intermediary field_8483Lnet/minecraft/class_1980$class_1981;field_8483:Ljava/lang/String;named nameLnet/minecraft/text/ClickEvent$Action;name:Ljava/lang/String;
-
-
Constructor Details
-
Action
- Mappings:
Namespace Name Mixin selector official <init>Lev$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_1980$class_1981;<init>(Ljava/lang/String;ILjava/lang/String;Z)Vnamed <init>Lnet/minecraft/text/ClickEvent$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 aLev$a;a()Zintermediary method_7463Lnet/minecraft/class_1980$class_1981;method_7463()Znamed isUserDefinableLnet/minecraft/text/ClickEvent$Action;isUserDefinable()Z
-
getName
- Mappings:
Namespace Name Mixin selector official bLev$a;b()Ljava/lang/String;intermediary method_7465Lnet/minecraft/class_1980$class_1981;method_7465()Ljava/lang/String;named getNameLnet/minecraft/text/ClickEvent$Action;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLev$a;a(Ljava/lang/String;)Lev$a;intermediary method_7464Lnet/minecraft/class_1980$class_1981;method_7464(Ljava/lang/String;)Lnet/minecraft/class_1980$class_1981;named byNameLnet/minecraft/text/ClickEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/ClickEvent$Action;
-