类 ChunkWatchEvent.Watch
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.ChunkWatchEvent
net.neoforged.neoforge.event.level.ChunkWatchEvent.Watch
- 封闭类:
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
.
引用无效
have a result
This event is fired on the main Forge event bus only on the logical server.
-
嵌套类概要
从类继承的嵌套类/接口 net.neoforged.neoforge.event.level.ChunkWatchEvent
ChunkWatchEvent.Sent, ChunkWatchEvent.UnWatch, ChunkWatchEvent.Watch
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.neoforged.neoforge.event.level.ChunkWatchEvent
getLevel, getPlayer, getPos
-
字段详细资料
-
chunk
-
-
构造器详细资料
-
Watch
-
-
方法详细资料
-
getChunk
-