HangingPlaceEvent instead.@Deprecated public class PaintingPlaceEvent extends PaintingEvent implements Cancellable
Event.Resultpainting| Constructor and Description |
|---|
PaintingPlaceEvent(Painting painting,
Player player,
Block block,
BlockFace blockFace)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getPaintinggetEventName, isAsynchronouspublic Player getPlayer()
public Block getBlock()
public BlockFace getBlockFace()
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2014. All rights reserved.