Package org.bukkit.event.entity
Class EntityBreakDoorEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityChangeBlockEvent
org.bukkit.event.entity.EntityBreakDoorEvent
- All Implemented Interfaces:
Cancellable
Called when an
Entity
breaks a door
Cancelling the event will cause the event to be delayed
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
ConstructorDescriptionEntityBreakDoorEvent
(@NotNull LivingEntity entity, @NotNull Block targetBlock) -
Method Summary
Modifier and TypeMethodDescriptionReturns the Entity involved in this eventMethods inherited from class org.bukkit.event.entity.EntityChangeBlockEvent
getBlock, getBlockData, getHandlerList, getHandlers, getTo, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntityType
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityBreakDoorEvent
-
-
Method Details
-
getEntity
Description copied from class:EntityEvent
Returns the Entity involved in this event- Overrides:
getEntity
in classEntityEvent
- Returns:
- Entity who is involved in this event
-