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