Uses of Interface
net.kyori.adventure.text.event.ClickEvent.Payload
Packages that use ClickEvent.Payload
Package
Description
Events that occur when players interact with components.
-
Uses of ClickEvent.Payload in net.kyori.adventure.text.event
Classes in net.kyori.adventure.text.event with type parameters of type ClickEvent.PayloadModifier and TypeClassDescriptionfinal classClickEvent<T extends ClickEvent.Payload>A click event.static classClickEvent.Action<T extends ClickEvent.Payload>An enumeration of click event actions.Subinterfaces of ClickEvent.Payload in net.kyori.adventure.text.eventModifier and TypeInterfaceDescriptionstatic interfaceA payload with a key and optional custom NBT data.static interfaceA payload that holds a dialog.static interfaceA payload that holds an integer.static interfaceA payload that holds a string.Methods in net.kyori.adventure.text.event with type parameters of type ClickEvent.PayloadModifier and TypeMethodDescriptionstatic <T extends ClickEvent.Payload>
ClickEvent<T> ClickEvent.clickEvent(ClickEvent.Action<T> action, T payload) Creates a click event with apayload.Methods in net.kyori.adventure.text.event that return ClickEvent.PayloadModifier and TypeMethodDescriptionClickEvent.payload()Gets the payload associated with this click event.Methods in net.kyori.adventure.text.event with parameters of type ClickEvent.PayloadModifier and TypeMethodDescriptionbooleanClickEvent.Action.supports(ClickEvent.Payload payload) Returns if this action supports the provided payload type.