Class DragonEggFormEvent

All Implemented Interfaces:
Cancellable

public class DragonEggFormEvent extends BlockFormEvent
Called when the EnderDragon is defeated (killed) in a DragonBattle, causing a Material.DRAGON_EGG (more formally: BlockGrowEvent.getNewState()) to possibly appear depending on BlockGrowEvent.isCancelled().

This event might be cancelled by default depending on e.g. DragonBattle.hasBeenPreviouslyKilled() and server configuration.