org.bukkit.event.hanging
Class HangingEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.hanging.HangingEvent
- Direct Known Subclasses:
- HangingBreakEvent, HangingPlaceEvent
public abstract class HangingEvent
- extends Event
Represents a hanging entity-related event.
Method Summary |
Hanging |
getEntity()
Gets the hanging entity involved in this event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hanging
protected Hanging hanging
HangingEvent
protected HangingEvent(Hanging painting)
getEntity
public Hanging getEntity()
- Gets the hanging entity involved in this event.
- Returns:
- the hanging entity
Copyright © 2013. All Rights Reserved.