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:
java.lang.Comparable<ChunkRenderDispatcher.ChunkRender.ChunkRenderTask>
- Enclosing class:
- ChunkRenderDispatcher.ChunkRender
class ChunkRenderDispatcher.ChunkRender.RebuildTask extends ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-
-
Field Summary
Fields Modifier and Type Field Description protected ChunkRenderCache
region
-
Fields inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
distAtCreation, isCancelled, modelData
-
-
Constructor Summary
Constructors Constructor Description RebuildTask(double p_i226024_2_, ChunkRenderCache p_i226024_4_)
Deprecated.RebuildTask(ChunkPos pos, double p_i226024_2_, ChunkRenderCache p_i226024_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
private java.util.Set<TileEntity>
compile(float p_228940_1_, float p_228940_2_, float p_228940_3_, ChunkRenderDispatcher.CompiledChunk p_228940_4_, RegionRenderCacheBuilder p_228940_5_)
java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult>
doTask(RegionRenderCacheBuilder p_225618_1_)
private <E extends TileEntity>
voidhandleBlockEntity(ChunkRenderDispatcher.CompiledChunk p_228942_1_, java.util.Set<TileEntity> p_228942_2_, E p_228942_3_)
-
Methods inherited from class net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
compareTo, getModelData
-
-
-
-
Field Detail
-
region
@Nullable protected ChunkRenderCache region
-
-
Constructor Detail
-
RebuildTask
@Deprecated public RebuildTask(double p_i226024_2_, @Nullable ChunkRenderCache p_i226024_4_)
Deprecated.
-
RebuildTask
public RebuildTask(@Nullable ChunkPos pos, double p_i226024_2_, @Nullable ChunkRenderCache p_i226024_4_)
-
-
Method Detail
-
doTask
public java.util.concurrent.CompletableFuture<ChunkRenderDispatcher.ChunkTaskResult> doTask(RegionRenderCacheBuilder p_225618_1_)
- Specified by:
doTask
in classChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-
compile
private java.util.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_, java.util.Set<TileEntity> p_228942_2_, E p_228942_3_)
-
cancel
public void cancel()
- Specified by:
cancel
in classChunkRenderDispatcher.ChunkRender.ChunkRenderTask
-
-