Class WorldGenerationProgressTracker

java.lang.Object
net.minecraft.client.gui.WorldGenerationProgressTracker
All Implemented Interfaces:
WorldGenerationProgressListener

public class WorldGenerationProgressTracker extends Object implements WorldGenerationProgressListener
Mappings:
Namespace Name
official ajc
intermediary net/minecraft/class_3953
named net/minecraft/client/gui/WorldGenerationProgressTracker
  • Field Details

    • progressLogger

      private final WorldGenerationProgressLogger progressLogger
      Mappings:
      Namespace Name Mixin selector
      official a Lajc;a:Laja;
      intermediary field_17474 Lnet/minecraft/class_3953;field_17474:Lnet/minecraft/class_3951;
      named progressLogger Lnet/minecraft/client/gui/WorldGenerationProgressTracker;progressLogger:Lnet/minecraft/server/WorldGenerationProgressLogger;
    • chunkStatuses

      private final Long2ObjectOpenHashMap<ChunkStatus> chunkStatuses
      Mappings:
      Namespace Name Mixin selector
      official b Lajc;b:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
      intermediary field_17475 Lnet/minecraft/class_3953;field_17475:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
      named chunkStatuses Lnet/minecraft/client/gui/WorldGenerationProgressTracker;chunkStatuses:Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
    • spawnPos

      private ChunkPos spawnPos
      Mappings:
      Namespace Name Mixin selector
      official c Lajc;c:Lclp;
      intermediary field_17476 Lnet/minecraft/class_3953;field_17476:Lnet/minecraft/class_1923;
      named spawnPos Lnet/minecraft/client/gui/WorldGenerationProgressTracker;spawnPos:Lnet/minecraft/util/math/ChunkPos;
    • centerSize

      private final int centerSize
      Mappings:
      Namespace Name Mixin selector
      official d Lajc;d:I
      intermediary field_17477 Lnet/minecraft/class_3953;field_17477:I
      named centerSize Lnet/minecraft/client/gui/WorldGenerationProgressTracker;centerSize:I
    • radius

      private final int radius
      Mappings:
      Namespace Name Mixin selector
      official e Lajc;e:I
      intermediary field_17478 Lnet/minecraft/class_3953;field_17478:I
      named radius Lnet/minecraft/client/gui/WorldGenerationProgressTracker;radius:I
    • size

      private final int size
      Mappings:
      Namespace Name Mixin selector
      official f Lajc;f:I
      intermediary field_17479 Lnet/minecraft/class_3953;field_17479:I
      named size Lnet/minecraft/client/gui/WorldGenerationProgressTracker;size:I
    • running

      private boolean running
      Mappings:
      Namespace Name Mixin selector
      official g Lajc;g:Z
      intermediary field_17480 Lnet/minecraft/class_3953;field_17480:Z
      named running Lnet/minecraft/client/gui/WorldGenerationProgressTracker;running:Z
  • Constructor Details

    • WorldGenerationProgressTracker

      public WorldGenerationProgressTracker(int radius)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajc;<init>(I)V
      intermediary <init> Lnet/minecraft/class_3953;<init>(I)V
      named <init> Lnet/minecraft/client/gui/WorldGenerationProgressTracker;<init>(I)V
  • Method Details

    • start

      public void start(ChunkPos spawnPos)
      Specified by:
      start in interface WorldGenerationProgressListener
      Mappings:
      Namespace Name Mixin selector
      official a Laiy;a(Lclp;)V
      intermediary method_17669 Lnet/minecraft/class_3949;method_17669(Lnet/minecraft/class_1923;)V
      named start Lnet/minecraft/server/WorldGenerationProgressListener;start(Lnet/minecraft/util/math/ChunkPos;)V
    • setChunkStatus

      public void setChunkStatus(ChunkPos pos, @Nullable @Nullable ChunkStatus status)
      Specified by:
      setChunkStatus in interface WorldGenerationProgressListener
      Mappings:
      Namespace Name Mixin selector
      official a Laiy;a(Lclp;Ldds;)V
      intermediary method_17670 Lnet/minecraft/class_3949;method_17670(Lnet/minecraft/class_1923;Lnet/minecraft/class_2806;)V
      named setChunkStatus Lnet/minecraft/server/WorldGenerationProgressListener;setChunkStatus(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/ChunkStatus;)V
    • start

      public void start()
      Specified by:
      start in interface WorldGenerationProgressListener
      Mappings:
      Namespace Name Mixin selector
      official a Laiy;a()V
      intermediary method_17675 Lnet/minecraft/class_3949;method_17675()V
      named start Lnet/minecraft/server/WorldGenerationProgressListener;start()V
    • stop

      public void stop()
      Specified by:
      stop in interface WorldGenerationProgressListener
      Mappings:
      Namespace Name Mixin selector
      official b Laiy;b()V
      intermediary method_17671 Lnet/minecraft/class_3949;method_17671()V
      named stop Lnet/minecraft/server/WorldGenerationProgressListener;stop()V
    • getCenterSize

      public int getCenterSize()
      Mappings:
      Namespace Name Mixin selector
      official c Lajc;c()I
      intermediary method_17677 Lnet/minecraft/class_3953;method_17677()I
      named getCenterSize Lnet/minecraft/client/gui/WorldGenerationProgressTracker;getCenterSize()I
    • getSize

      public int getSize()
      Mappings:
      Namespace Name Mixin selector
      official d Lajc;d()I
      intermediary method_17678 Lnet/minecraft/class_3953;method_17678()I
      named getSize Lnet/minecraft/client/gui/WorldGenerationProgressTracker;getSize()I
    • getProgressPercentage

      public int getProgressPercentage()
      Mappings:
      Namespace Name Mixin selector
      official e Lajc;e()I
      intermediary method_17679 Lnet/minecraft/class_3953;method_17679()I
      named getProgressPercentage Lnet/minecraft/client/gui/WorldGenerationProgressTracker;getProgressPercentage()I
    • getChunkStatus

      @Nullable public @Nullable ChunkStatus getChunkStatus(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lajc;a(II)Ldds;
      intermediary method_17676 Lnet/minecraft/class_3953;method_17676(II)Lnet/minecraft/class_2806;
      named getChunkStatus Lnet/minecraft/client/gui/WorldGenerationProgressTracker;getChunkStatus(II)Lnet/minecraft/world/chunk/ChunkStatus;