org.bukkit.event.hanging
Class HangingEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by 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
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
protected  Hanging hanging
           
 
Constructor Summary
protected HangingEvent(Hanging painting)
           
 
Method Summary
 Hanging getEntity()
          Gets the hanging entity involved in this event.
 
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hanging

protected Hanging hanging
Constructor Detail

HangingEvent

protected HangingEvent(Hanging painting)
Method Detail

getEntity

public Hanging getEntity()
Gets the hanging entity involved in this event.

Returns:
the hanging entity


Copyright © 2013. All Rights Reserved.