Class ChunkRenderDispatcher.ChunkRender.RebuildTask
java.lang.Object
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.RebuildTask
- All Implemented Interfaces:
Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
- Enclosing class:
- ChunkRenderDispatcher.ChunkRender
class ChunkRenderDispatcher.ChunkRender.RebuildTask
extends ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
distAtCreation, isCancelled, modelData
-
Constructor Summary
ConstructorDescriptionRebuildTask
(double p_i226024_2_, ChunkRenderCache p_i226024_4_) Deprecated.RebuildTask
(ChunkPos pos, double p_i226024_2_, ChunkRenderCache p_i226024_4_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
private Set<TileEntity>
compile
(float p_228940_1_, float p_228940_2_, float p_228940_3_, ChunkRenderDispatcher.CompiledChunk p_228940_4_, RegionRenderCacheBuilder p_228940_5_) doTask
(RegionRenderCacheBuilder p_225618_1_) private <E extends TileEntity>
voidhandleBlockEntity
(ChunkRenderDispatcher.CompiledChunk p_228942_1_, Set<TileEntity> p_228942_2_, E p_228942_3_) Methods inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
compareTo, getModelData
-
Field Details
-
region
-
-
Constructor Details
-
RebuildTask
Deprecated. -
RebuildTask
public RebuildTask(@Nullable ChunkPos pos, double p_i226024_2_, @Nullable ChunkRenderCache p_i226024_4_)
-
-
Method Details
-
doTask
public CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> doTask(RegionRenderCacheBuilder p_225618_1_) - Specified by:
doTask
in classChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-
compile
private Set<TileEntity> compile(float p_228940_1_, float p_228940_2_, float p_228940_3_, ChunkRenderDispatcher.CompiledChunk p_228940_4_, RegionRenderCacheBuilder p_228940_5_) -
handleBlockEntity
private <E extends TileEntity> void handleBlockEntity(ChunkRenderDispatcher.CompiledChunk p_228942_1_, Set<TileEntity> p_228942_2_, E p_228942_3_) -
cancel
public void cancel()- Specified by:
cancel
in classChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-