static interface ChunkStatus.SimpleTask extends ChunkStatus.Task
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
doWork(ChunkStatus targetStatus,
ServerWorld serverWorld,
ChunkGenerator<?> generator,
StructureManager structureManager,
ServerLightingProvider serverLightingProvider,
Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function,
List<Chunk> list,
Chunk chunk) |
void |
doWork(ServerWorld serverWorld,
ChunkGenerator<?> generator,
List<Chunk> list,
Chunk chunk) |
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> doWork(ChunkStatus targetStatus, ServerWorld serverWorld, ChunkGenerator<?> generator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
doWork
in interface ChunkStatus.Task
void doWork(ServerWorld serverWorld, ChunkGenerator<?> generator, List<Chunk> list, Chunk chunk)