attach

fun attach(name: String, plugin: JavaPlugin, player: Player, callback: ServerboundUseItemPacketUtil.UseItemEvent.() -> Unit): Boolean

Attach the Event to the Player.