ServerboundCustomClickActionPacketUtil

Util class for attaching and working with the ServerboundCustomClickActionPacket for user-defined clicks by the player.

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PayloadType(var prettyName: String, var name: String, var data: MutableMap<String, Any>)

Functions

Link copied to clipboard
fun attach(name: String, plugin: JavaPlugin, player: Player, callback: ServerboundCustomClickActionPacketUtil.CustomClickEvent.() -> Unit): Boolean

Attach the Event to the Player.