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 named net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task
intermediary net/minecraft/class_846$class_851$class_4577
official gia$b$a
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AtomicBoolean
protected final double
protected final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
cancel()
int
protected abstract String
getName()
abstract CompletableFuture
<ChunkBuilder.Result> run
(BlockBufferAllocatorStorage buffers)
-
Field Details
-
distance
protected final double distance- Mappings:
Namespace Name Mixin selector named distance
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;distance:D
intermediary field_20835
Lnet/minecraft/class_846$class_851$class_4577;field_20835:D
official a
Lgia$b$a;a:D
-
cancelled
- Mappings:
Namespace Name Mixin selector named cancelled
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;cancelled:Ljava/util/concurrent/atomic/AtomicBoolean;
intermediary field_20836
Lnet/minecraft/class_846$class_851$class_4577;field_20836:Ljava/util/concurrent/atomic/AtomicBoolean;
official b
Lgia$b$a;b:Ljava/util/concurrent/atomic/AtomicBoolean;
-
prioritized
protected final boolean prioritized- Mappings:
Namespace Name Mixin selector named prioritized
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;prioritized:Z
intermediary field_35304
Lnet/minecraft/class_846$class_851$class_4577;field_35304:Z
official c
Lgia$b$a;c:Z
-
-
Constructor Details
-
Task
public Task(double distance, boolean prioritized) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;<init>(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;DZ)V
intermediary <init>
Lnet/minecraft/class_846$class_851$class_4577;<init>(Lnet/minecraft/class_846$class_851;DZ)V
official <init>
Lgia$b$a;<init>(Lgia$b;DZ)V
-
-
Method Details
-
run
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;run(Lnet/minecraft/client/render/chunk/BlockBufferAllocatorStorage;)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;
official a
Lgia$b$a;a(Lgfk;)Ljava/util/concurrent/CompletableFuture;
-
cancel
public abstract void cancel()- Mappings:
Namespace Name Mixin selector named cancel
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;cancel()V
intermediary method_22782
Lnet/minecraft/class_846$class_851$class_4577;method_22782()V
official a
Lgia$b$a;a()V
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;getName()Ljava/lang/String;
intermediary method_38556
Lnet/minecraft/class_846$class_851$class_4577;method_38556()Ljava/lang/String;
official b
Lgia$b$a;b()Ljava/lang/String;
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ChunkBuilder.BuiltChunk.Task>
- Mappings:
Namespace Name Mixin selector named compareTo
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;compareTo(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;)I
intermediary method_22784
Lnet/minecraft/class_846$class_851$class_4577;method_22784(Lnet/minecraft/class_846$class_851$class_4577;)I
official a
Lgia$b$a;a(Lgia$b$a;)I
-