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
public class EntityBreakDoorEvent extends EntityChangeBlockEvent
Called when an
Entity
breaks a door
Cancelling the event will cause the event to be delayed
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityBreakDoorEvent(LivingEntity entity, Block targetBlock)
-
Method Summary
Modifier and Type Method Description LivingEntity
getEntity()
Returns the Entity involved in this eventMethods inherited from class org.bukkit.event.entity.EntityChangeBlockEvent
getBlock, getBlockData, getHandlerList, getHandlers, getTo, isCancelled, setCancelled
-
Constructor Details
-
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
-