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 faj$c$a
intermediary net/minecraft/class_846$class_851$class_4577
named net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task
  • Field Details

    • distance

      protected final double distance
      Mappings:
      Namespace Name Mixin selector
      official a Lfaj$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

      protected final AtomicBoolean cancelled
      Mappings:
      Namespace Name Mixin selector
      official b Lfaj$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 Lfaj$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> Lfaj$c$a;<init>(Lfaj$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 Lfaj$c$a;a(Lexh;)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 Lfaj$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

      protected abstract String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lfaj$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

      public int compareTo(ChunkBuilder.BuiltChunk.Task task)
      Specified by:
      compareTo in interface Comparable<ChunkBuilder.BuiltChunk.Task>
      Mappings:
      Namespace Name Mixin selector
      official a Lfaj$c$a;a(Lfaj$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