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 cmp$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, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, Chunk chunk)
-
Method Details
-
doWork
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> doWork(ChunkStatus targetStatus, ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, Chunk chunk)- Mappings:
Namespace Name Mixin selector official doWork
Lcmp$c;doWork(Lcmp;Labr;Ldcp;Labu;Ljava/util/function/Function;Lcml;)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/StructureManager;Lnet/minecraft/server/world/ServerLightingProvider;Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-