
org.bukkit.event.hanging.HangingEvent 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.hanging;
import org.bukkit.entity.Hanging;
import org.bukkit.event.Event;
/**
* Represents a hanging entity-related event.
*/
public abstract class HangingEvent extends Event {
protected Hanging hanging;
protected HangingEvent(final Hanging painting) {
this.hanging = painting;
}
/**
* Gets the hanging entity involved in this event.
*
* @return the hanging entity
*/
public Hanging getEntity() {
return hanging;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy