Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
|
Classes | |
enum | RemoveCause |
Public Member Functions | |
PaintingBreakEvent (final Painting painting, final RemoveCause cause) | |
RemoveCause | getCause () |
boolean | isCancelled () |
void | setCancelled (boolean cancel) |
HandlerList | getHandlers () |
![]() | |
Painting | getPainting () |
![]() | |
Event () | |
Event (boolean isAsync) | |
String | getEventName () |
abstract HandlerList | getHandlers () |
final boolean | isAsynchronous () |
Static Public Member Functions | |
static HandlerList | getHandlerList () |
Additional Inherited Members | |
![]() | |
PaintingEvent (final Painting painting) | |
![]() | |
Painting | painting |
Triggered when a painting is removed
Definition at line 15 of file PaintingBreakEvent.java.
RemoveCause org.bukkit.event.painting.PaintingBreakEvent.getCause | ( | ) |
Gets the cause for the painting's removal
Definition at line 30 of file PaintingBreakEvent.java.
boolean org.bukkit.event.painting.PaintingBreakEvent.isCancelled | ( | ) |
Gets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins
Implements org.bukkit.event.Cancellable.
Definition at line 34 of file PaintingBreakEvent.java.
void org.bukkit.event.painting.PaintingBreakEvent.setCancelled | ( | boolean | cancel | ) |
Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.
cancel | true if you wish to cancel this event |
Implements org.bukkit.event.Cancellable.
Definition at line 38 of file PaintingBreakEvent.java.