Class LevelLoadingScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class LevelLoadingScreen extends Screen
Mappings:
Namespace Name
official eju
intermediary net/minecraft/class_3928
named net/minecraft/client/gui/screen/LevelLoadingScreen
  • Field Details

    • NARRATION_DELAY

      private static final long NARRATION_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leju;a:J
      intermediary field_32246 Lnet/minecraft/class_3928;field_32246:J
      named NARRATION_DELAY Lnet/minecraft/client/gui/screen/LevelLoadingScreen;NARRATION_DELAY:J
    • STATUS_TO_COLOR

      private static final Object2IntMap<ChunkStatus> STATUS_TO_COLOR
      Mappings:
      Namespace Name Mixin selector
      official o Leju;o:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_17407 Lnet/minecraft/class_3928;field_17407:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named STATUS_TO_COLOR Lnet/minecraft/client/gui/screen/LevelLoadingScreen;STATUS_TO_COLOR:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • progressProvider

      private final WorldGenerationProgressTracker progressProvider
      Mappings:
      Namespace Name Mixin selector
      official b Leju;b:Lagb;
      intermediary field_17406 Lnet/minecraft/class_3928;field_17406:Lnet/minecraft/class_3953;
      named progressProvider Lnet/minecraft/client/gui/screen/LevelLoadingScreen;progressProvider:Lnet/minecraft/client/gui/WorldGenerationProgressTracker;
    • lastNarrationTime

      private long lastNarrationTime
      Mappings:
      Namespace Name Mixin selector
      official c Leju;c:J
      intermediary field_19101 Lnet/minecraft/class_3928;field_19101:J
      named lastNarrationTime Lnet/minecraft/client/gui/screen/LevelLoadingScreen;lastNarrationTime:J
    • done

      private boolean done
      Mappings:
      Namespace Name Mixin selector
      official n Leju;n:Z
      intermediary field_33810 Lnet/minecraft/class_3928;field_33810:Z
      named done Lnet/minecraft/client/gui/screen/LevelLoadingScreen;done:Z
  • Constructor Details

    • LevelLoadingScreen

      public LevelLoadingScreen(WorldGenerationProgressTracker progressProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leju;<init>(Lagb;)V
      intermediary <init> Lnet/minecraft/class_3928;<init>(Lnet/minecraft/class_3953;)V
      named <init> Lnet/minecraft/client/gui/screen/LevelLoadingScreen;<init>(Lnet/minecraft/client/gui/WorldGenerationProgressTracker;)V
  • Method Details

    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Overrides:
      shouldCloseOnEsc in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ag_ Lekj;ag_()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Lekj;e()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • addElementNarrations

      protected void addElementNarrations(NarrationMessageBuilder builder)
      Overrides:
      addElementNarrations in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lekj;b(Leiu;)V
      intermediary method_37056 Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)V
      named addElementNarrations Lnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
    • getPercentage

      private String getPercentage()
      Mappings:
      Namespace Name Mixin selector
      official h Leju;h()Ljava/lang/String;
      intermediary method_37057 Lnet/minecraft/class_3928;method_37057()Ljava/lang/String;
      named getPercentage Lnet/minecraft/client/gui/screen/LevelLoadingScreen;getPercentage()Ljava/lang/String;
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lehn;a(Ldzt;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • drawChunkMap

      public static void drawChunkMap(MatrixStack matrices, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin)
      Mappings:
      Namespace Name Mixin selector
      official a Leju;a(Ldzt;Lagb;IIII)V
      intermediary method_17538 Lnet/minecraft/class_3928;method_17538(Lnet/minecraft/class_4587;Lnet/minecraft/class_3953;IIII)V
      named drawChunkMap Lnet/minecraft/client/gui/screen/LevelLoadingScreen;drawChunkMap(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/WorldGenerationProgressTracker;IIII)V