Class CreateWorldScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.CreateWorldScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
- Mappings:
Namespace Name official axbintermediary net/minecraft/class_363named net/minecraft/client/gui/screen/world/CreateWorldScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate booleanprivate ButtonWidgetprivate booleanprivate booleanprivate ButtonWidgetprivate Stringprivate ButtonWidgetprivate Stringprivate ButtonWidgetprivate intprivate booleanprivate static final String[]private Stringprivate Stringprivate TextFieldWidgetprivate ButtonWidgetprivate booleanprivate ButtonWidgetprivate Screenprivate Stringprivate Stringprivate Stringprivate TextFieldWidgetprivate booleanprivate booleanFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, height, itemRenderer, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuttonClicked(ButtonWidget button) static StringcheckDirectoryName(LevelStorageAccess access, String directoryName) voidcopyWorld(LevelProperties properties) voidinit()private booleanprotected voidkeyPressed(char character, int code) protected voidmouseClicked(int mouseX, int mouseY, int button) voidremoved()voidrender(int mouseX, int mouseY, float tickDelta) private voidsetMoreOptionsOpen(boolean moreOptionsOpen) voidtick()private voidprivate voidprivate voidMethods inherited from class net.minecraft.client.gui.screen.Screen
confirmResult, getClipboard, handleInput, handleKeyboard, handleMouse, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, mouseDragged, mouseReleased, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, setScreenBounds, shouldPauseGameMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
ILLEGAL_FOLDER_NAMES
- Mappings:
Namespace Name Mixin selector official MLaxb;M:[Ljava/lang/String;intermediary field_1092Lnet/minecraft/class_363;field_1092:[Ljava/lang/String;named ILLEGAL_FOLDER_NAMESLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ILLEGAL_FOLDER_NAMES:[Ljava/lang/String;
-
parent
- Mappings:
Namespace Name Mixin selector official fLaxb;f:Laxu;intermediary field_1093Lnet/minecraft/class_363;field_1093:Lnet/minecraft/class_388;named parentLnet/minecraft/client/gui/screen/world/CreateWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
levelNameField
- Mappings:
Namespace Name Mixin selector official gLaxb;g:Lavw;intermediary field_1094Lnet/minecraft/class_363;field_1094:Lnet/minecraft/class_367;named levelNameFieldLnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
seedField
- Mappings:
Namespace Name Mixin selector official hLaxb;h:Lavw;intermediary field_1095Lnet/minecraft/class_363;field_1095:Lnet/minecraft/class_367;named seedFieldLnet/minecraft/client/gui/screen/world/CreateWorldScreen;seedField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
saveDirectoryName
- Mappings:
Namespace Name Mixin selector official iLaxb;i:Ljava/lang/String;intermediary field_1096Lnet/minecraft/class_363;field_1096:Ljava/lang/String;named saveDirectoryNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;saveDirectoryName:Ljava/lang/String;
-
gamemodeName
- Mappings:
Namespace Name Mixin selector official rLaxb;r:Ljava/lang/String;intermediary field_1097Lnet/minecraft/class_363;field_1097:Ljava/lang/String;named gamemodeNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gamemodeName:Ljava/lang/String;
-
lastGamemode
- Mappings:
Namespace Name Mixin selector official sLaxb;s:Ljava/lang/String;intermediary field_10418Lnet/minecraft/class_363;field_10418:Ljava/lang/String;named lastGamemodeLnet/minecraft/client/gui/screen/world/CreateWorldScreen;lastGamemode:Ljava/lang/String;
-
structures
private boolean structures- Mappings:
Namespace Name Mixin selector official tLaxb;t:Zintermediary field_1098Lnet/minecraft/class_363;field_1098:Znamed structuresLnet/minecraft/client/gui/screen/world/CreateWorldScreen;structures:Z
-
tweakedCheats
private boolean tweakedCheats- Mappings:
Namespace Name Mixin selector official uLaxb;u:Zintermediary field_1099Lnet/minecraft/class_363;field_1099:Znamed tweakedCheatsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakedCheats:Z
-
cheatsEnabled
private boolean cheatsEnabled- Mappings:
Namespace Name Mixin selector official vLaxb;v:Zintermediary field_1100Lnet/minecraft/class_363;field_1100:Znamed cheatsEnabledLnet/minecraft/client/gui/screen/world/CreateWorldScreen;cheatsEnabled:Z
-
bonusChest
private boolean bonusChest- Mappings:
Namespace Name Mixin selector official wLaxb;w:Zintermediary field_1101Lnet/minecraft/class_363;field_1101:Znamed bonusChestLnet/minecraft/client/gui/screen/world/CreateWorldScreen;bonusChest:Z
-
hardcore
private boolean hardcore- Mappings:
Namespace Name Mixin selector official xLaxb;x:Zintermediary field_1102Lnet/minecraft/class_363;field_1102:Znamed hardcoreLnet/minecraft/client/gui/screen/world/CreateWorldScreen;hardcore:Z
-
creatingLevel
private boolean creatingLevel- Mappings:
Namespace Name Mixin selector official yLaxb;y:Zintermediary field_1103Lnet/minecraft/class_363;field_1103:Znamed creatingLevelLnet/minecraft/client/gui/screen/world/CreateWorldScreen;creatingLevel:Z
-
moreOptionsOpen
private boolean moreOptionsOpen- Mappings:
Namespace Name Mixin selector official zLaxb;z:Zintermediary field_1104Lnet/minecraft/class_363;field_1104:Znamed moreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsOpen:Z
-
gameModeButton
- Mappings:
Namespace Name Mixin selector official ALaxb;A:Lavs;intermediary field_1105Lnet/minecraft/class_363;field_1105:Lnet/minecraft/class_356;named gameModeButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameModeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
moreWorldOptionsButton
- Mappings:
Namespace Name Mixin selector official BLaxb;B:Lavs;intermediary field_1106Lnet/minecraft/class_363;field_1106:Lnet/minecraft/class_356;named moreWorldOptionsButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreWorldOptionsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
generateStructuresButton
- Mappings:
Namespace Name Mixin selector official CLaxb;C:Lavs;intermediary field_1107Lnet/minecraft/class_363;field_1107:Lnet/minecraft/class_356;named generateStructuresButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;generateStructuresButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
bonusChestButton
- Mappings:
Namespace Name Mixin selector official DLaxb;D:Lavs;intermediary field_1108Lnet/minecraft/class_363;field_1108:Lnet/minecraft/class_356;named bonusChestButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;bonusChestButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
mapTypeSwitchButton
- Mappings:
Namespace Name Mixin selector official ELaxb;E:Lavs;intermediary field_1109Lnet/minecraft/class_363;field_1109:Lnet/minecraft/class_356;named mapTypeSwitchButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;mapTypeSwitchButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
allowCommandsButton
- Mappings:
Namespace Name Mixin selector official FLaxb;F:Lavs;intermediary field_1110Lnet/minecraft/class_363;field_1110:Lnet/minecraft/class_356;named allowCommandsButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;allowCommandsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
customizeButton
- Mappings:
Namespace Name Mixin selector official GLaxb;G:Lavs;intermediary field_5072Lnet/minecraft/class_363;field_5072:Lnet/minecraft/class_356;named customizeButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;customizeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
firstGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official HLaxb;H:Ljava/lang/String;intermediary field_1087Lnet/minecraft/class_363;field_1087:Ljava/lang/String;named firstGameModeDescriptionLineLnet/minecraft/client/gui/screen/world/CreateWorldScreen;firstGameModeDescriptionLine:Ljava/lang/String;
-
secondGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official ILaxb;I:Ljava/lang/String;intermediary field_1088Lnet/minecraft/class_363;field_1088:Ljava/lang/String;named secondGameModeDescriptionLineLnet/minecraft/client/gui/screen/world/CreateWorldScreen;secondGameModeDescriptionLine:Ljava/lang/String;
-
seed
- Mappings:
Namespace Name Mixin selector official JLaxb;J:Ljava/lang/String;intermediary field_1089Lnet/minecraft/class_363;field_1089:Ljava/lang/String;named seedLnet/minecraft/client/gui/screen/world/CreateWorldScreen;seed:Ljava/lang/String;
-
levelName
- Mappings:
Namespace Name Mixin selector official KLaxb;K:Ljava/lang/String;intermediary field_1090Lnet/minecraft/class_363;field_1090:Ljava/lang/String;named levelNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelName:Ljava/lang/String;
-
generatorType
private int generatorType- Mappings:
Namespace Name Mixin selector official LLaxb;L:Iintermediary field_1091Lnet/minecraft/class_363;field_1091:Inamed generatorTypeLnet/minecraft/client/gui/screen/world/CreateWorldScreen;generatorType:I
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official aLaxb;a:Ljava/lang/String;intermediary field_5073Lnet/minecraft/class_363;field_5073:Ljava/lang/String;named generatorOptionsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;generatorOptions:Ljava/lang/String;
-
-
Constructor Details
-
CreateWorldScreen
- Mappings:
Namespace Name Mixin selector official <init>Laxb;<init>(Laxu;)Vintermediary <init>Lnet/minecraft/class_363;<init>(Lnet/minecraft/class_388;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
tick
public void tick() -
init
public void init() -
updateSaveFolderName
private void updateSaveFolderName()- Mappings:
Namespace Name Mixin selector official aLaxb;a()Vintermediary method_914Lnet/minecraft/class_363;method_914()Vnamed updateSaveFolderNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSaveFolderName()V
-
updateSettingsLabels
private void updateSettingsLabels()- Mappings:
Namespace Name Mixin selector official fLaxb;f()Vintermediary method_915Lnet/minecraft/class_363;method_915()Vnamed updateSettingsLabelsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSettingsLabels()V
-
checkDirectoryName
- Mappings:
Namespace Name Mixin selector official aLaxb;a(Latr;Ljava/lang/String;)Ljava/lang/String;intermediary method_913Lnet/minecraft/class_363;method_913(Lnet/minecraft/class_102;Ljava/lang/String;)Ljava/lang/String;named checkDirectoryNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;checkDirectoryName(Lnet/minecraft/world/level/storage/LevelStorageAccess;Ljava/lang/String;)Ljava/lang/String;
-
removed
public void removed() -
buttonClicked
- Overrides:
buttonClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(Lavs;)Vintermediary method_1027Lnet/minecraft/class_388;method_1027(Lnet/minecraft/class_356;)Vnamed buttonClickedLnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
isGeneratorTypeValid
private boolean isGeneratorTypeValid()- Mappings:
Namespace Name Mixin selector official gLaxb;g()Zintermediary method_9550Lnet/minecraft/class_363;method_9550()Znamed isGeneratorTypeValidLnet/minecraft/client/gui/screen/world/CreateWorldScreen;isGeneratorTypeValid()Z
-
toggleMoreOptions
private void toggleMoreOptions()- Mappings:
Namespace Name Mixin selector official hLaxb;h()Vintermediary method_4242Lnet/minecraft/class_363;method_4242()Vnamed toggleMoreOptionsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;toggleMoreOptions()V
-
setMoreOptionsOpen
private void setMoreOptionsOpen(boolean moreOptionsOpen) - Mappings:
Namespace Name Mixin selector official aLaxb;a(Z)Vintermediary method_4241Lnet/minecraft/class_363;method_4241(Z)Vnamed setMoreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen(Z)V
-
keyPressed
protected void keyPressed(char character, int code) - Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(CI)Vintermediary method_1024Lnet/minecraft/class_388;method_1024(CI)Vnamed keyPressedLnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
-
mouseClicked
protected void mouseClicked(int mouseX, int mouseY, int button) - Overrides:
mouseClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLaxu;a(III)Vintermediary method_1026Lnet/minecraft/class_388;method_1026(III)Vnamed mouseClickedLnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
-
render
public void render(int mouseX, int mouseY, float tickDelta) -
copyWorld
- Mappings:
Namespace Name Mixin selector official aLaxb;a(Lato;)Vintermediary method_4240Lnet/minecraft/class_363;method_4240(Lnet/minecraft/class_100;)Vnamed copyWorldLnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyWorld(Lnet/minecraft/world/level/LevelProperties;)V
-