Uses of Class
net.minecraft.world.chunk.WorldChunk
Package
Description
-
Uses of WorldChunk in net.minecraft.block.entity
-
Uses of WorldChunk in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate @Nullable CompletableFuture
<WorldChunk> DebugHud.chunkFuture
Modifier and TypeMethodDescriptionprivate @Nullable WorldChunk
DebugHud.getChunk()
private WorldChunk
DebugHud.getClientChunk()
-
Uses of WorldChunk in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate void
ClientPlayNetworkHandler.scheduleRenderChunk
(WorldChunk chunk, int x, int z) -
Uses of WorldChunk in net.minecraft.client.render.chunk
Modifier and TypeFieldDescriptionprivate final WorldChunk
ChunkRendererRegionBuilder.ClientChunk.chunk
private final WorldChunk
RenderedChunk.chunk
ModifierConstructorDescription(package private)
ClientChunk
(WorldChunk chunk) (package private)
RenderedChunk
(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.client.world
Modifier and TypeFieldDescription(package private) final AtomicReferenceArray
<WorldChunk> ClientChunkManager.ClientChunkMap.chunks
Modifier and TypeMethodDescriptionprotected @Nullable WorldChunk
ClientChunkManager.ClientChunkMap.getChunk
(int index) ClientChunkManager.getChunk
(int int2, int int3, ChunkStatus chunkStatus, boolean bool) ClientChunkManager.loadChunkFromPacket
(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) Modifier and TypeMethodDescriptionprivate void
ClientChunkManager.ClientChunkMap.loadChunkSections
(WorldChunk chunk) private static boolean
ClientChunkManager.positionEquals
(@Nullable WorldChunk chunk, int x, int z) (package private) void
ClientChunkManager.ClientChunkMap.set
(int index, @Nullable WorldChunk chunk) void
ClientWorld.unloadBlockEntities
(WorldChunk chunk) (package private) void
ClientChunkManager.ClientChunkMap.unloadChunk
(int index, WorldChunk chunk) private void
ClientChunkManager.ClientChunkMap.unloadChunkSections
(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.network.packet.s2c.play
Modifier and TypeMethodDescriptionprivate static int
ChunkData.getSectionsPacketSize
(WorldChunk chunk) private static int
ChunkBiomeDataS2CPacket.Serialized.getTotalPacketSize
(WorldChunk chunk) static void
ChunkBiomeDataS2CPacket.Serialized.write
(PacketByteBuf buf, WorldChunk chunk) static void
ChunkData.writeSections
(PacketByteBuf buf, WorldChunk chunk) Modifier and TypeMethodDescriptionstatic ChunkBiomeDataS2CPacket
ChunkBiomeDataS2CPacket.create
(List<WorldChunk> chunks) ModifierConstructorDescriptionChunkData
(WorldChunk chunk) ChunkDataS2CPacket
(WorldChunk chunk, LightingProvider lightProvider, @Nullable BitSet skyBits, @Nullable BitSet blockBits) Serialized
(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate List
<WorldChunk> ChunkDataSender.makeBatch
(ServerChunkLoadingManager chunkLoadingManager, ChunkPos playerPos) Modifier and TypeMethodDescriptionvoid
ChunkDataSender.add
(WorldChunk chunk) private static void
ChunkDataSender.sendChunkData
(ServerPlayNetworkHandler handler, ServerWorld world, WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate final WorldChunk
ServerChunkManager.ChunkWithHolder.chunk
The field for thechunk
record component.Modifier and TypeFieldDescriptionprivate CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.accessibleFuture
private final List
<WorldChunk> ServerChunkManager.chunks
private CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.entityTickingFuture
private CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.tickingFuture
static final OptionalChunk
<WorldChunk> ChunkHolder.UNLOADED_WORLD_CHUNK
private static final CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.UNLOADED_WORLD_CHUNK_FUTURE
Modifier and TypeMethodDescriptionServerChunkManager.ChunkWithHolder.chunk()
Returns the value of thechunk
record component.ChunkHolder.getPostProcessedChunk()
ServerChunkLoadingManager.getPostProcessedChunk
(long pos) ChunkHolder.getWorldChunk()
ServerChunkManager.getWorldChunk
(int chunkX, int chunkZ) Modifier and TypeMethodDescriptionChunkHolder.getAccessibleFuture()
ChunkHolder.getEntityTickingFuture()
ChunkHolder.getTickingFuture()
ServerChunkLoadingManager.makeChunkAccessible
(ChunkHolder holder) ServerChunkLoadingManager.makeChunkEntitiesTickable
(ChunkHolder holder) ServerChunkLoadingManager.makeChunkTickable
(ChunkHolder holder) Modifier and TypeMethodDescriptionvoid
ServerWorld.disableTickSchedulers
(WorldChunk chunk) void
ChunkHolder.flushUpdates
(WorldChunk chunk) private void
ServerChunkLoadingManager.sendToPlayers
(ChunkHolder chunkHolder, WorldChunk chunk) void
ServerWorld.tickChunk
(WorldChunk chunk, int randomTickSpeed) private static void
ServerChunkLoadingManager.track
(ServerPlayerEntity player, WorldChunk chunk) void
ServerWorld.unloadEntities
(WorldChunk chunk) Modifier and TypeMethodDescriptionprivate void
ServerChunkManager.addChunksToTick
(List<WorldChunk> chunks) private static String
ServerChunkLoadingManager.getFutureStatus
(CompletableFuture<OptionalChunk<WorldChunk>> future) private void
ServerChunkManager.ifChunkLoaded
(long pos, Consumer<WorldChunk> chunkConsumer) private void
ChunkHolder.increaseLevel
(ServerChunkLoadingManager chunkLoadingManager, CompletableFuture<OptionalChunk<WorldChunk>> chunkFuture, Executor executor, ChunkLevelType target) private void
ServerChunkManager.tickChunks
(Profiler profiler, long timeDelta, List<WorldChunk> chunks) ModifierConstructorDescriptionprivate
ChunkWithHolder
(WorldChunk worldChunk, ChunkHolder chunkHolder) -
Uses of WorldChunk in net.minecraft.world
Modifier and TypeMethodDescriptionWorld.getChunk
(int int2, int int3) World.getWorldChunk
(BlockPos pos) Returns the chunk that containspos
.Modifier and TypeMethodDescriptionprivate static BlockPos
SpawnHelper.getRandomPosInChunkSection
(World world, WorldChunk chunk) static void
SpawnHelper.spawn
(ServerWorld world, WorldChunk chunk, SpawnHelper.Info info, List<SpawnGroup> spawnableGroups) static void
SpawnHelper.spawnEntitiesInChunk
(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper.Checker checker, SpawnHelper.Runner runner) Modifier and TypeMethodDescriptionvoid
SpawnHelper.ChunkSource.query
(long pos, Consumer<WorldChunk> chunkConsumer) -
Uses of WorldChunk in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionChunkManager.getWorldChunk
(int chunkX, int chunkZ) ChunkManager.getWorldChunk
(int chunkX, int chunkZ, boolean create) WrapperProtoChunk.getWrappedChunk()
Modifier and TypeMethodDescriptionvoid
WorldChunk.EntityLoader.run
(WorldChunk chunk) void
UpgradeData.upgrade
(WorldChunk chunk) private void
UpgradeData.upgradeCenter
(WorldChunk chunk) private static void
UpgradeData.upgradeSide
(WorldChunk chunk, EightWayDirection side)