EnchantmentActivateEvent

constructor(player: Player, key: NamespacedKey, level: Int)

Parameters

player

The player who activated the enchantment.

key

The key of the enchantment that was activated.