public class ProtoChunkScheduler extends Scheduler<ChunkPos,ChunkStatus,ChunkPrimer>
Scheduler.FutureWrapperschedulerPool| Constructor and Description |
|---|
ProtoChunkScheduler(int concurrency,
World worldIn,
IChunkGenerator<?> chunkGeneratorIn,
IChunkLoader chunkLoaderIn,
IThreadListener threadListenerIn) |
| Modifier and Type | Method and Description |
|---|---|
protected Scheduler.FutureWrapper |
func_212252_a_(ChunkPos p_212252_1_,
boolean p_212252_2_) |
protected void |
onTaskFinish(ChunkPos key,
Scheduler.FutureWrapper futureWrapper) |
protected Scheduler.FutureWrapper |
onTaskStart(ChunkPos pos,
Scheduler.FutureWrapper futureWrapperIn) |
protected ChunkPrimer |
runTask(ChunkPos key,
ChunkStatus taskType,
java.util.Map<ChunkPos,ChunkPrimer> providingMap) |
void |
save(java.util.function.BooleanSupplier p_208484_1_) |
createFutureWrapper, func_212537_b, gather, getLastFuture, schedule, shutdownpublic ProtoChunkScheduler(int concurrency,
World worldIn,
IChunkGenerator<?> chunkGeneratorIn,
IChunkLoader chunkLoaderIn,
IThreadListener threadListenerIn)
@Nullable protected Scheduler.FutureWrapper func_212252_a_(ChunkPos p_212252_1_, boolean p_212252_2_)
func_212252_a_ in class Scheduler<ChunkPos,ChunkStatus,ChunkPrimer>protected ChunkPrimer runTask(ChunkPos key, ChunkStatus taskType, java.util.Map<ChunkPos,ChunkPrimer> providingMap)
runTask in class Scheduler<ChunkPos,ChunkStatus,ChunkPrimer>protected Scheduler.FutureWrapper onTaskStart(ChunkPos pos, Scheduler.FutureWrapper futureWrapperIn)
onTaskStart in class Scheduler<ChunkPos,ChunkStatus,ChunkPrimer>protected void onTaskFinish(ChunkPos key, Scheduler.FutureWrapper futureWrapper)
onTaskFinish in class Scheduler<ChunkPos,ChunkStatus,ChunkPrimer>public void save(java.util.function.BooleanSupplier p_208484_1_)