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
ConstructorDescriptionCompileTask
(double p_294428_, boolean p_295051_) Deprecated.CompileTask
(SectionPos sectionPos, double p_294428_, boolean p_295051_) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
doTask
(SectionBufferBuilderPack p_294622_) getModelData
(BlockPos pos) protected abstract String
name()
-
Field Details
-
distAtCreation
protected final double distAtCreation -
isCancelled
-
isHighPriority
protected final boolean isHighPriority -
modelData
-
-
Constructor Details
-
CompileTask
Deprecated. -
CompileTask
-
-
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>
-
getModelData
-