Package net.minecraft.text
Enum ClickEvent.Action
- All Implemented Interfaces:
Serializable,Comparable<ClickEvent.Action>,java.lang.constant.Constable
- Enclosing class:
- ClickEvent
public static enum ClickEvent.Action extends Enum<ClickEvent.Action>
- Mappings:
Namespace Name official et$aintermediary net/minecraft/class_1442$class_1443named 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 Enum Constant Description CHANGE_PAGEOPEN_FILEOPEN_URLRUN_COMMANDSUGGEST_COMMANDTWITCH_USER_INFO -
Field Summary
Fields Modifier and Type Field Description private static Map<String,ClickEvent.Action>ACTIONSprivate Stringnameprivate booleanuserDefinable -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static ClickEvent.ActionbyName(String name)StringgetName()booleanisUserDefinable()static ClickEvent.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static ClickEvent.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN_URL
- Mappings:
Namespace Name Mixin selector official aLet$a;a:Let$a;intermediary field_5999Lnet/minecraft/class_1442$class_1443;field_5999:Lnet/minecraft/class_1442$class_1443;named OPEN_URLLnet/minecraft/text/ClickEvent$Action;OPEN_URL:Lnet/minecraft/text/ClickEvent$Action;
-
OPEN_FILE
- Mappings:
Namespace Name Mixin selector official bLet$a;b:Let$a;intermediary field_6000Lnet/minecraft/class_1442$class_1443;field_6000:Lnet/minecraft/class_1442$class_1443;named OPEN_FILELnet/minecraft/text/ClickEvent$Action;OPEN_FILE:Lnet/minecraft/text/ClickEvent$Action;
-
RUN_COMMAND
- Mappings:
Namespace Name Mixin selector official cLet$a;c:Let$a;intermediary field_6001Lnet/minecraft/class_1442$class_1443;field_6001:Lnet/minecraft/class_1442$class_1443;named RUN_COMMANDLnet/minecraft/text/ClickEvent$Action;RUN_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
-
TWITCH_USER_INFO
- Mappings:
Namespace Name Mixin selector official dLet$a;d:Let$a;intermediary field_6002Lnet/minecraft/class_1442$class_1443;field_6002:Lnet/minecraft/class_1442$class_1443;named TWITCH_USER_INFOLnet/minecraft/text/ClickEvent$Action;TWITCH_USER_INFO:Lnet/minecraft/text/ClickEvent$Action;
-
SUGGEST_COMMAND
- Mappings:
Namespace Name Mixin selector official eLet$a;e:Let$a;intermediary field_6003Lnet/minecraft/class_1442$class_1443;field_6003:Lnet/minecraft/class_1442$class_1443;named SUGGEST_COMMANDLnet/minecraft/text/ClickEvent$Action;SUGGEST_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
-
CHANGE_PAGE
- Mappings:
Namespace Name Mixin selector official fLet$a;f:Let$a;intermediary field_6004Lnet/minecraft/class_1442$class_1443;field_6004:Lnet/minecraft/class_1442$class_1443;named CHANGE_PAGELnet/minecraft/text/ClickEvent$Action;CHANGE_PAGE:Lnet/minecraft/text/ClickEvent$Action;
-
-
Field Details
-
ACTIONS
- Mappings:
Namespace Name Mixin selector official gLet$a;g:Ljava/util/Map;intermediary field_6005Lnet/minecraft/class_1442$class_1443;field_6005:Ljava/util/Map;named ACTIONSLnet/minecraft/text/ClickEvent$Action;ACTIONS:Ljava/util/Map;
-
userDefinable
private final boolean userDefinable- Mappings:
Namespace Name Mixin selector official hLet$a;h:Zintermediary field_6006Lnet/minecraft/class_1442$class_1443;field_6006:Znamed userDefinableLnet/minecraft/text/ClickEvent$Action;userDefinable:Z
-
name
- Mappings:
Namespace Name Mixin selector official iLet$a;i:Ljava/lang/String;intermediary field_6007Lnet/minecraft/class_1442$class_1443;field_6007:Ljava/lang/String;named nameLnet/minecraft/text/ClickEvent$Action;name:Ljava/lang/String;
-
-
Constructor Details
-
Action
- Mappings:
Namespace Name Mixin selector official <init>Let$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_1442$class_1443;<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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
isUserDefinable
public boolean isUserDefinable()- Mappings:
Namespace Name Mixin selector official aLet$a;a()Zintermediary method_5155Lnet/minecraft/class_1442$class_1443;method_5155()Znamed isUserDefinableLnet/minecraft/text/ClickEvent$Action;isUserDefinable()Z
-
getName
- Mappings:
Namespace Name Mixin selector official bLet$a;b()Ljava/lang/String;intermediary method_5157Lnet/minecraft/class_1442$class_1443;method_5157()Ljava/lang/String;named getNameLnet/minecraft/text/ClickEvent$Action;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLet$a;a(Ljava/lang/String;)Let$a;intermediary method_5156Lnet/minecraft/class_1442$class_1443;method_5156(Ljava/lang/String;)Lnet/minecraft/class_1442$class_1443;named byNameLnet/minecraft/text/ClickEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/ClickEvent$Action;
-