Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.painting.PaintingBreakByEntityEvent Class Reference
Inheritance diagram for org.bukkit.event.painting.PaintingBreakByEntityEvent:
org.bukkit.event.painting.PaintingBreakEvent org.bukkit.event.painting.PaintingEvent org.bukkit.event.Cancellable org.bukkit.event.Event

Public Member Functions

 PaintingBreakByEntityEvent (final Painting painting, final Entity remover)
 
Entity getRemover ()
 
- Public Member Functions inherited from org.bukkit.event.painting.PaintingBreakEvent
 PaintingBreakEvent (final Painting painting, final RemoveCause cause)
 
RemoveCause getCause ()
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.painting.PaintingEvent
Painting getPainting ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Additional Inherited Members

- Static Public Member Functions inherited from org.bukkit.event.painting.PaintingBreakEvent
static HandlerList getHandlerList ()
 
- Protected Member Functions inherited from org.bukkit.event.painting.PaintingEvent
 PaintingEvent (final Painting painting)
 
- Protected Attributes inherited from org.bukkit.event.painting.PaintingEvent
Painting painting
 

Detailed Description

Triggered when a painting is removed by an entity

Deprecated:
Use org.bukkit.event.hanging.HangingBreakByEntityEvent instead.

Definition at line 15 of file PaintingBreakByEntityEvent.java.

Member Function Documentation

Entity org.bukkit.event.painting.PaintingBreakByEntityEvent.getRemover ( )

Gets the entity that removed the painting

Returns
the entity that removed the painting.

Definition at line 28 of file PaintingBreakByEntityEvent.java.

28  {
29  return remover;
30  }

The documentation for this class was generated from the following file: