public class ChunkGenWorker extends java.lang.Object implements WorldWorkerManager.IWorker
Modifier and Type | Field and Description |
---|---|
protected BlockPos |
start |
protected int |
total |
Constructor and Description |
---|
ChunkGenWorker(ICommandSender listener,
BlockPos start,
int total,
int dim,
int interval) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Queue<BlockPos> |
buildQueue() |
TextComponentTranslation |
getStartMessage()
Deprecated.
|
TextComponentBase |
getStartMessage(ICommandSender sender) |
boolean |
hasWork() |
void |
work() |
protected final BlockPos start
protected final int total
public ChunkGenWorker(ICommandSender listener, BlockPos start, int total, int dim, int interval)
protected java.util.Queue<BlockPos> buildQueue()
@Deprecated public TextComponentTranslation getStartMessage()
public TextComponentBase getStartMessage(ICommandSender sender)
public boolean hasWork()
hasWork
in interface WorldWorkerManager.IWorker
public void work()
work
in interface WorldWorkerManager.IWorker