Cancellable
public class EntityBreakDoorEvent extends EntityChangeBlockEvent
Entity
breaks a door
Cancelling the event will cause the event to be delayed
Event.Result
entity
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, setCancelled
getEntityType
callEvent, getEventName, isAsynchronous
public EntityBreakDoorEvent(@NotNull LivingEntity entity, @NotNull Block targetBlock)
@NotNull public LivingEntity getEntity()
EntityEvent
getEntity
in class EntityEvent
Copyright © 2020. All rights reserved.