org.bukkit.event.entity
Class EntityBreakDoorEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.entity.EntityEvent
          extended by org.bukkit.event.entity.EntityChangeBlockEvent
              extended by 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


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
EntityBreakDoorEvent(LivingEntity entity, Block targetBlock)
           
 
Method Summary
 LivingEntity getEntity()
          Returns the Entity involved in this event
 
Methods inherited from class org.bukkit.event.entity.EntityChangeBlockEvent
getBlock, getData, getHandlerList, getHandlers, getTo, isCancelled, setCancelled
 
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntityType
 
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityBreakDoorEvent

public EntityBreakDoorEvent(LivingEntity entity,
                            Block targetBlock)
Method Detail

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.