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