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 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
-