Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.event.painting.PaintingBreakByEntityEvent Class Reference

Triggered when a painting is removed by an entity. More...

+ Inheritance diagram for org.bukkit.event.painting.PaintingBreakByEntityEvent:
+ Collaboration diagram for org.bukkit.event.painting.PaintingBreakByEntityEvent:

Public Member Functions

 PaintingBreakByEntityEvent (final Painting painting, final Entity remover)
 
Entity getRemover ()
 Gets the entity that removed the painting.
 
- Public Member Functions inherited from org.bukkit.event.painting.PaintingBreakEvent
 PaintingBreakEvent (final Painting painting, final RemoveCause cause)
 
RemoveCause getCause ()
 Gets the cause for the painting's removal.
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.painting.PaintingEvent
Painting getPainting ()
 Gets the painting involved in this event.
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 The default constructor is defined for cleaner code.
 
 Event (boolean isAsync)
 This constructor is used to explicitly declare an event as synchronous or asynchronous.
 
String getEventName ()
 
final boolean isAsynchronous ()
 Any custom event that should not by synchronized with other events must use the specific constructor.
 
- Public Member Functions inherited from org.bukkit.event.Cancellable
boolean isCancelled ()
 Gets the cancellation state of this event.
 
void setCancelled (boolean cancel)
 Sets the cancellation state of this event.
 

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 13 of file PaintingBreakByEntityEvent.java.

Constructor & Destructor Documentation

org.bukkit.event.painting.PaintingBreakByEntityEvent.PaintingBreakByEntityEvent ( final Painting  painting,
final Entity  remover 
)

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 26 of file PaintingBreakByEntityEvent.java.


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