Class ChunkBuilder.BuiltChunk.Task
java.lang.Object
net.minecraft.client.render.chunk.ChunkBuilder.BuiltChunk.Task
- All Implemented Interfaces:
Comparable<ChunkBuilder.BuiltChunk.Task>
- Direct Known Subclasses:
ChunkBuilder.BuiltChunk.RebuildTask
,ChunkBuilder.BuiltChunk.SortTask
- Enclosing class:
ChunkBuilder.BuiltChunk
@Environment(CLIENT)
private abstract class ChunkBuilder.BuiltChunk.Task
extends Object
implements Comparable<ChunkBuilder.BuiltChunk.Task>
- Mappings:
Namespace Name official fch$c$a
intermediary net/minecraft/class_846$class_851$class_4577
named net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AtomicBoolean
protected final double
protected final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
protected abstract String
getName()
abstract CompletableFuture<ChunkBuilder.Result>
run
(BlockBufferBuilderStorage buffers)
-
Field Details
-
distance
protected final double distance- Mappings:
Namespace Name Mixin selector official a
Lfch$c$a;a:D
intermediary field_20835
Lnet/minecraft/class_846$class_851$class_4577;field_20835:D
named distance
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;distance:D
-
cancelled
- Mappings:
Namespace Name Mixin selector official b
Lfch$c$a;b:Ljava/util/concurrent/atomic/AtomicBoolean;
intermediary field_20836
Lnet/minecraft/class_846$class_851$class_4577;field_20836:Ljava/util/concurrent/atomic/AtomicBoolean;
named cancelled
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
-
prioritized
protected final boolean prioritized- Mappings:
Namespace Name Mixin selector official c
Lfch$c$a;c:Z
intermediary field_35304
Lnet/minecraft/class_846$class_851$class_4577;field_35304:Z
named prioritized
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;prioritized:Z
-
-
Constructor Details
-
Task
public Task(double distance, boolean prioritized) - Mappings:
Namespace Name Mixin selector official <init>
Lfch$c$a;<init>(Lfch$c;DZ)V
intermediary <init>
Lnet/minecraft/class_846$class_851$class_4577;<init>(Lnet/minecraft/class_846$class_851;DZ)V
named <init>
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;<init>(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;DZ)V
-
-
Method Details
-
run
- Mappings:
Namespace Name Mixin selector official a
Lfch$c$a;a(Lezf;)Ljava/util/concurrent/CompletableFuture;
intermediary method_22783
Lnet/minecraft/class_846$class_851$class_4577;method_22783(Lnet/minecraft/class_750;)Ljava/util/concurrent/CompletableFuture;
named run
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;run(Lnet/minecraft/client/render/chunk/BlockBufferBuilderStorage;)Ljava/util/concurrent/CompletableFuture;
-
cancel
public abstract void cancel()- Mappings:
Namespace Name Mixin selector official a
Lfch$c$a;a()V
intermediary method_22782
Lnet/minecraft/class_846$class_851$class_4577;method_22782()V
named cancel
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;cancel()V
-
getName
- Mappings:
Namespace Name Mixin selector official b
Lfch$c$a;b()Ljava/lang/String;
intermediary method_38556
Lnet/minecraft/class_846$class_851$class_4577;method_38556()Ljava/lang/String;
named getName
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;getName()Ljava/lang/String;
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ChunkBuilder.BuiltChunk.Task>
- Mappings:
Namespace Name Mixin selector official a
Lfch$c$a;a(Lfch$c$a;)I
intermediary method_22784
Lnet/minecraft/class_846$class_851$class_4577;method_22784(Lnet/minecraft/class_846$class_851$class_4577;)I
named compareTo
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;compareTo(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;)I
-