
org.bukkit.event.world.ChunkEvent 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.world;
import org.bukkit.Chunk;
/**
* Represents a Chunk related event
*/
public abstract class ChunkEvent extends WorldEvent {
protected Chunk chunk;
protected ChunkEvent(final Chunk chunk) {
super(chunk.getWorld());
this.chunk = chunk;
}
/**
* Gets the chunk being loaded/unloaded
*
* @return Chunk that triggered this event
*/
public Chunk getChunk() {
return chunk;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy