Class CustomizeBuffetLevelScreen

java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.CustomizeBuffetLevelScreen
All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • BUFFET_BIOME_TEXT

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

      private static final int field_49494
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49494 Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;field_49494:I
      intermediary field_49494 Lnet/minecraft/class_415;field_49494:I
      official b Lfly;b:I
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49495 Lnet/minecraft/class_415;field_49495:Lnet/minecraft/class_8132;
      official c Lfly;c:Lfks;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_24562 Lnet/minecraft/class_415;field_24562:Lnet/minecraft/class_437;
      official d Lfly;d:Lfne;
    • onDone

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

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

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

      Mappings:
      Namespace Name Mixin selector
      named biome Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;biome:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_25040 Lnet/minecraft/class_415;field_25040:Lnet/minecraft/class_6880;
      official v Lfly;v:Lji;
    • confirmButton

      private ButtonWidget confirmButton
      Mappings:
      Namespace Name Mixin selector
      named confirmButton Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;confirmButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_2438 Lnet/minecraft/class_415;field_2438:Lnet/minecraft/class_4185;
      official w Lfly;w:Lfhf;
  • Constructor Details

    • CustomizeBuffetLevelScreen

      public CustomizeBuffetLevelScreen(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/world/GeneratorOptionsHolder;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
      official <init> Lfly;<init>(Lfne;Lfsb;Ljava/util/function/Consumer;)V
  • Method Details

    • 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
    • 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
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfne;c()V
    • refreshConfirmButton

      void refreshConfirmButton()
      Mappings:
      Namespace Name Mixin selector
      named refreshConfirmButton Lnet/minecraft/client/gui/screen/world/CustomizeBuffetLevelScreen;refreshConfirmButton()V
      intermediary method_2151 Lnet/minecraft/class_415;method_2151()V
      official m Lfly;m()V