org.bukkit.event.hanging
Class HangingBreakByEntityEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.hanging.HangingEvent
          extended by org.bukkit.event.hanging.HangingBreakEvent
              extended by org.bukkit.event.hanging.HangingBreakByEntityEvent
All Implemented Interfaces:
Cancellable

public class HangingBreakByEntityEvent
extends HangingBreakEvent

Triggered when a hanging entity is removed by an entity


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.hanging.HangingBreakEvent
HangingBreakEvent.RemoveCause
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
 
Fields inherited from class org.bukkit.event.hanging.HangingEvent
hanging
 
Constructor Summary
HangingBreakByEntityEvent(Hanging hanging, Entity remover)
           
 
Method Summary
 Entity getRemover()
          Gets the entity that removed the hanging entity
 
Methods inherited from class org.bukkit.event.hanging.HangingBreakEvent
getCause, getHandlerList, getHandlers, isCancelled, setCancelled
 
Methods inherited from class org.bukkit.event.hanging.HangingEvent
getEntity
 
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

HangingBreakByEntityEvent

public HangingBreakByEntityEvent(Hanging hanging,
                                 Entity remover)
Method Detail

getRemover

public Entity getRemover()
Gets the entity that removed the hanging entity

Returns:
the entity that removed the hanging entity


Copyright © 2013. All Rights Reserved.