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
Canceling the event will cause the event to be delayed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityBreakDoorEvent
public EntityBreakDoorEvent(LivingEntity entity,
Block targetBlock)
getEntity
public LivingEntity getEntity()
- Description copied from class:
EntityEvent
- Returns the Entity involved in this event
- Overrides:
getEntity
in class EntityEvent
- Returns:
- Entity who is involved in this event
Copyright © 2013. All Rights Reserved.