Class OptimizeWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_25482 Lnet/minecraft/class_527;field_25482:Lorg/slf4j/Logger;
      official a Lfsm;a:Lorg/slf4j/Logger;
    • DIMENSION_COLORS

      private static final ToIntFunction<RegistryKey<World>> DIMENSION_COLORS
      Mappings:
      Namespace Name Mixin selector
      named DIMENSION_COLORS Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;DIMENSION_COLORS:Ljava/util/function/ToIntFunction;
      intermediary field_3232 Lnet/minecraft/class_527;field_3232:Ljava/util/function/ToIntFunction;
      official b Lfsm;b:Ljava/util/function/ToIntFunction;
    • callback

      private final BooleanConsumer callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      intermediary field_3233 Lnet/minecraft/class_527;field_3233:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      official c Lfsm;c:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
    • updater

      private final WorldUpdater updater
      Mappings:
      Namespace Name Mixin selector
      named updater Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;updater:Lnet/minecraft/world/updater/WorldUpdater;
      intermediary field_3234 Lnet/minecraft/class_527;field_3234:Lnet/minecraft/class_1257;
      official q Lfsm;q:Lbpv;
  • Constructor Details

    • OptimizeWorldScreen

      private OptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/LevelInfo;ZLnet/minecraft/registry/DynamicRegistryManager;)V
      intermediary <init> Lnet/minecraft/class_527;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_1940;ZLnet/minecraft/class_5455;)V
      official <init> Lfsm;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Leqk$c;Ldck;ZLjx;)V
  • Method Details

    • create

      @Nullable public static @Nullable OptimizeWorldScreen create(MinecraftClient client, BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, boolean eraseCache)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;create(Lnet/minecraft/client/MinecraftClient;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/world/level/storage/LevelStorage$Session;Z)Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;
      intermediary method_27031 Lnet/minecraft/class_527;method_27031(Lnet/minecraft/class_310;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_32$class_5143;Z)Lnet/minecraft/class_527;
      official a Lfsm;a(Lffw;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Leqk$c;Z)Lfsm;
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus() to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aP_ Lfnl;aP_()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 Lfnl;e()V
    • 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 d Lfnl;d()V
    • 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 Lfnl;j()V
    • 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 Lfix;a(Lfhh;IIF)V