Class SuggestCommandClickEvent
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.clickevent.SuggestCommandClickEvent
- All Implemented Interfaces:
ClickEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.event.ClickEvent
static SuggestCommandClickEvent
decode
(NBTCompound compound, PacketWrapper<?> wrapper) static void
encode
(NBTCompound compound, PacketWrapper<?> wrapper, SuggestCommandClickEvent clickEvent)
-
Constructor Details
-
SuggestCommandClickEvent
-
-
Method Details
-
decode
-
encode
public static void encode(NBTCompound compound, PacketWrapper<?> wrapper, SuggestCommandClickEvent clickEvent) -
getAction
- Specified by:
getAction
in interfaceClickEvent
-
asAdventure
public net.kyori.adventure.text.event.ClickEvent asAdventure()- Specified by:
asAdventure
in interfaceClickEvent
-
getCommand
-