public class ChunkCompileTaskGenerator extends java.lang.Object implements java.lang.Comparable<ChunkCompileTaskGenerator>
Modifier and Type | Class and Description |
---|---|
static class |
ChunkCompileTaskGenerator.Status |
static class |
ChunkCompileTaskGenerator.Type |
Constructor and Description |
---|
ChunkCompileTaskGenerator(RenderChunk renderChunkIn,
ChunkCompileTaskGenerator.Type typeIn,
double distanceSqIn) |
Modifier and Type | Method and Description |
---|---|
void |
addFinishRunnable(java.lang.Runnable runnable) |
int |
compareTo(ChunkCompileTaskGenerator p_compareTo_1_) |
void |
finish() |
CompiledChunk |
getCompiledChunk() |
double |
getDistanceSq() |
java.util.concurrent.locks.ReentrantLock |
getLock() |
RegionRenderCacheBuilder |
getRegionRenderCacheBuilder() |
RenderChunk |
getRenderChunk() |
ChunkCompileTaskGenerator.Status |
getStatus() |
ChunkCompileTaskGenerator.Type |
getType() |
boolean |
isFinished() |
void |
setCompiledChunk(CompiledChunk compiledChunkIn) |
void |
setRegionRenderCacheBuilder(RegionRenderCacheBuilder regionRenderCacheBuilderIn) |
void |
setStatus(ChunkCompileTaskGenerator.Status statusIn) |
public ChunkCompileTaskGenerator(RenderChunk renderChunkIn, ChunkCompileTaskGenerator.Type typeIn, double distanceSqIn)
public ChunkCompileTaskGenerator.Status getStatus()
public RenderChunk getRenderChunk()
public CompiledChunk getCompiledChunk()
public void setCompiledChunk(CompiledChunk compiledChunkIn)
public RegionRenderCacheBuilder getRegionRenderCacheBuilder()
public void setRegionRenderCacheBuilder(RegionRenderCacheBuilder regionRenderCacheBuilderIn)
public void setStatus(ChunkCompileTaskGenerator.Status statusIn)
public void finish()
public void addFinishRunnable(java.lang.Runnable runnable)
public java.util.concurrent.locks.ReentrantLock getLock()
public ChunkCompileTaskGenerator.Type getType()
public boolean isFinished()
public int compareTo(ChunkCompileTaskGenerator p_compareTo_1_)
compareTo
in interface java.lang.Comparable<ChunkCompileTaskGenerator>
public double getDistanceSq()