Package net.minecraftforge.event.level
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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.event.level.ChunkWatchEvent
ChunkWatchEvent.UnWatch, ChunkWatchEvent.Watch
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.event.level.ChunkWatchEvent
getLevel, getPlayer, getPos
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
chunk
-
-
Constructor Details
-
Watch
-
-
Method Details
-
getChunk
-