Package net.minecraft.world.chunk
Interface ChunkStatus.LoadTask
- Enclosing class:
ChunkStatus
private static interface ChunkStatus.LoadTask
A task called when a chunk is loaded but does not need to be generated.
- Mappings:
Namespace Name official ddu$c
intermediary net/minecraft/class_2806$class_4305
named net/minecraft/world/chunk/ChunkStatus$LoadTask
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> doWork
(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk)
-
Method Details
-
doWork
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> doWork(ChunkStatus targetStatus, ServerWorld world, StructureTemplateManager structureTemplateManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) - Parameters:
fullChunkConverter
- a function that can convert a raw chunk to a full chunk- Mappings:
Namespace Name Mixin selector official doWork
Lddu$c;doWork(Lddu;Laid;Ldvm;Laig;Ljava/util/function/Function;Lddp;)Ljava/util/concurrent/CompletableFuture;
intermediary doWork
Lnet/minecraft/class_2806$class_4305;doWork(Lnet/minecraft/class_2806;Lnet/minecraft/class_3218;Lnet/minecraft/class_3485;Lnet/minecraft/class_3227;Ljava/util/function/Function;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
named doWork
Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;doWork(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/server/world/ServerLightingProvider;Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-