static interface ChunkStatus.SimpleGenerationTask extends ChunkStatus.GenerationTask
| Modifier and Type | Method and Description |
|---|---|
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) |
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)
doWork in interface ChunkStatus.GenerationTasktargetStatus - the status the chunk will be set to after the task is completedchunk - the primary chunk this task will be applied tovoid doWork(ServerWorld world, ChunkGenerator generator, List<Chunk> surroundingChunks, Chunk chunk)