attach

fun attach(name: String, plugin: JavaPlugin, player: Player, items: MutableMap<Int, ItemStack>, callback: ServerboundContainerClickPacketUtil.ContainerClickEvent.() -> Unit): Boolean

Attach the Event to the Player.