Class ClickEventActions
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.clickevent.ClickEventActions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ClickEventAction
<ChangePageClickEvent> Added with 1.8static final ClickEventAction
<CopyToClipboardClickEvent> Added with 1.15static final ClickEventAction
<CustomClickEvent> Added with 1.21.6static final ClickEventAction
<OpenFileClickEvent> static final ClickEventAction
<OpenUrlClickEvent> static final ClickEventAction
<RunCommandClickEvent> static final ClickEventAction
<ShowDialogClickEvent> Added with 1.21.6static final ClickEventAction
<SuggestCommandClickEvent> static final ClickEventAction
<TwitchUserInfoClickEvent> Removed in 1.9 -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ClickEvent>
ClickEventAction<T> define
(String name, boolean allowFromServer, NbtMapDecoder<T> decoder, NbtMapEncoder<T> encoder) static VersionedRegistry
<ClickEventAction<?>>
-
Field Details
-
OPEN_URL
-
OPEN_FILE
-
RUN_COMMAND
-
TWITCH_USER_INFO
Removed in 1.9 -
SUGGEST_COMMAND
-
CHANGE_PAGE
Added with 1.8 -
COPY_TO_CLIPBOARD
Added with 1.15 -
SHOW_DIALOG
Added with 1.21.6 -
CUSTOM
Added with 1.21.6
-
-
Method Details
-
define
@Internal public static <T extends ClickEvent> ClickEventAction<T> define(String name, boolean allowFromServer, NbtMapDecoder<T> decoder, NbtMapEncoder<T> encoder) -
getRegistry
-