ESBlockEvent

The Enchantment Solution Block Event is an event called when blocks are modified through the use of Enchantment Solution.

Despite this, placing blocks has its own method ESBlockPlaceEvent, which extends BlockPlaceEvent and not ESBlockEvent.

Description
The ESBlockEvent is a class that adds the enchantment level information to a BlockEvent for use in Enchantment Solution.

Constructor
ESBlockEvent(Block theBlock, EnchantmentLevel enchantment)
 * // Block theBlock - the block being modified
 * // EnchantmentLevel enchantment - the enchantment and level of the enchantment modifying the block

Implements
Cancellable

Extends
BlockEvent

EnchantmentLevel getEnchantment
Returns the enchantment and level modifying the block