namespace Minecraft.Server.FourKit.Event.World; using Minecraft.Server.FourKit.Chunk; /// /// Represents a Chunk related event. /// public abstract class ChunkEvent : WorldEvent { protected Chunk chunk; protected ChunkEvent(Chunk chunk) : base(chunk.getWorld()) { this.chunk = chunk; } /// /// Gets the chunk being loaded/unloaded. /// /// Chunk that triggered this event. public Chunk getChunk() => chunk; }