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
FieldsModifier and TypeFieldDescriptionprotected final doubleprotected final AtomicBooleanprotected final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcancel()intdoTask(SectionBufferBuilderPack p_294622_) protected abstract Stringname()
-
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:
compareToin interfaceComparable<SectionRenderDispatcher.RenderSection.CompileTask>
-