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