Class CustomizeFlatLevelScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • SLOT_TEXTURE

      static final Identifier SLOT_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named SLOT_TEXTURE Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;SLOT_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45406 Lnet/minecraft/class_413;field_45406:Lnet/minecraft/class_2960;
      official b Lfma;b:Lalf;
    • ICON_SIZE

      private static final int ICON_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_SIZE Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_SIZE:I
      intermediary field_32240 Lnet/minecraft/class_413;field_32240:I
      official c Lfma;c:I
    • BUTTON_HEIGHT

      private static final int BUTTON_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_HEIGHT Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;BUTTON_HEIGHT:I
      intermediary field_32241 Lnet/minecraft/class_413;field_32241:I
      official d Lfma;d:I
    • ICON_BACKGROUND_OFFSET_X

      private static final int ICON_BACKGROUND_OFFSET_X
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_BACKGROUND_OFFSET_X Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_X:I
      intermediary field_32242 Lnet/minecraft/class_413;field_32242:I
      official r Lfma;r:I
    • ICON_BACKGROUND_OFFSET_Y

      private static final int ICON_BACKGROUND_OFFSET_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_BACKGROUND_OFFSET_Y Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_Y:I
      intermediary field_32243 Lnet/minecraft/class_413;field_32243:I
      official s Lfma;s:I
    • ICON_OFFSET_X

      private static final int ICON_OFFSET_X
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_OFFSET_X Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_OFFSET_X:I
      intermediary field_32244 Lnet/minecraft/class_413;field_32244:I
      official u Lfma;u:I
    • ICON_OFFSET_Y

      private static final int ICON_OFFSET_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ICON_OFFSET_Y Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_OFFSET_Y:I
      intermediary field_32245 Lnet/minecraft/class_413;field_32245:I
      official v Lfma;v:I
    • parent

      protected final CreateWorldScreen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;parent:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
      intermediary field_2422 Lnet/minecraft/class_413;field_2422:Lnet/minecraft/class_525;
      official a Lfma;a:Lfru;
    • configConsumer

      private final Consumer<FlatChunkGeneratorConfig> configConsumer
      Mappings:
      Namespace Name Mixin selector
      named configConsumer Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;configConsumer:Ljava/util/function/Consumer;
      intermediary field_24565 Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;
      official w Lfma;w:Ljava/util/function/Consumer;
    • config

      Mappings:
      Namespace Name Mixin selector
      named config Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;config:Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
      intermediary field_2419 Lnet/minecraft/class_413;field_2419:Lnet/minecraft/class_3232;
      official x Lfma;x:Legp;
    • tileText

      private Text tileText
      Mappings:
      Namespace Name Mixin selector
      named tileText Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;
      intermediary field_2418 Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;
      official y Lfma;y:Lxp;
    • heightText

      private Text heightText
      Mappings:
      Namespace Name Mixin selector
      named heightText Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;
      intermediary field_2425 Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;
      official z Lfma;z:Lxp;
    • layers

      Mappings:
      Namespace Name Mixin selector
      named layers Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;layers:Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen$SuperflatLayersListWidget;
      intermediary field_2424 Lnet/minecraft/class_413;field_2424:Lnet/minecraft/class_413$class_4192;
      official A Lfma;A:Lfma$a;
    • widgetButtonRemoveLayer

      private ButtonWidget widgetButtonRemoveLayer
      Mappings:
      Namespace Name Mixin selector
      named widgetButtonRemoveLayer Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;widgetButtonRemoveLayer:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_2421 Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;
      official B Lfma;B:Lfhg;
  • Constructor Details

    • CustomizeFlatLevelScreen

      public CustomizeFlatLevelScreen(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;<init>(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;Ljava/util/function/Consumer;Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
      intermediary <init> Lnet/minecraft/class_413;<init>(Lnet/minecraft/class_525;Ljava/util/function/Consumer;Lnet/minecraft/class_3232;)V
      official <init> Lfma;<init>(Lfru;Ljava/util/function/Consumer;Legp;)V
  • Method Details

    • getConfig

      public FlatChunkGeneratorConfig getConfig()
      Mappings:
      Namespace Name Mixin selector
      named getConfig Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;getConfig()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
      intermediary method_29055 Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;
      official l Lfma;l()Legp;
    • setConfig

      public void setConfig(FlatChunkGeneratorConfig config)
      Mappings:
      Namespace Name Mixin selector
      named setConfig Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;setConfig(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
      intermediary method_29054 Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)V
      official a Lfma;a(Legp;)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_ Lfnf;aM_()V
    • updateRemoveLayerButton

      void updateRemoveLayerButton()
      Mappings:
      Namespace Name Mixin selector
      named updateRemoveLayerButton Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;updateRemoveLayerButton()V
      intermediary method_2145 Lnet/minecraft/class_413;method_2145()V
      official m Lfma;m()V
    • hasLayerSelected

      private boolean hasLayerSelected()
      Mappings:
      Namespace Name Mixin selector
      named hasLayerSelected Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;hasLayerSelected()Z
      intermediary method_2147 Lnet/minecraft/class_413;method_2147()Z
      official E Lfma;E()Z
    • 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 Lfnf;d()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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfij;a(Lfgt;IIF)V