Class PaintingEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.painting.PaintingEvent
Direct Known Subclasses:
PaintingBreakEvent, PaintingPlaceEvent

@Deprecated
public abstract class PaintingEvent
extends Event
Deprecated.
Use HangingEvent instead.
Represents a painting-related event.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    Event.Result
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected Painting painting
    Deprecated.
     
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected PaintingEvent​(Painting painting)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    Painting getPainting()
    Deprecated.
    Gets the painting involved in this event.

    Methods inherited from class org.bukkit.event.Event

    getEventName, getHandlers, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getPainting

      public Painting getPainting()
      Deprecated.
      Gets the painting involved in this event.
      Returns:
      the painting