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(LivingEntity entity,
Block targetBlock) |
| Modifier and Type | Method and Description |
|---|---|
LivingEntity |
getEntity()
Returns the Entity involved in this event
|
getBlock, getBlockData, getHandlerList, getHandlers, getTo, isCancelled, setCancelledgetEntityTypegetEventName, isAsynchronouspublic EntityBreakDoorEvent(@NotNull
LivingEntity entity,
@NotNull
Block targetBlock)
@NotNull public LivingEntity getEntity()
EntityEventgetEntity in class EntityEventCopyright © 2022. All rights reserved.