Package net.minecraft.world.chunk
Interface ChunkStatus.SimpleGenerationTask
- All Superinterfaces:
ChunkStatus.GenerationTask
- Enclosing class:
- ChunkStatus
static interface ChunkStatus.SimpleGenerationTask extends ChunkStatus.GenerationTask
- Mappings:
Namespace Name official cjp$d
intermediary net/minecraft/class_2806$class_3768
named net/minecraft/world/chunk/ChunkStatus$SimpleGenerationTask
-
Method Summary
Modifier and Type Method Description void
doWork(ServerWorld world, ChunkGenerator generator, List<Chunk> surroundingChunks, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
doWork(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> surroundingChunks, Chunk chunk)
-
Method Details
-
doWork
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> doWork(ChunkStatus targetStatus, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> surroundingChunks, Chunk chunk)- Specified by:
doWork
in interfaceChunkStatus.GenerationTask
- Parameters:
targetStatus
- the status the chunk will be set to after the task is completedchunk
- the primary chunk this task will be applied to- Mappings:
Namespace Name Mixin selector official doWork
Lcjp$b;doWork(Lcjp;Laav;Lcjn;Lcyj;Laay;Ljava/util/function/Function;Ljava/util/List;Lcjl;)Ljava/util/concurrent/CompletableFuture;
intermediary doWork
Lnet/minecraft/class_2806$class_2807;doWork(Lnet/minecraft/class_2806;Lnet/minecraft/class_3218;Lnet/minecraft/class_2794;Lnet/minecraft/class_3485;Lnet/minecraft/class_3227;Ljava/util/function/Function;Ljava/util/List;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
named doWork
Lnet/minecraft/world/chunk/ChunkStatus$GenerationTask;doWork(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureManager;Lnet/minecraft/server/world/ServerLightingProvider;Ljava/util/function/Function;Ljava/util/List;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-
doWork
void doWork(ServerWorld world, ChunkGenerator generator, List<Chunk> surroundingChunks, Chunk chunk)- Mappings:
Namespace Name Mixin selector official doWork
Lcjp$d;doWork(Laav;Lcjn;Ljava/util/List;Lcjl;)V
intermediary doWork
Lnet/minecraft/class_2806$class_3768;doWork(Lnet/minecraft/class_3218;Lnet/minecraft/class_2794;Ljava/util/List;Lnet/minecraft/class_2791;)V
named doWork
Lnet/minecraft/world/chunk/ChunkStatus$SimpleGenerationTask;doWork(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/List;Lnet/minecraft/world/chunk/Chunk;)V
-