Class SectionRenderDispatcher.RenderSection.CompileTask
java.lang.Object
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection.CompileTask
- All Implemented Interfaces:
Comparable<SectionRenderDispatcher.RenderSection.CompileTask>
- Direct Known Subclasses:
SectionRenderDispatcher.RenderSection.RebuildTask
,SectionRenderDispatcher.RenderSection.ResortTransparencyTask
- Enclosing class:
SectionRenderDispatcher.RenderSection
abstract class SectionRenderDispatcher.RenderSection.CompileTask
extends Object
implements Comparable<SectionRenderDispatcher.RenderSection.CompileTask>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final double
protected final AtomicBoolean
protected final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
doTask
(SectionBufferBuilderPack p_294622_) protected abstract String
name()
-
Field Details
-
distAtCreation
protected final double distAtCreation -
isCancelled
-
isHighPriority
protected final boolean isHighPriority
-
-
Constructor Details
-
CompileTask
public CompileTask(double p_294428_, boolean p_295051_)
-
-
Method Details
-
doTask
public abstract CompletableFuture<SectionRenderDispatcher.SectionTaskResult> doTask(SectionBufferBuilderPack p_294622_) -
cancel
public abstract void cancel() -
name
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SectionRenderDispatcher.RenderSection.CompileTask>
-