public class ChunkGenWorker extends java.lang.Object implements WorldWorkerManager.IWorker
コンストラクタと説明 |
---|
ChunkGenWorker(CommandSource listener,
BlockPos start,
int total,
DimensionType dim,
int interval) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected java.util.Queue<BlockPos> |
buildQueue() |
boolean |
doWork()
Perform a task, returning true from this will have the manager call this function again this tick if there is time left.
|
TextComponent |
getStartMessage(CommandSource sender) |
boolean |
hasWork() |
protected final BlockPos start
protected final int total
public ChunkGenWorker(CommandSource listener, BlockPos start, int total, DimensionType dim, int interval)
protected java.util.Queue<BlockPos> buildQueue()
public TextComponent getStartMessage(CommandSource sender)
public boolean hasWork()
hasWork
インタフェース内 WorldWorkerManager.IWorker
public boolean doWork()
WorldWorkerManager.IWorker
doWork
インタフェース内 WorldWorkerManager.IWorker