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