Class DragonEggFormEvent

All Implemented Interfaces:
Cancellable

public class DragonEggFormEvent extends BlockFormEvent implements Cancellable
Called when the EnderDragon is defeated (killed) in a DragonBattle, causing a Material.DRAGON_EGG (more formally: BlockGrowEvent.getNewState()) to possibly appear depending on isCancelled(). This event might be cancelled by default depending on eg. DragonBattle.hasBeenPreviouslyKilled() and server configuration.