Class CustomizeBuffetLevelScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class CustomizeBuffetLevelScreen extends Screen
Mappings:
Namespace Name
official exf
intermediary net/minecraft/class_415
named net/minecraft/client/gui/screen/CustomizeBuffetLevelScreen
  • Field Details

    • BUFFET_BIOME_TEXT

      private static final Text BUFFET_BIOME_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lexf;a:Ltl;
      intermediary field_26535 Lnet/minecraft/class_415;field_26535:Lnet/minecraft/class_2561;
      named BUFFET_BIOME_TEXT Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;BUFFET_BIOME_TEXT:Lnet/minecraft/text/Text;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official b Lexf;b:Leyk;
      intermediary field_24562 Lnet/minecraft/class_415;field_24562:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • onDone

      private final Consumer<RegistryEntry<Biome>> onDone
      Mappings:
      Namespace Name Mixin selector
      official c Lexf;c:Ljava/util/function/Consumer;
      intermediary field_24563 Lnet/minecraft/class_415;field_24563:Ljava/util/function/Consumer;
      named onDone Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;onDone:Ljava/util/function/Consumer;
    • biomeRegistry

      final Registry<Biome> biomeRegistry
      Mappings:
      Namespace Name Mixin selector
      official k Lexf;k:Lhq;
      intermediary field_25888 Lnet/minecraft/class_415;field_25888:Lnet/minecraft/class_2378;
      named biomeRegistry Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biomeRegistry:Lnet/minecraft/registry/Registry;
    • biomeSelectionList

      Mappings:
      Namespace Name Mixin selector
      official l Lexf;l:Lexf$a;
      intermediary field_2441 Lnet/minecraft/class_415;field_2441:Lnet/minecraft/class_415$class_4190;
      named biomeSelectionList Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biomeSelectionList:Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen$BuffetBiomesListWidget;
    • biome

      Mappings:
      Namespace Name Mixin selector
      official m Lexf;m:Lhe;
      intermediary field_25040 Lnet/minecraft/class_415;field_25040:Lnet/minecraft/class_6880;
      named biome Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biome:Lnet/minecraft/registry/entry/RegistryEntry;
    • confirmButton

      private ButtonWidget confirmButton
      Mappings:
      Namespace Name Mixin selector
      official n Lexf;n:Lesq;
      intermediary field_2438 Lnet/minecraft/class_415;field_2438:Lnet/minecraft/class_4185;
      named confirmButton Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;confirmButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
  • Constructor Details

    • CustomizeBuffetLevelScreen

      public CustomizeBuffetLevelScreen(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lexf;<init>(Leyk;Lfdg;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_415;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7193;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/function/Consumer;)V
  • Method Details

    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official az_ Leyk;az_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • 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 aH_ Leyk;aH_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • refreshConfirmButton

      void refreshConfirmButton()
      Mappings:
      Namespace Name Mixin selector
      official l Lexf;l()V
      intermediary method_2151 Lnet/minecraft/class_415;method_2151()V
      named refreshConfirmButton Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;refreshConfirmButton()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 Lets;a(Lesf;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
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      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
      official b Leyk;b(Lesf;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V