net.minecraft.network.chat

public enum ClickEvent$Action

implements StringRepresentable

wn$a
net.minecraft.network.chat.ClickEvent$Action
net.minecraft.class_2558$class_2559
net.minecraft.text.ClickEvent$Action
net.minecraft.network.chat.ChatClickable$EnumClickAction

Enum constant summary

Enum Constant
a
OPEN_URL
field_11749
OPEN_URL
b
OPEN_FILE
field_11746
OPEN_FILE
c
RUN_COMMAND
field_11750
RUN_COMMAND
d
SUGGEST_COMMAND
field_11745
SUGGEST_COMMAND
e
CHANGE_PAGE
field_11748
CHANGE_PAGE
f
COPY_TO_CLIPBOARD
field_21462
COPY_TO_CLIPBOARD

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ClickEvent$Action>
g
UNSAFE_CODEC
field_46595
UNVALIDATED_CODEC
public static final com.mojang.serialization.MapCodec<ClickEvent$Action>
h
CODEC
field_46596
CODEC
private final boolean
i
allowFromServer
field_11744
userDefinable
private final String
j
name
field_11742
name

Constructor summary

ModifierConstructor
private (String arg0, boolean arg1)

Method summary

Modifier and TypeMethod
public boolean
a()
isAllowedFromServer()
method_10847()
isUserDefinable()
public String
c()
getSerializedName()
method_15434()
asString()
public static com.mojang.serialization.DataResult<ClickEvent$Action>
a(wn$a arg0)
filterForSerialization(ClickEvent$Action arg0)
method_54152(class_2558$class_2559 arg0)
validate(ClickEvent$Action action)