Uses of Class
net.minecraft.server.world.ThreadedAnvilChunkStorage
-
Uses of ThreadedAnvilChunkStorage in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate List<WorldChunk>
ChunkDataSender.makeBatch
(ThreadedAnvilChunkStorage chunkStorage, ChunkPos playerPos) -
Uses of ThreadedAnvilChunkStorage in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate final ThreadedAnvilChunkStorage
ServerLightingProvider.chunkStorage
ServerChunkManager.threadedAnvilChunkStorage
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkHolder.getChunkAt
(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage) private void
ChunkHolder.method_31408
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, ChunkLevelType chunkLevelType) private void
ChunkHolder.method_31409
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder.Unloaded>> completableFuture, Executor executor, ChunkLevelType chunkLevelType) boolean
ChunkTicketManager.update
(ThreadedAnvilChunkStorage chunkStorage) Update the states related to chunk tickets and chunk loading levels, which mainly involves three kind of updates: Add or remove PLAYER tickets when necessary. Update the expected loading states of chunks depending on their new levels. Special updates of chunks with PLAYER tickets added recently.protected void
ChunkHolder.updateFutures
(ThreadedAnvilChunkStorage chunkStorage, Executor executor) UpdatesFutures
indicating the expected loading state of the underlying chunk of thisChunkHolder
.ModifierConstructorDescriptionServerLightingProvider
(ChunkProvider chunkProvider, ThreadedAnvilChunkStorage chunkStorage, boolean hasBlockLight, TaskExecutor<Runnable> processor, MessageListener<ChunkTaskPrioritySystem.Task<Runnable>> executor) -
Uses of ThreadedAnvilChunkStorage in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final ThreadedAnvilChunkStorage
SpawnDensityCapper.threadedAnvilChunkStorage
ModifierConstructorDescriptionSpawnDensityCapper
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage)