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 fsx
  • 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 Lfsx;a:Lxv;
    • 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 Lfsx;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 Lfsx;c:Lfrt;
    • 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 Lfsx;d:Lftx;
    • 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 s Lfsx;s: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 u Lfsx;u:Lkd;
    • 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 v Lfsx;v:Lfsx$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 w Lfsx;w:Ljq;
    • 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 x Lfsx;x:Lfoe;
  • 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> Lfsx;<init>(Lftx;Lfzg;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 aP_ Lftx;aP_()V
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      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 aT_ Lftx;aT_()V
    • refreshWidgetPositions

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lftx;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 l Lfsx;l()V