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 TypeMethodDescriptionstatic boolean
ChunkRendererRegion.isEmptyBetween
(BlockPos from, BlockPos to, int int2, int int3, WorldChunk[][] chunks) ModifierConstructorDescriptionChunkRendererRegion
(World world, int chunkX, int chunkZ, WorldChunk[][] chunks) -
Uses of WorldChunk in net.minecraft.client.world
Modifier and TypeFieldDescription(package private) final AtomicReferenceArray<WorldChunk>
ClientChunkManager.ClientChunkMap.chunks
Modifier and TypeMethodDescriptionprotected WorldChunk
ClientChunkManager.ClientChunkMap.compareAndSet
(int index, WorldChunk expect, @Nullable WorldChunk update) protected @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 TypeMethodDescriptionprotected WorldChunk
ClientChunkManager.ClientChunkMap.compareAndSet
(int index, WorldChunk expect, @Nullable WorldChunk update) private static boolean
ClientChunkManager.positionEquals
(@Nullable WorldChunk chunk, int x, int z) protected void
ClientChunkManager.ClientChunkMap.set
(int index, @Nullable WorldChunk chunk) void
ClientWorld.unloadBlockEntities
(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.network.packet.s2c.play
Modifier and TypeMethodDescriptionprivate static int
ChunkData.getSectionsPacketSize
(WorldChunk chunk) static void
ChunkData.writeSections
(PacketByteBuf buf, WorldChunk chunk) ModifierConstructorDescriptionChunkData
(WorldChunk chunk) ChunkDataS2CPacket
(WorldChunk chunk, LightingProvider lightProvider, @Nullable BitSet bitSet, @Nullable BitSet bitSet2, boolean bool) -
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<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.accessibleFuture
private CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.entityTickingFuture
private CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.tickingFuture
static final com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded> ChunkHolder.UNLOADED_WORLD_CHUNK
private static final CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.UNLOADED_WORLD_CHUNK_FUTURE
Modifier and TypeMethodDescriptionServerChunkManager.ChunkWithHolder.chunk()
Returns the value of thechunk
record component.ChunkHolder.getWorldChunk()
ServerChunkManager.getWorldChunk
(int chunkX, int chunkZ) Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.getAccessibleFuture()
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.getEntityTickingFuture()
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ChunkHolder.getTickingFuture()
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.makeChunkEntitiesTickable
(ChunkPos pos) CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.makeChunkTickable
(ChunkHolder holder) CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.method_31417
(ChunkHolder chunkHolder) Modifier and TypeMethodDescriptionvoid
ServerWorld.disableTickSchedulers
(WorldChunk chunk) void
ChunkHolder.flushUpdates
(WorldChunk chunk) private void
ThreadedAnvilChunkStorage.sendChunkDataPackets
(ServerPlayerEntity player, MutableObject<ChunkDataS2CPacket> cachedDataPacket, WorldChunk chunk) void
ServerWorld.tickChunk
(WorldChunk chunk, int randomTickSpeed) void
ServerWorld.unloadEntities
(WorldChunk chunk) Modifier and TypeMethodDescriptionprivate static String
ThreadedAnvilChunkStorage.getFutureStatus
(CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder.Unloaded>> completableFuture) private void
ServerChunkManager.ifChunkLoaded
(long pos, Consumer<WorldChunk> chunkConsumer) private void
ChunkHolder.method_31409
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder.Unloaded>> completableFuture, Executor executor, ChunkHolder.LevelType levelType) ModifierConstructorDescription(package private)
ChunkWithHolder
(WorldChunk worldChunk, ChunkHolder chunkHolder) -
Uses of WorldChunk in net.minecraft.world
Modifier and TypeMethodDescriptionWorld.getChunk
(int int2, int int3) World.getWorldChunk
(BlockPos pos) Modifier and TypeMethodDescriptionprivate static BlockPos
SpawnHelper.getRandomPosInChunkSection
(World world, WorldChunk chunk) private static void
ChunkSerializer.loadEntities
(ServerWorld world, NbtCompound nbt, WorldChunk chunk) static void
SpawnHelper.spawn
(ServerWorld world, WorldChunk chunk, SpawnHelper.Info info, boolean spawnAnimals, boolean spawnMonsters, boolean rareSpawn) 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 TypeFieldDescriptionprivate @Nullable Consumer<WorldChunk>
WorldChunk.loadToWorldConsumer
Modifier and TypeMethodDescriptionChunkManager.getWorldChunk
(int chunkX, int chunkZ) ChunkManager.getWorldChunk
(int chunkX, int chunkZ, boolean create) ReadOnlyChunk.getWrappedChunk()
Modifier and TypeMethodDescriptionvoid
UpgradeData.upgrade
(WorldChunk chunk) private void
UpgradeData.upgradeCenter
(WorldChunk chunk) private static void
UpgradeData.upgradeSide
(WorldChunk chunk, EightWayDirection side) ModifierConstructorDescriptionWorldChunk
(ServerWorld world, ProtoChunk protoChunk, @Nullable Consumer<WorldChunk> loadToWorldConsumer) WorldChunk
(World world, ChunkPos pos, UpgradeData upgradeData, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable Consumer<WorldChunk> loadToWorldConsumer, @Nullable Blender blendingData)