Class LevelLoadingScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • NARRATION_DELAY

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

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

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

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

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

    • LevelLoadingScreen

      public LevelLoadingScreen(WorldGenerationProgressTracker progressProvider)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;<init>(Lnet/minecraft/server/WorldGenerationProgressTracker;)V
      intermediary <init> Lnet/minecraft/class_3928;<init>(Lnet/minecraft/class_3953;)V
      official <init> Lfmo;<init>(Lars;)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
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      official aC_ Lfne;aC_()Z
    • hasUsageText

      protected boolean hasUsageText()
      Overrides:
      hasUsageText in class Screen
      Mappings:
      Namespace Name Mixin selector
      named hasUsageText Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
      intermediary method_48262 Lnet/minecraft/class_437;method_48262()Z
      official aL_ Lfne;aL_()Z
    • removed

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

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

      private Text getPercentage()
      Mappings:
      Namespace Name Mixin selector
      named getPercentage Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;getPercentage()Lnet/minecraft/text/Text;
      intermediary method_37057 Lnet/minecraft/class_3928;method_37057()Lnet/minecraft/class_2561;
      official m Lfmo;m()Lxp;
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfii;a(Lfgs;IIF)V
    • drawChunkMap

      public static void drawChunkMap(DrawContext context, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin)
      Mappings:
      Namespace Name Mixin selector
      named drawChunkMap Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;drawChunkMap(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/server/WorldGenerationProgressTracker;IIII)V
      intermediary method_17538 Lnet/minecraft/class_3928;method_17538(Lnet/minecraft/class_332;Lnet/minecraft/class_3953;IIII)V
      official a Lfmo;a(Lfgs;Lars;IIII)V