cn.nukkit.event.level.ChunkEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.event.level;
import cn.nukkit.level.format.FullChunk;
/**
* @author MagicDroidX (Nukkit Project)
*/
public abstract class ChunkEvent extends LevelEvent {
private final FullChunk chunk;
public ChunkEvent(FullChunk chunk) {
super(chunk.getProvider().getLevel());
this.chunk = chunk;
}
public FullChunk getChunk() {
return chunk;
}
}