Class ChunkWatchEvent.UnWatch

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

public static class ChunkWatchEvent.UnWatch extends ChunkWatchEvent
This event is fired whenever a ServerPlayer stops watching a chunk. The chunk this event fires for may never have actually been known to the client if the chunk goes out of range before being sent due to slow pacing of chunk sync on slow connections or to slow clients.

This event is fired when a chunk is removed from the watched chunks of an ServerPlayer in ChunkMap.dropChunk(ServerPlayer, ChunkPos).

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.