public class ChunkCompileTaskGenerator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ChunkCompileTaskGenerator.Status |
static class |
ChunkCompileTaskGenerator.Type |
Modifier and Type | Field and Description |
---|---|
private CompiledChunk |
compiledChunk |
private boolean |
finished |
private java.util.List<java.lang.Runnable> |
listFinishRunnables |
private java.util.concurrent.locks.ReentrantLock |
lock |
private RegionRenderCacheBuilder |
regionRenderCacheBuilder |
private RenderChunk |
renderChunk |
private ChunkCompileTaskGenerator.Status |
status |
private ChunkCompileTaskGenerator.Type |
type |
Constructor and Description |
---|
ChunkCompileTaskGenerator(RenderChunk renderChunkIn,
ChunkCompileTaskGenerator.Type typeIn) |
Modifier and Type | Method and Description |
---|---|
void |
addFinishRunnable(java.lang.Runnable p_178539_1_) |
void |
finish() |
CompiledChunk |
getCompiledChunk() |
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) |
private final RenderChunk renderChunk
private final java.util.concurrent.locks.ReentrantLock lock
private final java.util.List<java.lang.Runnable> listFinishRunnables
private final ChunkCompileTaskGenerator.Type type
private RegionRenderCacheBuilder regionRenderCacheBuilder
private CompiledChunk compiledChunk
private ChunkCompileTaskGenerator.Status status
private boolean finished
public ChunkCompileTaskGenerator(RenderChunk renderChunkIn, ChunkCompileTaskGenerator.Type typeIn)
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 p_178539_1_)
public java.util.concurrent.locks.ReentrantLock getLock()
public ChunkCompileTaskGenerator.Type getType()
public boolean isFinished()