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
- Mappings:
Namespace Name official ednintermediary net/minecraft/class_525named net/minecraft/client/gui/screen/world/CreateWorldScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.class_6390 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Textprivate booleanprivate ButtonWidgetprivate Difficultyprivate CreateWorldScreen.Modeprivate ButtonWidgetprotected DataPackSettingsprivate CyclingButtonWidget<Difficulty>private CyclingButtonWidget<Boolean>private static Textprivate static Textprivate Textprivate static Textprivate GameRulesprivate ButtonWidgetbooleanprivate @Nullable CreateWorldScreen.Modeprivate Stringprivate TextFieldWidgetprivate static Loggerprivate ButtonWidgetprivate booleanprivate @Nullable ResourcePackManagerprivate Screenprivate static Text(package private) Stringprivate Textprivate static Textprivate static Stringprivate booleanFields inherited from class net.minecraft.client.gui.screen.Screen
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 Element & class_6379>
TaddChild(T t)Adds a child element to this screen.private voidapplyDataPacks(ResourcePackManager resourcePackManager)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.method_29685(Path path, MinecraftClient minecraftClient)private @Nullable com.mojang.datafixers.util.Pair<File,ResourcePackManager>protected <T extends Element & Drawable & class_6379>
Tmethod_37063(T t)voidonClose()voidprivate 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, method_37056, method_37060, method_37061, method_37064, method_37066, method_37067, method_37068, method_37069, method_37070, method_37071, method_37072, 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
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_29343, 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 nLedn;n: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;
-
TEMP_DIR_PREFIX
- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official oLedn;o:Ljava/lang/String;intermediary field_32434Lnet/minecraft/class_525;field_32434:Ljava/lang/String;named TEMP_DIR_PREFIXLnet/minecraft/client/gui/screen/world/CreateWorldScreen;TEMP_DIR_PREFIX:Ljava/lang/String;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official pLedn;p: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 qLedn;q: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 rLedn;r: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 sLedn;s: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 tLedn;t: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 uLedn;u: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 vLedn;v:Ldzz;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 wLedn;w:Ldwr;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
String saveDirectoryName- Mappings:
Namespace Name Mixin selector official xLedn;x: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 yLedn;y:Ledn$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 zLedn;z:Ledn$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 ALedn;A:Larh;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 BLedn;B: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 CLedn;C: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 aLedn;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 bLedn;b:Lbvm;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 DLedn;D: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 ELedn;E:Ladc;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 FLedn;F: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 GLedn;G:Ldwj;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 HLedn;H:Ldwp;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 ILedn;I:Ldwp;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 JLedn;J:Ldwj;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 KLedn;K:Ldwj;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 LLedn;L:Ldwj;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 MLedn;M:Ldwp;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 NLedn;N: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 OLedn;O: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 PLedn;P: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 QLedn;Q:Lbvv;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 cLedn;c:Leds;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>Ledn;<init>(Ldzz;Lbwd;Lcpu;Ljava/nio/file/Path;Lbvm;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>Ledn;<init>(Ldzz;Lbvm;Leds;)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 aLedn;a(Ldzz;)Ledn;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() -
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 xLedn;x()Larh;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 yLedn;y()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 zLedn;z()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 ALedn;A()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 BLedn;B()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 aLedn;a(Ledn$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 hLedn;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 cLedn;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 aLdxh;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 uLedn;u()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 CLedn;C()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 aLdxe;a(Ldpu;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 annet.minecraft.client.gui.widget.AbstractButtonWidget, 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:
net.minecraft.client.gui.screen.Screen#addButton(AbstractButtonWidget)- Mappings:
Namespace Name Mixin selector official eLdzz;e(Ldxh;)Ldxh;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;
-
method_37063
- Overrides:
method_37063in classScreen- Mappings:
Namespace Name Mixin selector official dLdzz;d(Ldxh;)Ldxh;intermediary method_37063Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named method_37063Lnet/minecraft/client/gui/screen/Screen;method_37063(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
getDataPackTempDir
- Mappings:
Namespace Name Mixin selector official wLedn;w()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;
-
openPackScreen
private void openPackScreen()- Mappings:
Namespace Name Mixin selector official DLedn;D()Vintermediary method_29694Lnet/minecraft/class_525;method_29694()Vnamed openPackScreenLnet/minecraft/client/gui/screen/world/CreateWorldScreen;openPackScreen()V
-
applyDataPacks
- Mappings:
Namespace Name Mixin selector official aLedn;a(Ladc;)Vintermediary method_29682Lnet/minecraft/class_525;method_29682(Lnet/minecraft/class_3283;)Vnamed applyDataPacksLnet/minecraft/client/gui/screen/world/CreateWorldScreen;applyDataPacks(Lnet/minecraft/resource/ResourcePackManager;)V
-
clearDataPackTempDir
private void clearDataPackTempDir()- Mappings:
Namespace Name Mixin selector official ELedn;E()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 aLedn;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 FLedn;F()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 aLedn;a(Ljava/nio/file/Path;Lduy;)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 GLedn;G()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;
-