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 og$a
intermediary net/minecraft/class_2558$class_2559
named 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_PAGE
COPY_TO_CLIPBOARD
OPEN_FILE
OPEN_URL
RUN_COMMAND
SUGGEST_COMMAND
-
Field Summary
Fields Modifier and Type Field Description private static Map<String,ClickEvent.Action>
BY_NAME
private String
name
private boolean
userDefinable
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static ClickEvent.Action
byName(String name)
String
getName()
boolean
isUserDefinable()
static ClickEvent.Action
valueOf(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 a
Log$a;a:Log$a;
intermediary field_11749
Lnet/minecraft/class_2558$class_2559;field_11749:Lnet/minecraft/class_2558$class_2559;
named OPEN_URL
Lnet/minecraft/text/ClickEvent$Action;OPEN_URL:Lnet/minecraft/text/ClickEvent$Action;
-
OPEN_FILE
- Mappings:
Namespace Name Mixin selector official b
Log$a;b:Log$a;
intermediary field_11746
Lnet/minecraft/class_2558$class_2559;field_11746:Lnet/minecraft/class_2558$class_2559;
named OPEN_FILE
Lnet/minecraft/text/ClickEvent$Action;OPEN_FILE:Lnet/minecraft/text/ClickEvent$Action;
-
RUN_COMMAND
- Mappings:
Namespace Name Mixin selector official c
Log$a;c:Log$a;
intermediary field_11750
Lnet/minecraft/class_2558$class_2559;field_11750:Lnet/minecraft/class_2558$class_2559;
named RUN_COMMAND
Lnet/minecraft/text/ClickEvent$Action;RUN_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
-
SUGGEST_COMMAND
- Mappings:
Namespace Name Mixin selector official d
Log$a;d:Log$a;
intermediary field_11745
Lnet/minecraft/class_2558$class_2559;field_11745:Lnet/minecraft/class_2558$class_2559;
named SUGGEST_COMMAND
Lnet/minecraft/text/ClickEvent$Action;SUGGEST_COMMAND:Lnet/minecraft/text/ClickEvent$Action;
-
CHANGE_PAGE
- Mappings:
Namespace Name Mixin selector official e
Log$a;e:Log$a;
intermediary field_11748
Lnet/minecraft/class_2558$class_2559;field_11748:Lnet/minecraft/class_2558$class_2559;
named CHANGE_PAGE
Lnet/minecraft/text/ClickEvent$Action;CHANGE_PAGE:Lnet/minecraft/text/ClickEvent$Action;
-
COPY_TO_CLIPBOARD
- Mappings:
Namespace Name Mixin selector official f
Log$a;f:Log$a;
intermediary field_21462
Lnet/minecraft/class_2558$class_2559;field_21462:Lnet/minecraft/class_2558$class_2559;
named COPY_TO_CLIPBOARD
Lnet/minecraft/text/ClickEvent$Action;COPY_TO_CLIPBOARD:Lnet/minecraft/text/ClickEvent$Action;
-
-
Field Details
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official g
Log$a;g:Ljava/util/Map;
intermediary field_11743
Lnet/minecraft/class_2558$class_2559;field_11743:Ljava/util/Map;
named BY_NAME
Lnet/minecraft/text/ClickEvent$Action;BY_NAME:Ljava/util/Map;
-
userDefinable
private final boolean userDefinable- Mappings:
Namespace Name Mixin selector official h
Log$a;h:Z
intermediary field_11744
Lnet/minecraft/class_2558$class_2559;field_11744:Z
named userDefinable
Lnet/minecraft/text/ClickEvent$Action;userDefinable:Z
-
name
- Mappings:
Namespace Name Mixin selector official i
Log$a;i:Ljava/lang/String;
intermediary field_11742
Lnet/minecraft/class_2558$class_2559;field_11742:Ljava/lang/String;
named name
Lnet/minecraft/text/ClickEvent$Action;name:Ljava/lang/String;
-
-
Constructor Details
-
Action
- Mappings:
Namespace Name Mixin selector official <init>
Log$a;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_2558$class_2559;<init>(Ljava/lang/String;ILjava/lang/String;Z)V
named <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 a
Log$a;a()Z
intermediary method_10847
Lnet/minecraft/class_2558$class_2559;method_10847()Z
named isUserDefinable
Lnet/minecraft/text/ClickEvent$Action;isUserDefinable()Z
-
getName
- Mappings:
Namespace Name Mixin selector official b
Log$a;b()Ljava/lang/String;
intermediary method_10846
Lnet/minecraft/class_2558$class_2559;method_10846()Ljava/lang/String;
named getName
Lnet/minecraft/text/ClickEvent$Action;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official a
Log$a;a(Ljava/lang/String;)Log$a;
intermediary method_10848
Lnet/minecraft/class_2558$class_2559;method_10848(Ljava/lang/String;)Lnet/minecraft/class_2558$class_2559;
named byName
Lnet/minecraft/text/ClickEvent$Action;byName(Ljava/lang/String;)Lnet/minecraft/text/ClickEvent$Action;
-