Class OptimizeWorldScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class OptimizeWorldScreen extends Screen
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • DIMENSION_COLORS

      private static final ToIntFunction<ResourceKey<Level>> DIMENSION_COLORS
    • callback

      private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
    • upgrader

      private final WorldUpgrader upgrader
  • Constructor Details

  • Method Details

    • create

      @Nullable public static OptimizeWorldScreen create(Minecraft p_101316_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_101317_, com.mojang.datafixers.DataFixer p_101318_, LevelStorageSource.LevelStorageAccess p_101319_, boolean p_101320_)
    • init

      protected void init()
      Overrides:
      init in class Screen
    • tick

      public void tick()
      Overrides:
      tick in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • removed

      public void removed()
      Overrides:
      removed in class Screen
    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      pGuiGraphics - the GuiGraphics object used for rendering.
      pMouseX - the x-coordinate of the mouse cursor.
      pMouseY - the y-coordinate of the mouse cursor.
      pPartialTick - the partial tick time.