Uses of Class
net.minecraft.world.chunk.WorldChunk
Packages that use WorldChunk
Package
Description
-
Uses of WorldChunk in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return WorldChunkMethods in net.minecraft.block.entity with parameters of type WorldChunk -
Uses of WorldChunk in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as WorldChunkFields in net.minecraft.client.gui.hud with type parameters of type WorldChunkModifier and TypeFieldDescriptionprivate @Nullable CompletableFuture<WorldChunk>
DebugHud.chunkFuture
Methods in net.minecraft.client.gui.hud that return WorldChunkModifier and TypeMethodDescriptionprivate @Nullable WorldChunk
DebugHud.getChunk()
private WorldChunk
DebugHud.getClientChunk()
-
Uses of WorldChunk in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type WorldChunkModifier and TypeMethodDescriptionprivate void
ClientPlayNetworkHandler.scheduleRenderChunk
(WorldChunk chunk, int x, int z) -
Uses of WorldChunk in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as WorldChunkModifier and TypeFieldDescriptionprivate final WorldChunk
ChunkRendererRegionBuilder.ClientChunk.chunk
private final WorldChunk
RenderedChunk.chunk
Methods in net.minecraft.client.render.chunk that return WorldChunkConstructors in net.minecraft.client.render.chunk with parameters of type WorldChunkModifierConstructorDescription(package private)
ClientChunk
(WorldChunk chunk) (package private)
RenderedChunk
(WorldChunk chunk) -
Uses of WorldChunk in net.minecraft.client.world
Fields in net.minecraft.client.world declared as WorldChunkFields in net.minecraft.client.world with type parameters of type WorldChunkModifier and TypeFieldDescription(package private) final AtomicReferenceArray<WorldChunk>
ClientChunkManager.ClientChunkMap.chunks
Methods in net.minecraft.client.world that return WorldChunkModifier 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) Methods in net.minecraft.client.world with parameters of type WorldChunkModifier 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
Methods in net.minecraft.network.packet.s2c.play with parameters of type WorldChunkModifier and TypeMethodDescriptionprivate static int
ChunkData.getSectionsPacketSize
(WorldChunk chunk) static void
ChunkData.writeSections
(PacketByteBuf buf, WorldChunk chunk) Constructors in net.minecraft.network.packet.s2c.play with parameters of type WorldChunkModifierConstructorDescriptionChunkData
(WorldChunk chunk) ChunkDataS2CPacket
(WorldChunk chunk, LightingProvider lightProvider, @Nullable BitSet skyBits, @Nullable BitSet blockBits, boolean nonEdge) -
Uses of WorldChunk in net.minecraft.server.world
Fields in net.minecraft.server.world declared as WorldChunkModifier and TypeFieldDescriptionprivate final WorldChunk
ServerChunkManager.ChunkWithHolder.chunk
The field for thechunk
record component.Fields in net.minecraft.server.world with type parameters of type WorldChunkModifier 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
Methods in net.minecraft.server.world that return WorldChunkModifier and TypeMethodDescriptionServerChunkManager.ChunkWithHolder.chunk()
Returns the value of thechunk
record component.ChunkHolder.getWorldChunk()
ServerChunkManager.getWorldChunk
(int chunkX, int chunkZ) ChunkHolder.method_41205()
Methods in net.minecraft.server.world that return types with arguments of type WorldChunkModifier 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.makeChunkAccessible
(ChunkHolder holder) 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) Methods in net.minecraft.server.world with parameters of type WorldChunkModifier 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) Method parameters in net.minecraft.server.world with type arguments of type WorldChunkModifier and TypeMethodDescriptionprivate static String
ThreadedAnvilChunkStorage.getFutureStatus
(CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder.Unloaded>> future) 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) Constructors in net.minecraft.server.world with parameters of type WorldChunkModifierConstructorDescription(package private)
ChunkWithHolder
(WorldChunk worldChunk, ChunkHolder chunkHolder) -
Uses of WorldChunk in net.minecraft.world
Methods in net.minecraft.world that return WorldChunkModifier and TypeMethodDescriptionWorld.getChunk
(int int2, int int3) World.getWorldChunk
(BlockPos pos) Returns the chunk that containspos
.Methods in net.minecraft.world with parameters of type WorldChunkModifier and TypeMethodDescriptionprivate static BlockPos
SpawnHelper.getRandomPosInChunkSection
(World world, 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) Method parameters in net.minecraft.world with type arguments of type WorldChunkModifier and TypeMethodDescriptionvoid
SpawnHelper.ChunkSource.query
(long pos, Consumer<WorldChunk> chunkConsumer) -
Uses of WorldChunk in net.minecraft.world.chunk
Subclasses of WorldChunk in net.minecraft.world.chunkFields in net.minecraft.world.chunk declared as WorldChunkMethods in net.minecraft.world.chunk that return WorldChunkModifier and TypeMethodDescriptionChunkManager.getWorldChunk
(int chunkX, int chunkZ) ChunkManager.getWorldChunk
(int chunkX, int chunkZ, boolean create) ReadOnlyChunk.getWrappedChunk()
Methods in net.minecraft.world.chunk with parameters of type WorldChunkModifier 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) Constructors in net.minecraft.world.chunk with parameters of type WorldChunk