Package net.minecraftforge.event.world
Class ChunkWatchEvent.Watch
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.world.ChunkWatchEvent
-
- net.minecraftforge.event.world.ChunkWatchEvent.Watch
-
- Enclosing class:
- ChunkWatchEvent
public static class ChunkWatchEvent.Watch extends ChunkWatchEvent
ChunkWatchEvent.Watch is fired when an EntityPlayer begins watching a chunk.
This event is fired when a chunk is added to the watched chunks of an EntityPlayer innet.minecraft.world.server.ChunkManager#setChunkLoadedAtClient
.
This event is notCancelable
.
This event does not have a result.Event.HasResult
This event is fired on theMinecraftForge#EVENT_BUS
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.world.ChunkWatchEvent
ChunkWatchEvent.UnWatch, ChunkWatchEvent.Watch
-
-
Constructor Summary
Constructors Constructor Description Watch(ServerPlayerEntity player, ChunkPos pos, ServerWorld world)
-
Method Summary
-
Methods inherited from class net.minecraftforge.event.world.ChunkWatchEvent
getPlayer, getPos, getWorld
-
-
-
-
Constructor Detail
-
Watch
public Watch(ServerPlayerEntity player, ChunkPos pos, ServerWorld world)
-
-