Class ChunkEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.LevelEvent
net.neoforged.neoforge.event.level.ChunkEvent
Direct Known Subclasses:
ChunkDataEvent, ChunkEvent.Load, ChunkEvent.Unload

public abstract class ChunkEvent extends LevelEvent
ChunkEvent is fired when an event involving a chunk occurs.
If a method utilizes this Event as its parameter, the method will receive every child event of this class.

chunk contains the Chunk this event is affecting.

All children of this event are fired on the NeoForge.EVENT_BUS.