Class OptimizeWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • LOGGER

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

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

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

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

    • OptimizeWorldScreen

      private OptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, Registry<DimensionOptions> dimensionOptionsRegistry)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhv;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Legm$c;Lctt;ZLit;)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_2378;)V
      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/Registry;)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
      official a Lfhv;a(Levi;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Legm$c;Z)Lfhv;
      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;
      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;
    • 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(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • tick

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

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

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official j Lfdb;j()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()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
      official a Leyj;a(Lewu;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V