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 frx
  • 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 Lfrx;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 Lfrx;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 Lfrx;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 d Lfrx;d:Lbqj;
  • 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> Lfrx;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lepx$c;Ldcd;ZLjw;)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 Lfrx;a(Lffg;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lepx$c;Z)Lfrx;
    • 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 aM_ Lfne;aM_()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 Lfne;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 Lfne;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 Lfne;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 Lfii;a(Lfgs;IIF)V