Package net.minecraftforge.event.level
Class ChunkWatchEvent.UnWatch
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.ChunkWatchEvent
net.minecraftforge.event.level.ChunkWatchEvent.UnWatch
- Enclosing class:
- ChunkWatchEvent
This event is fired whenever a
ServerPlayer
stops watching a chunk.
This event is fired when a chunk is removed from the watched chunks of an ServerPlayer
in net.minecraft.server.level.ChunkMap#updateChunkTracking(ServerPlayer, ChunkPos, Packet[], boolean, boolean)
.
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
-
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
-
Constructor Details
-
UnWatch
-