ServerboundSwingPacketUtil

Util class for attaching and working with the ServerboundContainerButtonClickPacket for user-defined clicks in a GUI by the player.

Functions

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

Attach the Event to the Player.