
org.bukkit.event.painting.PaintingEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.event.painting;
import org.bukkit.Warning;
import org.bukkit.entity.Painting;
import org.bukkit.event.Event;
/**
* Represents a painting-related event.
*
* @deprecated Use {@link org.bukkit.event.hanging.HangingEvent} instead.
*/
@Deprecated
@Warning(reason = "This event has been replaced by HangingEvent")
public abstract class PaintingEvent extends Event {
protected Painting painting;
protected PaintingEvent(final Painting painting) {
this.painting = painting;
}
/**
* Gets the painting involved in this event.
*
* @return the painting
*/
public Painting getPainting() {
return painting;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy