Cancellablepublic class EntityBreakDoorEvent extends EntityChangeBlockEvent
Entity breaks a door
 Cancelling the event will cause the event to be delayed
Event.Resultentity| Constructor | Description | 
|---|---|
| EntityBreakDoorEvent(LivingEntity entity,
                    Block targetBlock) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| LivingEntity | getEntity() | Returns the Entity involved in this event | 
getBlock, getBlockData, getHandlerList, getHandlers, getTo, isCancelled, setCancelledgetEntityTypecallEvent, getEventName, isAsynchronouspublic EntityBreakDoorEvent(LivingEntity entity, Block targetBlock)
public LivingEntity getEntity()
EntityEventgetEntity in class EntityEventCopyright © 2018. All rights reserved.