org.bukkit.event.hanging
Class HangingBreakByEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.hanging.HangingEvent
org.bukkit.event.hanging.HangingBreakEvent
org.bukkit.event.hanging.HangingBreakByEntityEvent
- All Implemented Interfaces:
- Cancellable
public class HangingBreakByEntityEvent
- extends HangingBreakEvent
Triggered when a hanging entity is removed by an entity
Method Summary |
Entity |
getRemover()
Gets the entity that removed the hanging entity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HangingBreakByEntityEvent
public HangingBreakByEntityEvent(Hanging hanging,
Entity remover)
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.