Package 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.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
HangingEvent(Hanging painting)
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
getEntity
Gets the hanging entity involved in this event.- Returns:
- the hanging entity
-