|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.event.Event
org.bukkit.event.painting.PaintingEvent
org.bukkit.event.painting.PaintingPlaceEvent
HangingPlaceEvent instead.
@Deprecated public class PaintingPlaceEvent
Triggered when a painting is created in the world
| Nested Class Summary |
|---|
| 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 | |
|---|---|
PaintingPlaceEvent(Painting painting,
Player player,
Block block,
BlockFace blockFace)
Deprecated. |
|
| Method Summary | |
|---|---|
Block |
getBlock()
Deprecated. Returns the block that the painting was placed on |
BlockFace |
getBlockFace()
Deprecated. Returns the face of the block that the painting was placed on |
static HandlerList |
getHandlerList()
Deprecated. |
HandlerList |
getHandlers()
Deprecated. |
Player |
getPlayer()
Deprecated. Returns the player placing the painting |
boolean |
isCancelled()
Deprecated. Gets the cancellation state of this event. |
void |
setCancelled(boolean cancel)
Deprecated. Sets the cancellation state of this event. |
| 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 |
|---|
public PaintingPlaceEvent(Painting painting,
Player player,
Block block,
BlockFace blockFace)
| Method Detail |
|---|
public Player getPlayer()
public Block getBlock()
public BlockFace getBlockFace()
public boolean isCancelled()
Cancellable
isCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
Cancellable
setCancelled in interface Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||