Module net.kyori.adventure.api
Package net.kyori.adventure.text.event
Interface ClickEvent.Payload.Custom
- All Superinterfaces:
ClickEvent.Payload,Keyed
- Enclosing interface:
ClickEvent.Payload
A payload with a key and optional custom NBT data.
- Since:
- 4.22.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.text.event.ClickEvent.Payload
ClickEvent.Payload.Custom, ClickEvent.Payload.Dialog, ClickEvent.Payload.Int, ClickEvent.Payload.Text -
Method Summary
-
Method Details
-
nbt
@Nullable BinaryTagHolder nbt()The optional custom data.See
BinaryTagHolder.string()for a simple way to return SNBT from NBT data.- Returns:
- the data
- Since:
- 4.23.0
-