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 glx
  • Field Details

    • DOWNLOADING_TERRAIN_TEXT

      private static final Text DOWNLOADING_TERRAIN_TEXT
      Mappings:
      Namespace Name Mixin selector
      named DOWNLOADING_TERRAIN_TEXT Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;DOWNLOADING_TERRAIN_TEXT:Lnet/minecraft/text/Text;
      intermediary field_61628 Lnet/minecraft/class_3928;field_61628:Lnet/minecraft/class_2561;
      official a Lglx;a:Lxx;
    • READY_TO_PLAY_MESSAGE

      private static final Text READY_TO_PLAY_MESSAGE
      Mappings:
      Namespace Name Mixin selector
      named READY_TO_PLAY_MESSAGE Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;READY_TO_PLAY_MESSAGE:Lnet/minecraft/text/Text;
      intermediary field_61629 Lnet/minecraft/class_3928;field_61629:Lnet/minecraft/class_2561;
      official b Lglx;b:Lxx;
    • 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 c Lglx;c:J
    • field_61630

      private static final int field_61630
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_61630 Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;field_61630:I
      intermediary field_61630 Lnet/minecraft/class_3928;field_61630:I
      official d Lglx;d:I
    • 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 w Lglx;w:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • chunkLoadProgress

      private ClientChunkLoadProgress chunkLoadProgress
      Mappings:
      Namespace Name Mixin selector
      named chunkLoadProgress Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;chunkLoadProgress:Lnet/minecraft/client/world/ClientChunkLoadProgress;
      intermediary field_61631 Lnet/minecraft/class_3928;field_61631:Lnet/minecraft/class_11653;
      official e Lglx;e:Lgzv;
    • loadProgress

      private float loadProgress
      Mappings:
      Namespace Name Mixin selector
      named loadProgress Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;loadProgress:F
      intermediary field_61632 Lnet/minecraft/class_3928;field_61632:F
      official f Lglx;f:F
    • 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 t Lglx;t:J
    • reason

      Mappings:
      Namespace Name Mixin selector
      named reason Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;reason:Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen$WorldEntryReason;
      intermediary field_61633 Lnet/minecraft/class_3928;field_61633:Lnet/minecraft/class_3928$class_9678;
      official u Lglx;u:Lglx$a;
    • netherPortalSprite

      @Nullable private @Nullable Sprite netherPortalSprite
      Mappings:
      Namespace Name Mixin selector
      named netherPortalSprite Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;netherPortalSprite:Lnet/minecraft/client/texture/Sprite;
      intermediary field_61634 Lnet/minecraft/class_3928;field_61634:Lnet/minecraft/class_1058;
      official v Lglx;v:Lico;
  • Constructor Details

    • LevelLoadingScreen

      public LevelLoadingScreen(ClientChunkLoadProgress progressProvider, LevelLoadingScreen.WorldEntryReason reason)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;<init>(Lnet/minecraft/client/world/ClientChunkLoadProgress;Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen$WorldEntryReason;)V
      intermediary <init> Lnet/minecraft/class_3928;<init>(Lnet/minecraft/class_11653;Lnet/minecraft/class_3928$class_9678;)V
      official <init> Lglx;<init>(Lgzv;Lglx$a;)V
  • Method Details

    • init

      public void init(ClientChunkLoadProgress chunkLoadProgress, LevelLoadingScreen.WorldEntryReason reason)
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;init(Lnet/minecraft/client/world/ClientChunkLoadProgress;Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen$WorldEntryReason;)V
      intermediary method_72800 Lnet/minecraft/class_3928;method_72800(Lnet/minecraft/class_11653;Lnet/minecraft/class_3928$class_9678;)V
      official a Lglx;a(Lgzv;Lglx$a;)V
    • 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 aY_ Lgmj;aY_()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 bc_ Lgmj;bc_()Z
    • 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 Lgmj;b(Lgjl;)V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lgmj;e()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      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 Lget;a(Lgdd;IIF)V
    • drawLoadingBar

      private void drawLoadingBar(DrawContext context, int x1, int y1, int width, int height, float delta)
      Mappings:
      Namespace Name Mixin selector
      named drawLoadingBar Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;drawLoadingBar(Lnet/minecraft/client/gui/DrawContext;IIIIF)V
      intermediary method_72799 Lnet/minecraft/class_3928;method_72799(Lnet/minecraft/class_332;IIIIF)V
      official a Lglx;a(Lgdd;IIIIF)V
    • drawChunkMap

      public static void drawChunkMap(DrawContext context, int centerX, int centerY, int chunkLength, int chunkGap, ChunkLoadMap map)
      Mappings:
      Namespace Name Mixin selector
      named drawChunkMap Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;drawChunkMap(Lnet/minecraft/client/gui/DrawContext;IIIILnet/minecraft/world/chunk/ChunkLoadMap;)V
      intermediary method_17538 Lnet/minecraft/class_3928;method_17538(Lnet/minecraft/class_332;IIIILnet/minecraft/class_11544;)V
      official a Lglx;a(Lgdd;IIIILaxh;)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lgmj;b(Lgdd;IIF)V
    • getNetherPortalSprite

      private Sprite getNetherPortalSprite()
      Mappings:
      Namespace Name Mixin selector
      named getNetherPortalSprite Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;getNetherPortalSprite()Lnet/minecraft/client/texture/Sprite;
      intermediary method_72801 Lnet/minecraft/class_3928;method_72801()Lnet/minecraft/class_1058;
      official o Lglx;o()Lico;
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aX_ Lgmj;aX_()V
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      official ba_ Lgmj;ba_()Z