Class CreateWorldScreen

All Implemented Interfaces:
IdentifibleBooleanConsumer

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

    • ILLEGAL_FOLDER_NAMES

      private static final String[] ILLEGAL_FOLDER_NAMES
      Mappings:
      Namespace Name Mixin selector
      official M Laxb;M:[Ljava/lang/String;
      intermediary field_3090 Lnet/minecraft/class_731;field_3090:[Ljava/lang/String;
      named ILLEGAL_FOLDER_NAMES Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ILLEGAL_FOLDER_NAMES:[Ljava/lang/String;
    • parent

      private Screen parent
      Mappings:
      Namespace Name Mixin selector
      official f Laxb;f:Laxu;
      intermediary field_3092 Lnet/minecraft/class_731;field_3092:Lnet/minecraft/class_754;
      named parent Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • field_3093

      private TextFieldWidget field_3093
      Mappings:
      Namespace Name Mixin selector
      official g Laxb;g:Lavw;
      intermediary field_3093 Lnet/minecraft/class_731;field_3093:Lnet/minecraft/class_689;
      named field_3093 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_3093:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • field_3094

      private TextFieldWidget field_3094
      Mappings:
      Namespace Name Mixin selector
      official h Laxb;h:Lavw;
      intermediary field_3094 Lnet/minecraft/class_731;field_3094:Lnet/minecraft/class_689;
      named field_3094 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_3094:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • saveDirectoryName

      private String saveDirectoryName
      Mappings:
      Namespace Name Mixin selector
      official i Laxb;i:Ljava/lang/String;
      intermediary field_3095 Lnet/minecraft/class_731;field_3095:Ljava/lang/String;
      named saveDirectoryName Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;saveDirectoryName:Ljava/lang/String;
    • setGamemodeName

      private String setGamemodeName
      Mappings:
      Namespace Name Mixin selector
      official r Laxb;r:Ljava/lang/String;
      intermediary field_3096 Lnet/minecraft/class_731;field_3096:Ljava/lang/String;
      named setGamemodeName Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;setGamemodeName:Ljava/lang/String;
    • field_3097

      private String field_3097
      Mappings:
      Namespace Name Mixin selector
      official s Laxb;s:Ljava/lang/String;
      intermediary field_3097 Lnet/minecraft/class_731;field_3097:Ljava/lang/String;
      named field_3097 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_3097:Ljava/lang/String;
    • structures

      private boolean structures
      Mappings:
      Namespace Name Mixin selector
      official t Laxb;t:Z
      intermediary field_3098 Lnet/minecraft/class_731;field_3098:Z
      named structures Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;structures:Z
    • tweakedCheats

      private boolean tweakedCheats
      Mappings:
      Namespace Name Mixin selector
      official u Laxb;u:Z
      intermediary field_3099 Lnet/minecraft/class_731;field_3099:Z
      named tweakedCheats Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakedCheats:Z
    • cheatsEnabled

      private boolean cheatsEnabled
      Mappings:
      Namespace Name Mixin selector
      official v Laxb;v:Z
      intermediary field_3100 Lnet/minecraft/class_731;field_3100:Z
      named cheatsEnabled Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;cheatsEnabled:Z
    • bonusChest

      private boolean bonusChest
      Mappings:
      Namespace Name Mixin selector
      official w Laxb;w:Z
      intermediary field_3101 Lnet/minecraft/class_731;field_3101:Z
      named bonusChest Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;bonusChest:Z
    • hardcore

      private boolean hardcore
      Mappings:
      Namespace Name Mixin selector
      official x Laxb;x:Z
      intermediary field_3102 Lnet/minecraft/class_731;field_3102:Z
      named hardcore Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;hardcore:Z
    • creatingLevel

      private boolean creatingLevel
      Mappings:
      Namespace Name Mixin selector
      official y Laxb;y:Z
      intermediary field_3103 Lnet/minecraft/class_731;field_3103:Z
      named creatingLevel Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;creatingLevel:Z
    • moreOptionsOpen

      private boolean moreOptionsOpen
      Mappings:
      Namespace Name Mixin selector
      official z Laxb;z:Z
      intermediary field_3104 Lnet/minecraft/class_731;field_3104:Z
      named moreOptionsOpen Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsOpen:Z
    • gameMode

      private ButtonWidget gameMode
      Mappings:
      Namespace Name Mixin selector
      official A Laxb;A:Lavs;
      intermediary field_3078 Lnet/minecraft/class_731;field_3078:Lnet/minecraft/class_685;
      named gameMode Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameMode:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • moreWorldOptions

      private ButtonWidget moreWorldOptions
      Mappings:
      Namespace Name Mixin selector
      official B Laxb;B:Lavs;
      intermediary field_3079 Lnet/minecraft/class_731;field_3079:Lnet/minecraft/class_685;
      named moreWorldOptions Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreWorldOptions:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • generateStructures

      private ButtonWidget generateStructures
      Mappings:
      Namespace Name Mixin selector
      official C Laxb;C:Lavs;
      intermediary field_3080 Lnet/minecraft/class_731;field_3080:Lnet/minecraft/class_685;
      named generateStructures Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;generateStructures:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • bonusChestButton

      private ButtonWidget bonusChestButton
      Mappings:
      Namespace Name Mixin selector
      official D Laxb;D:Lavs;
      intermediary field_3081 Lnet/minecraft/class_731;field_3081:Lnet/minecraft/class_685;
      named bonusChestButton Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;bonusChestButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • mapTypeButton

      private ButtonWidget mapTypeButton
      Mappings:
      Namespace Name Mixin selector
      official E Laxb;E:Lavs;
      intermediary field_3082 Lnet/minecraft/class_731;field_3082:Lnet/minecraft/class_685;
      named mapTypeButton Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;mapTypeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • allowCommandsButton

      private ButtonWidget allowCommandsButton
      Mappings:
      Namespace Name Mixin selector
      official F Laxb;F:Lavs;
      intermediary field_3083 Lnet/minecraft/class_731;field_3083:Lnet/minecraft/class_685;
      named allowCommandsButton Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;allowCommandsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • customizeButton

      private ButtonWidget customizeButton
      Mappings:
      Namespace Name Mixin selector
      official G Laxb;G:Lavs;
      intermediary field_3084 Lnet/minecraft/class_731;field_3084:Lnet/minecraft/class_685;
      named customizeButton Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;customizeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • firstGameModeDescriptionLine

      private String firstGameModeDescriptionLine
      Mappings:
      Namespace Name Mixin selector
      official H Laxb;H:Ljava/lang/String;
      intermediary field_3085 Lnet/minecraft/class_731;field_3085:Ljava/lang/String;
      named firstGameModeDescriptionLine Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;firstGameModeDescriptionLine:Ljava/lang/String;
    • secondGameModeDescriptionLine

      private String secondGameModeDescriptionLine
      Mappings:
      Namespace Name Mixin selector
      official I Laxb;I:Ljava/lang/String;
      intermediary field_3086 Lnet/minecraft/class_731;field_3086:Ljava/lang/String;
      named secondGameModeDescriptionLine Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;secondGameModeDescriptionLine:Ljava/lang/String;
    • seed

      private String seed
      Mappings:
      Namespace Name Mixin selector
      official J Laxb;J:Ljava/lang/String;
      intermediary field_3087 Lnet/minecraft/class_731;field_3087:Ljava/lang/String;
      named seed Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;seed:Ljava/lang/String;
    • levelName

      private String levelName
      Mappings:
      Namespace Name Mixin selector
      official K Laxb;K:Ljava/lang/String;
      intermediary field_3088 Lnet/minecraft/class_731;field_3088:Ljava/lang/String;
      named levelName Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelName:Ljava/lang/String;
    • generatorType

      private int generatorType
      Mappings:
      Namespace Name Mixin selector
      official L Laxb;L:I
      intermediary field_3089 Lnet/minecraft/class_731;field_3089:I
      named generatorType Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;generatorType:I
    • generatorOptions

      public String generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official a Laxb;a:Ljava/lang/String;
      intermediary field_3091 Lnet/minecraft/class_731;field_3091:Ljava/lang/String;
      named generatorOptions Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;generatorOptions:Ljava/lang/String;
  • Constructor Details

    • CreateWorldScreen

      public CreateWorldScreen​(Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxb;<init>(Laxu;)V
      intermediary <init> Lnet/minecraft/class_731;<init>(Lnet/minecraft/class_754;)V
      named <init> Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Laxu;e()V
      intermediary method_2804 Lnet/minecraft/class_754;method_2804()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • init

      public void init()
      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b()V
      intermediary method_2795 Lnet/minecraft/class_754;method_2795()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • method_2730

      private void method_2730()
      Mappings:
      Namespace Name Mixin selector
      official a Laxb;a()V
      intermediary method_2730 Lnet/minecraft/class_731;method_2730()V
      named method_2730 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_2730()V
    • updateSettingsLabels

      private void updateSettingsLabels()
      Mappings:
      Namespace Name Mixin selector
      official f Laxb;f()V
      intermediary method_2734 Lnet/minecraft/class_731;method_2734()V
      named updateSettingsLabels Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSettingsLabels()V
    • method_2732

      public static String method_2732​(SaveStorageAccess saveStorageAccess, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Laxb;a(Latr;Ljava/lang/String;)Ljava/lang/String;
      intermediary method_2732 Lnet/minecraft/class_731;method_2732(Lnet/minecraft/class_637;Ljava/lang/String;)Ljava/lang/String;
      named method_2732 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_2732(Lnet/minecraft/world/level/storage/SaveStorageAccess;Ljava/lang/String;)Ljava/lang/String;
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official m Laxu;m()V
      intermediary method_2812 Lnet/minecraft/class_754;method_2812()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • buttonClicked

      protected void buttonClicked​(ButtonWidget button)
      Overrides:
      buttonClicked in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Lavs;)V
      intermediary method_2787 Lnet/minecraft/class_754;method_2787(Lnet/minecraft/class_685;)V
      named buttonClicked Lnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • isGeneratorTypeValid

      private boolean isGeneratorTypeValid()
      Mappings:
      Namespace Name Mixin selector
      official g Laxb;g()Z
      intermediary method_2735 Lnet/minecraft/class_731;method_2735()Z
      named isGeneratorTypeValid Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;isGeneratorTypeValid()Z
    • toggleMoreOptions

      private void toggleMoreOptions()
      Mappings:
      Namespace Name Mixin selector
      official h Laxb;h()V
      intermediary method_2736 Lnet/minecraft/class_731;method_2736()V
      named toggleMoreOptions Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;toggleMoreOptions()V
    • method_2733

      private void method_2733​(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Laxb;a(Z)V
      intermediary method_2733 Lnet/minecraft/class_731;method_2733(Z)V
      named method_2733 Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_2733(Z)V
    • keyPressed

      protected void keyPressed​(char character, int code)
      Overrides:
      keyPressed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(CI)V
      intermediary method_2781 Lnet/minecraft/class_754;method_2781(CI)V
      named keyPressed Lnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
    • mouseClicked

      protected void mouseClicked​(int mouseX, int mouseY, int button)
      Overrides:
      mouseClicked in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(III)V
      intermediary method_2784 Lnet/minecraft/class_754;method_2784(III)V
      named mouseClicked Lnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
    • render

      public void render​(int mouseX, int mouseY, float tickDelta)
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(IIF)V
      intermediary method_2783 Lnet/minecraft/class_754;method_2783(IIF)V
      named render Lnet/minecraft/client/gui/screen/Screen;render(IIF)V
    • copyWorld

      public void copyWorld​(LevelProperties properties)
      Mappings:
      Namespace Name Mixin selector
      official a Laxb;a(Lato;)V
      intermediary method_2731 Lnet/minecraft/class_731;method_2731(Lnet/minecraft/class_634;)V
      named copyWorld Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyWorld(Lnet/minecraft/world/level/LevelProperties;)V