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 ghu$b$a
  • 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 Lghu$b$a;a:D
    • cancelled

      protected final AtomicBoolean 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 Lghu$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 Lghu$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> Lghu$b$a;<init>(Lghu$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/BlockBufferBuilderStorage;)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 Lghu$b$a;a(Lgfe;)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 Lghu$b$a;a()V
    • getName

      protected abstract String 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 Lghu$b$a;b()Ljava/lang/String;
    • compareTo

      public int compareTo(ChunkBuilder.BuiltChunk.Task task)
      Specified by:
      compareTo in interface Comparable<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 Lghu$b$a;a(Lghu$b$a;)I