Class CustomizeFlatLevelScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • field_32239

      private static final int field_32239
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Ldzr;b:I
      intermediary field_32239 Lnet/minecraft/class_413;field_32239:I
      named field_32239 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32239:I
    • field_32240

      private static final int field_32240
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Ldzr;c:I
      intermediary field_32240 Lnet/minecraft/class_413;field_32240:I
      named field_32240 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32240:I
    • field_32241

      private static final int field_32241
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official n Ldzr;n:I
      intermediary field_32241 Lnet/minecraft/class_413;field_32241:I
      named field_32241 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32241:I
    • field_32242

      private static final int field_32242
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official o Ldzr;o:I
      intermediary field_32242 Lnet/minecraft/class_413;field_32242:I
      named field_32242 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32242:I
    • field_32243

      private static final int field_32243
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official p Ldzr;p:I
      intermediary field_32243 Lnet/minecraft/class_413;field_32243:I
      named field_32243 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32243:I
    • field_32244

      private static final int field_32244
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official q Ldzr;q:I
      intermediary field_32244 Lnet/minecraft/class_413;field_32244:I
      named field_32244 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32244:I
    • field_32245

      private static final int field_32245
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official r Ldzr;r:I
      intermediary field_32245 Lnet/minecraft/class_413;field_32245:I
      named field_32245 Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32245:I
    • parent

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

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

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

      private Text tileText
      Mappings:
      Namespace Name Mixin selector
      official u Ldzr;u:Los;
      intermediary field_2418 Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;
      named tileText Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;
    • heightText

      private Text heightText
      Mappings:
      Namespace Name Mixin selector
      official v Ldzr;v:Los;
      intermediary field_2425 Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;
      named heightText Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;
    • layers

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

      private ButtonWidget widgetButtonRemoveLayer
      Mappings:
      Namespace Name Mixin selector
      official x Ldzr;x:Ldwz;
      intermediary field_2421 Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;
      named widgetButtonRemoveLayer Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;widgetButtonRemoveLayer:Lnet/minecraft/client/gui/widget/ButtonWidget;
  • Constructor Details

    • CustomizeFlatLevelScreen

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

    • getConfig

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

      public void setConfig(FlatChunkGeneratorConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzr;a(Lcyw;)V
      intermediary method_29054 Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)V
      named setConfig Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;setConfig(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)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
      official b Leap;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • updateRemoveLayerButton

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

      private boolean hasLayerSelected()
      Mappings:
      Namespace Name Mixin selector
      official w Ldzr;w()Z
      intermediary method_2147 Lnet/minecraft/class_413;method_2147()Z
      named hasLayerSelected Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;hasLayerSelected()Z
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ah_ Leap;ah_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldxu;a(Ldqk;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V