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_300617_, boolean p_299251_) CompileTask
(ChunkPos pos, double p_300617_, boolean p_299251_) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
doTask
(SectionBufferBuilderPack p_300298_) getModelData
(BlockPos pos) protected abstract String
name()
-
Field Details
-
distAtCreation
protected final double distAtCreation -
isCancelled
-
isHighPriority
protected final boolean isHighPriority -
modelData
-
-
Constructor Details
-
CompileTask
public CompileTask(double p_300617_, boolean p_299251_) -
CompileTask
-
-
Method Details
-
doTask
public abstract CompletableFuture<SectionRenderDispatcher.SectionTaskResult> doTask(SectionBufferBuilderPack p_300298_) -
cancel
public abstract void cancel() -
name
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SectionRenderDispatcher.RenderSection.CompileTask>
-
getModelData
-