org.bukkit.event.painting
Class PaintingBreakByEntityEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.painting.PaintingEvent
          extended by org.bukkit.event.painting.PaintingBreakEvent
              extended by org.bukkit.event.painting.PaintingBreakByEntityEvent
All Implemented Interfaces:
Cancellable

Deprecated. Use HangingBreakByEntityEvent instead.

@Deprecated
public class PaintingBreakByEntityEvent
extends PaintingBreakEvent

Triggered when a painting is removed by an entity


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.painting.PaintingBreakEvent
PaintingBreakEvent.RemoveCause
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
 
Fields inherited from class org.bukkit.event.painting.PaintingEvent
painting
 
Constructor Summary
PaintingBreakByEntityEvent(Painting painting, Entity remover)
          Deprecated.  
 
Method Summary
 Entity getRemover()
          Deprecated. Gets the entity that removed the painting
 
Methods inherited from class org.bukkit.event.painting.PaintingBreakEvent
getCause, getHandlerList, getHandlers, isCancelled, setCancelled
 
Methods inherited from class org.bukkit.event.painting.PaintingEvent
getPainting
 
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

PaintingBreakByEntityEvent

public PaintingBreakByEntityEvent(Painting painting,
                                  Entity remover)
Deprecated. 
Method Detail

getRemover

public Entity getRemover()
Deprecated. 
Gets the entity that removed the painting

Returns:
the entity that removed the painting.


Copyright © 2013. All Rights Reserved.