Class SectionRenderDispatcher.RenderSection.RebuildTask
java.lang.Object
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.RebuildTask
- Enclosing class:
SectionRenderDispatcher.RenderSection
class SectionRenderDispatcher.RenderSection.RebuildTask
extends SectionRenderDispatcher.RenderSection.CompileTask
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<AddSectionGeometryEvent.AdditionalSectionRenderer> protected RenderChunkRegion
Fields inherited from class net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
isCancelled, isCompleted, isRecompile
-
Constructor Summary
ConstructorsConstructorDescriptionRebuildTask
(RenderChunkRegion pRegion, boolean pIsRecompile) Deprecated.RebuildTask
(RenderChunkRegion pRegion, boolean pIsRecompile, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
doTask
(SectionBufferBuilderPack p_296138_) protected String
name()
Methods inherited from class net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
getRenderOrigin, isRecompile
-
Field Details
-
region
-
additionalRenderers
-
-
Constructor Details
-
RebuildTask
Deprecated. -
RebuildTask
public RebuildTask(@Nullable RenderChunkRegion pRegion, boolean pIsRecompile, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers)
-
-
Method Details
-
name
- Specified by:
name
in classSectionRenderDispatcher.RenderSection.CompileTask
-
doTask
public CompletableFuture<SectionRenderDispatcher.SectionTaskResult> doTask(SectionBufferBuilderPack p_296138_) - Specified by:
doTask
in classSectionRenderDispatcher.RenderSection.CompileTask
-
cancel
public void cancel()- Specified by:
cancel
in classSectionRenderDispatcher.RenderSection.CompileTask
-