Class ChunkWatchEvent.Watch

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.ChunkWatchEvent
net.minecraftforge.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.

This event is fired when a chunk is added to the watched chunks of a ServerPlayer and the chunk's data is sent to the client (see net.minecraft.server.level.ChunkMap#playerLoadedChunk(ServerPlayer, MutableObject, LevelChunk)).

This event may be used to send additional chunk-related data to the client.

This event is not cancellable and does not have a result.

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