class ChunkRenderDispatcher.ChunkRender.RebuildTask extends ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
Modifier and Type | Field and Description |
---|---|
protected ChunkRenderCache |
chunkRenderCache |
distanceSq, finished, modelData
Constructor and Description |
---|
RebuildTask(ChunkPos pos,
double distanceSqIn,
ChunkRenderCache renderCacheIn) |
RebuildTask(double distanceSqIn,
ChunkRenderCache renderCacheIn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
private java.util.Set<TileEntity> |
compile(float xIn,
float yIn,
float zIn,
ChunkRenderDispatcher.CompiledChunk compiledChunkIn,
RegionRenderCacheBuilder builderIn) |
java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> |
execute(RegionRenderCacheBuilder builderIn) |
private <E extends TileEntity> |
handleTileEntity(ChunkRenderDispatcher.CompiledChunk compiledChunkIn,
java.util.Set<TileEntity> tileEntitiesIn,
E tileEntityIn) |
compareTo, getModelData
@Nullable protected ChunkRenderCache chunkRenderCache
@Deprecated public RebuildTask(double distanceSqIn, @Nullable ChunkRenderCache renderCacheIn)
public RebuildTask(@Nullable ChunkPos pos, double distanceSqIn, @Nullable ChunkRenderCache renderCacheIn)
public java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> execute(RegionRenderCacheBuilder builderIn)
execute
in class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
private java.util.Set<TileEntity> compile(float xIn, float yIn, float zIn, ChunkRenderDispatcher.CompiledChunk compiledChunkIn, RegionRenderCacheBuilder builderIn)
private <E extends TileEntity> void handleTileEntity(ChunkRenderDispatcher.CompiledChunk compiledChunkIn, java.util.Set<TileEntity> tileEntitiesIn, E tileEntityIn)
public void cancel()
cancel
in class ChunkRenderDispatcher.ChunkRender.ChunkRenderTask