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) abstract class ChunkBuilder.BuiltChunk.Task extends Object implements Comparable<ChunkBuilder.BuiltChunk.Task>
- Mappings:
Namespace Name official ekg$c$a
intermediary net/minecraft/class_846$class_851$class_4577
named net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task
-
Field Summary
Fields Modifier and Type Field Description protected AtomicBoolean
cancelled
protected double
distance
-
Constructor Summary
Constructors Constructor Description Task(double double2)
-
Method Summary
Modifier and Type Method Description abstract void
cancel()
int
compareTo(ChunkBuilder.BuiltChunk.Task task)
abstract CompletableFuture<ChunkBuilder.Result>
run(BlockBufferBuilderStorage buffers)
-
Field Details
-
distance
protected final double distance- Mappings:
Namespace Name Mixin selector official a
Lekg$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
Lekg$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;
-
-
Constructor Details
-
Task
public Task(double double2)
-
-
Method Details
-
run
- Mappings:
Namespace Name Mixin selector official a
Lekg$c$a;a(Lehd;)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
Lekg$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
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ChunkBuilder.BuiltChunk.Task>
- Mappings:
Namespace Name Mixin selector official a
Lekg$c$a;a(Lekg$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
-