Class CreateWorldScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.CreateWorldScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
- Mappings:
Namespace Name official ecuintermediary net/minecraft/class_525named net/minecraft/client/gui/screen/world/CreateWorldScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Textprivate booleanprivate ButtonWidgetprivate Difficultyprivate CreateWorldScreen.Modeprivate ButtonWidgetprotected DataPackSettingsprivate CyclingButtonWidget<Difficulty>private CyclingButtonWidget<Boolean>private static Textprivate static Textprivate static Stringprivate Textprivate static Textprivate GameRulesprivate ButtonWidgetbooleanprivate @Nullable CreateWorldScreen.Modeprivate Stringprivate TextFieldWidgetprivate static Loggerprivate ButtonWidgetprivate booleanprivate @Nullable ResourcePackManagerprivate Screenprivate static Textprivate Stringprivate Textprivate static Textprivate booleanFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreateWorldScreen(@Nullable Screen parent, DataPackSettings dataPackSettings, MoreOptionsDialog moreOptionsDialog)CreateWorldScreen(@Nullable Screen parent, LevelInfo levelInfo, GeneratorOptions generatorOptions, @Nullable Path dataPackTempDir, DataPackSettings dataPackSettings, DynamicRegistryManager.Impl registryManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends AbstractButtonWidget>
TaddButton(T button)Adds a button to this screen.protected <T extends Element>
TaddChild(T child)Adds a child element to this screen.private voidprivate voidprivate static voidcopyDataPack(Path srcFolder, Path destFolder, Path dataPackFile)private booleanstatic CreateWorldScreenprivate voidprivate Difficultyprotected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private voidmethod_29682(ResourcePackManager resourcePackManager)method_29685(Path path, MinecraftClient minecraftClient)private voidprivate @Nullable com.mojang.datafixers.util.Pair<File,ResourcePackManager>voidonClose()voidvoidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidprivate voidsetMoreOptionsOpen(boolean moreOptionsOpen)voidtick()private voidprivate voidprivate voidprivate voidMethods inherited from class net.minecraft.client.gui.screen.Screen
children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official pLecu;p:Lorg/apache/logging/log4j/Logger;intermediary field_25480Lnet/minecraft/class_525;field_25480:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/CreateWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_32434
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official qLecu;q:Ljava/lang/String;intermediary field_32434Lnet/minecraft/class_525;field_32434:Ljava/lang/String;named field_32434Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;field_32434:Ljava/lang/String;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official rLecu;r:Lon;intermediary field_25898Lnet/minecraft/class_525;field_25898:Lnet/minecraft/class_2561;named GAME_MODE_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
ENTER_SEED_TEXT
- Mappings:
Namespace Name Mixin selector official sLecu;s:Lon;intermediary field_26598Lnet/minecraft/class_525;field_26598:Lnet/minecraft/class_2561;named ENTER_SEED_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_SEED_TEXT:Lnet/minecraft/text/Text;
-
SEED_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official tLecu;t:Lon;intermediary field_26599Lnet/minecraft/class_525;field_26599:Lnet/minecraft/class_2561;named SEED_INFO_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;SEED_INFO_TEXT:Lnet/minecraft/text/Text;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official uLecu;u:Lon;intermediary field_26600Lnet/minecraft/class_525;field_26600:Lnet/minecraft/class_2561;named ENTER_NAME_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
RESULT_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector official vLecu;v:Lon;intermediary field_26601Lnet/minecraft/class_525;field_26601:Lnet/minecraft/class_2561;named RESULT_FOLDER_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;RESULT_FOLDER_TEXT:Lnet/minecraft/text/Text;
-
ALLOW_COMMANDS_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official wLecu;w:Lon;intermediary field_26602Lnet/minecraft/class_525;field_26602:Lnet/minecraft/class_2561;named ALLOW_COMMANDS_INFO_TEXTLnet/minecraft/client/gui/screen/world/CreateWorldScreen;ALLOW_COMMANDS_INFO_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official xLecu;x:Ldzh;intermediary field_3187Lnet/minecraft/class_525;field_3187:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/world/CreateWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
levelNameField
- Mappings:
Namespace Name Mixin selector official yLecu;y:Ldwf;intermediary field_3188Lnet/minecraft/class_525;field_3188:Lnet/minecraft/class_342;named levelNameFieldLnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
saveDirectoryName
- Mappings:
Namespace Name Mixin selector official zLecu;z:Ljava/lang/String;intermediary field_3196Lnet/minecraft/class_525;field_3196:Ljava/lang/String;named saveDirectoryNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;saveDirectoryName:Ljava/lang/String;
-
currentMode
- Mappings:
Namespace Name Mixin selector official ALecu;A:Lecu$b;intermediary field_3201Lnet/minecraft/class_525;field_3201:Lnet/minecraft/class_525$class_4539;named currentModeLnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
lastMode
- Mappings:
Namespace Name Mixin selector official BLecu;B:Lecu$b;intermediary field_3185Lnet/minecraft/class_525;field_3185:Lnet/minecraft/class_525$class_4539;named lastModeLnet/minecraft/client/gui/screen/world/CreateWorldScreen;lastMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
currentDifficulty
- Mappings:
Namespace Name Mixin selector official CLecu;C:Larg;intermediary field_27998Lnet/minecraft/class_525;field_27998:Lnet/minecraft/class_1267;named currentDifficultyLnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentDifficulty:Lnet/minecraft/world/Difficulty;
-
cheatsEnabled
private boolean cheatsEnabled- Mappings:
Namespace Name Mixin selector official DLecu;D:Zintermediary field_3192Lnet/minecraft/class_525;field_3192:Znamed cheatsEnabledLnet/minecraft/client/gui/screen/world/CreateWorldScreen;cheatsEnabled:Z
-
tweakedCheats
private boolean tweakedCheats- Mappings:
Namespace Name Mixin selector official ELecu;E:Zintermediary field_3179Lnet/minecraft/class_525;field_3179:Znamed tweakedCheatsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakedCheats:Z
-
hardcore
public boolean hardcore- Mappings:
Namespace Name Mixin selector official aLecu;a:Zintermediary field_3178Lnet/minecraft/class_525;field_3178:Znamed hardcoreLnet/minecraft/client/gui/screen/world/CreateWorldScreen;hardcore:Z
-
dataPackSettings
- Mappings:
Namespace Name Mixin selector official bLecu;b:Lbvk;intermediary field_25479Lnet/minecraft/class_525;field_25479:Lnet/minecraft/class_5359;named dataPackSettingsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPackSettings:Lnet/minecraft/resource/DataPackSettings;
-
dataPackTempDir
- Mappings:
Namespace Name Mixin selector official FLecu;F:Ljava/nio/file/Path;intermediary field_25477Lnet/minecraft/class_525;field_25477:Ljava/nio/file/Path;named dataPackTempDirLnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPackTempDir:Ljava/nio/file/Path;
-
packManager
- Mappings:
Namespace Name Mixin selector official GLecu;G:Lada;intermediary field_25792Lnet/minecraft/class_525;field_25792:Lnet/minecraft/class_3283;named packManagerLnet/minecraft/client/gui/screen/world/CreateWorldScreen;packManager:Lnet/minecraft/resource/ResourcePackManager;
-
moreOptionsOpen
private boolean moreOptionsOpen- Mappings:
Namespace Name Mixin selector official HLecu;H:Zintermediary field_3202Lnet/minecraft/class_525;field_3202:Znamed moreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsOpen:Z
-
createLevelButton
- Mappings:
Namespace Name Mixin selector official ILecu;I:Ldvx;intermediary field_3205Lnet/minecraft/class_525;field_3205:Lnet/minecraft/class_4185;named createLevelButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameModeSwitchButton
- Mappings:
Namespace Name Mixin selector official JLecu;J:Ldwd;intermediary field_3186Lnet/minecraft/class_525;field_3186:Lnet/minecraft/class_5676;named gameModeSwitchButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameModeSwitchButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector official KLecu;K:Ldwd;intermediary field_24286Lnet/minecraft/class_525;field_24286:Lnet/minecraft/class_5676;named difficultyButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
moreOptionsButton
- Mappings:
Namespace Name Mixin selector official LLecu;L:Ldvx;intermediary field_3193Lnet/minecraft/class_525;field_3193:Lnet/minecraft/class_4185;named moreOptionsButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameRulesButton
- Mappings:
Namespace Name Mixin selector official MLecu;M:Ldvx;intermediary field_24287Lnet/minecraft/class_525;field_24287:Lnet/minecraft/class_4185;named gameRulesButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRulesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
dataPacksButton
- Mappings:
Namespace Name Mixin selector official NLecu;N:Ldvx;intermediary field_25478Lnet/minecraft/class_525;field_25478:Lnet/minecraft/class_4185;named dataPacksButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPacksButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
enableCheatsButton
- Mappings:
Namespace Name Mixin selector official OLecu;O:Ldwd;intermediary field_3182Lnet/minecraft/class_525;field_3182:Lnet/minecraft/class_5676;named enableCheatsButtonLnet/minecraft/client/gui/screen/world/CreateWorldScreen;enableCheatsButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
firstGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official PLecu;P:Lon;intermediary field_3194Lnet/minecraft/class_525;field_3194:Lnet/minecraft/class_2561;named firstGameModeDescriptionLineLnet/minecraft/client/gui/screen/world/CreateWorldScreen;firstGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
secondGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official QLecu;Q:Lon;intermediary field_3199Lnet/minecraft/class_525;field_3199:Lnet/minecraft/class_2561;named secondGameModeDescriptionLineLnet/minecraft/client/gui/screen/world/CreateWorldScreen;secondGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
levelName
- Mappings:
Namespace Name Mixin selector official RLecu;R:Ljava/lang/String;intermediary field_3195Lnet/minecraft/class_525;field_3195:Ljava/lang/String;named levelNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelName:Ljava/lang/String;
-
gameRules
- Mappings:
Namespace Name Mixin selector official SLecu;S:Lbvt;intermediary field_24288Lnet/minecraft/class_525;field_24288:Lnet/minecraft/class_1928;named gameRulesLnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRules:Lnet/minecraft/world/GameRules;
-
moreOptionsDialog
- Mappings:
Namespace Name Mixin selector official cLecu;c:Lecz;intermediary field_24588Lnet/minecraft/class_525;field_24588:Lnet/minecraft/class_5292;named moreOptionsDialogLnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsDialog:Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;
-
-
Constructor Details
-
CreateWorldScreen
public CreateWorldScreen(@Nullable @Nullable Screen parent, LevelInfo levelInfo, GeneratorOptions generatorOptions, @Nullable @Nullable Path dataPackTempDir, DataPackSettings dataPackSettings, DynamicRegistryManager.Impl registryManager)- Mappings:
Namespace Name Mixin selector official <init>Lecu;<init>(Ldzh;Lbwb;Lcpm;Ljava/nio/file/Path;Lbvk;Lgs$b;)Vintermediary <init>Lnet/minecraft/class_525;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Ljava/nio/file/Path;Lnet/minecraft/class_5359;Lnet/minecraft/class_5455$class_5457;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Ljava/nio/file/Path;Lnet/minecraft/resource/DataPackSettings;Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;)V
-
CreateWorldScreen
private CreateWorldScreen(@Nullable @Nullable Screen parent, DataPackSettings dataPackSettings, MoreOptionsDialog moreOptionsDialog)- Mappings:
Namespace Name Mixin selector official <init>Lecu;<init>(Ldzh;Lbvk;Lecz;)Vintermediary <init>Lnet/minecraft/class_525;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_5359;Lnet/minecraft/class_5292;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/resource/DataPackSettings;Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official aLecu;a(Ldzh;)Lecu;intermediary method_31130Lnet/minecraft/class_525;method_31130(Lnet/minecraft/class_437;)Lnet/minecraft/class_525;named createLnet/minecraft/client/gui/screen/world/CreateWorldScreen;create(Lnet/minecraft/client/gui/screen/Screen;)Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
-
tick
public void tick()- Specified by:
tickin interfaceTickableElement- Overrides:
tickin classScreen- Mappings:
Namespace Name Mixin selector official dLdwq;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official lLecu;l()Larg;intermediary method_32672Lnet/minecraft/class_525;method_32672()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDifficulty()Lnet/minecraft/world/Difficulty;
-
updateSettingsLabels
private void updateSettingsLabels()- Mappings:
Namespace Name Mixin selector official mLecu;m()Vintermediary method_2722Lnet/minecraft/class_525;method_2722()Vnamed updateSettingsLabelsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSettingsLabels()V
-
updateSaveFolderName
private void updateSaveFolderName()- Mappings:
Namespace Name Mixin selector official nLecu;n()Vintermediary method_2727Lnet/minecraft/class_525;method_2727()Vnamed updateSaveFolderNameLnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSaveFolderName()V
-
removed
public void removed() -
createLevel
private void createLevel()- Mappings:
Namespace Name Mixin selector official oLecu;o()Vintermediary method_2736Lnet/minecraft/class_525;method_2736()Vnamed createLevelLnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevel()V
-
toggleMoreOptions
private void toggleMoreOptions()- Mappings:
Namespace Name Mixin selector official pLecu;p()Vintermediary method_2721Lnet/minecraft/class_525;method_2721()Vnamed toggleMoreOptionsLnet/minecraft/client/gui/screen/world/CreateWorldScreen;toggleMoreOptions()V
-
tweakDefaultsTo
- Mappings:
Namespace Name Mixin selector official aLecu;a(Lecu$b;)Vintermediary method_22365Lnet/minecraft/class_525;method_22365(Lnet/minecraft/class_525$class_4539;)Vnamed tweakDefaultsToLnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakDefaultsTo(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;)V
-
setMoreOptionsOpen
public void setMoreOptionsOpen()- Mappings:
Namespace Name Mixin selector official hLecu;h()Vintermediary method_28084Lnet/minecraft/class_525;method_28084()Vnamed setMoreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen()V
-
setMoreOptionsOpen
private void setMoreOptionsOpen(boolean moreOptionsOpen)- Mappings:
Namespace Name Mixin selector official cLecu;c(Z)Vintermediary method_2710Lnet/minecraft/class_525;method_2710(Z)Vnamed setMoreOptionsOpenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen(Z)V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdww;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
onClose
public void onClose() -
onCloseScreen
public void onCloseScreen()- Mappings:
Namespace Name Mixin selector official iLecu;i()Vintermediary method_30297Lnet/minecraft/class_525;method_30297()Vnamed onCloseScreenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;onCloseScreen()V
-
clearTempResources
private void clearTempResources()- Mappings:
Namespace Name Mixin selector official qLecu;q()Vintermediary method_30298Lnet/minecraft/class_525;method_30298()Vnamed clearTempResourcesLnet/minecraft/client/gui/screen/world/CreateWorldScreen;clearTempResources()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdwt;a(Ldpj;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
addChild
Adds a child element to this screen. If the child element is anAbstractButtonWidget, you should useScreen.addButton(AbstractButtonWidget)instead.Adding a child element to a screen does not guarantee the widget is rendered or ticked.
- Overrides:
addChildin classScreen- See Also:
Screen.addButton(AbstractButtonWidget)- Mappings:
Namespace Name Mixin selector official dLdzh;d(Ldww;)Ldww;intermediary method_25429Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named addChildLnet/minecraft/client/gui/screen/Screen;addChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
addButton
Adds a button to this screen. This method should be preferred overScreen.addChild(Element)since buttons are automatically rendered when added to a screen.- Overrides:
addButtonin classScreen- Mappings:
Namespace Name Mixin selector official aLdzh;a(Ldvv;)Ldvv;intermediary method_25411Lnet/minecraft/class_437;method_25411(Lnet/minecraft/class_339;)Lnet/minecraft/class_339;named addButtonLnet/minecraft/client/gui/screen/Screen;addButton(Lnet/minecraft/client/gui/widget/AbstractButtonWidget;)Lnet/minecraft/client/gui/widget/AbstractButtonWidget;
-
getDataPackTempDir
- Mappings:
Namespace Name Mixin selector official kLecu;k()Ljava/nio/file/Path;intermediary method_29693Lnet/minecraft/class_525;method_29693()Ljava/nio/file/Path;named getDataPackTempDirLnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDataPackTempDir()Ljava/nio/file/Path;
-
method_29694
private void method_29694()- Mappings:
Namespace Name Mixin selector official rLecu;r()Vintermediary method_29694Lnet/minecraft/class_525;method_29694()Vnamed method_29694Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_29694()V
-
method_29682
- Mappings:
Namespace Name Mixin selector official aLecu;a(Lada;)Vintermediary method_29682Lnet/minecraft/class_525;method_29682(Lnet/minecraft/class_3283;)Vnamed method_29682Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_29682(Lnet/minecraft/resource/ResourcePackManager;)V
-
clearDataPackTempDir
private void clearDataPackTempDir()- Mappings:
Namespace Name Mixin selector official tLecu;t()Vintermediary method_29695Lnet/minecraft/class_525;method_29695()Vnamed clearDataPackTempDirLnet/minecraft/client/gui/screen/world/CreateWorldScreen;clearDataPackTempDir()V
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official aLecu;a(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Vintermediary method_29687Lnet/minecraft/class_525;method_29687(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Vnamed copyDataPackLnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyDataPack(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
-
copyTempDirDataPacks
private boolean copyTempDirDataPacks()- Mappings:
Namespace Name Mixin selector official uLecu;u()Zintermediary method_29696Lnet/minecraft/class_525;method_29696()Znamed copyTempDirDataPacksLnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyTempDirDataPacks()Z
-
method_29685
- Mappings:
Namespace Name Mixin selector official aLecu;a(Ljava/nio/file/Path;Ldun;)Ljava/nio/file/Path;intermediary method_29685Lnet/minecraft/class_525;method_29685(Ljava/nio/file/Path;Lnet/minecraft/class_310;)Ljava/nio/file/Path;named method_29685Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_29685(Ljava/nio/file/Path;Lnet/minecraft/client/MinecraftClient;)Ljava/nio/file/Path;
-
method_30296
@Nullable private @Nullable com.mojang.datafixers.util.Pair<File,ResourcePackManager> method_30296()- Mappings:
Namespace Name Mixin selector official vLecu;v()Lcom/mojang/datafixers/util/Pair;intermediary method_30296Lnet/minecraft/class_525;method_30296()Lcom/mojang/datafixers/util/Pair;named method_30296Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;method_30296()Lcom/mojang/datafixers/util/Pair;
-