Class ChunkWatchEvent.Watch

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.ChunkWatchEvent
net.neoforged.neoforge.event.level.ChunkWatchEvent.Watch
Enclosing class:
ChunkWatchEvent

public static class ChunkWatchEvent.Watch extends ChunkWatchEvent
This event is fired whenever a ServerPlayer begins watching a chunk and the chunk is queued up for sending to the client (see ChunkMap.markChunkPendingToSend(ServerPlayer, LevelChunk)).

This event must NOT be used to send additional chunk-related data to the client as the client will not be aware of the chunk yet when this event fires. ChunkWatchEvent.Sent should be used for this purpose instead

This event is not cancellable and does not

invalid reference
have a result
.

This event is fired on the main Forge event bus only on the logical server.