public class EntityBreakDoorEvent extends EntityChangeBlockEvent
Entity
breaks a door
Cancelling the event will cause the event to be delayed
Event.Result
entity
Constructor and Description |
---|
EntityBreakDoorEvent(LivingEntity entity,
Block targetBlock) |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
getEntity()
Returns the Entity involved in this event
|
getBlock, getData, getHandlerList, getHandlers, getTo, isCancelled, setCancelled
getEntityType
getEventName, isAsynchronous
public EntityBreakDoorEvent(LivingEntity entity, Block targetBlock)
public LivingEntity getEntity()
EntityEvent
getEntity
in class EntityEvent
Copyright © 2015. All rights reserved.