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 epl
intermediary net/minecraft/class_525
named net/minecraft/client/gui/screen/world/CreateWorldScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private boolean
private ButtonWidget
private Difficulty
private CreateWorldScreen.Mode
private ButtonWidget
protected DataPackSettings
private CyclingButtonWidget<Difficulty>
private CyclingButtonWidget<Boolean>
private static final Text
private static final Text
private Text
private static final Text
private GameRules
private ButtonWidget
boolean
private @Nullable CreateWorldScreen.Mode
private String
private TextFieldWidget
private static final org.slf4j.Logger
private ButtonWidget
final MoreOptionsDialog
private boolean
private @Nullable ResourcePackManager
private static final Text
private static final Text
(package private) String
private Text
private static final Text
private static final String
private boolean
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprivate
CreateWorldScreen
(@Nullable Screen parent, DataPackSettings dataPackSettings, MoreOptionsDialog moreOptionsDialog) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends Element & Drawable & Selectable>
TaddDrawableChild
(T drawableElement) protected <T extends Element & Selectable>
TaddSelectableChild
(T child) private void
applyDataPacks
(ResourcePackManager dataPackManager) private void
void
close()
private static void
copyDataPack
(Path srcFolder, Path destFolder, Path dataPackFile) copyDataPack
(Path srcFolder, MinecraftClient client) static CreateWorldScreen
static void
create
(MinecraftClient client, @Nullable Screen parent) private void
private LevelInfo
createLevelInfo
(boolean debugWorld) private static SaveLoading.ServerConfig
createServerConfig
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings) private Optional<LevelStorage.Session>
private Difficulty
private @Nullable com.mojang.datafixers.util.Pair<File,
ResourcePackManager> protected void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
private void
void
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
private void
setMoreOptionsOpen
(boolean moreOptionsOpen) private static void
showMessage
(MinecraftClient client, Text text) private void
void
tick()
private void
private void
private void
private void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addElementNarrations, addScreenNarrations, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official n
Lepl;n:Lorg/slf4j/Logger;
intermediary field_25480
Lnet/minecraft/class_525;field_25480:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
TEMP_DIR_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lepl;o:Ljava/lang/String;
intermediary field_32434
Lnet/minecraft/class_525;field_32434:Ljava/lang/String;
named TEMP_DIR_PREFIX
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;TEMP_DIR_PREFIX:Ljava/lang/String;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official p
Lepl;p:Lrq;
intermediary field_25898
Lnet/minecraft/class_525;field_25898:Lnet/minecraft/class_2561;
named GAME_MODE_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
ENTER_SEED_TEXT
- Mappings:
Namespace Name Mixin selector official q
Lepl;q:Lrq;
intermediary field_26598
Lnet/minecraft/class_525;field_26598:Lnet/minecraft/class_2561;
named ENTER_SEED_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_SEED_TEXT:Lnet/minecraft/text/Text;
-
SEED_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official r
Lepl;r:Lrq;
intermediary field_26599
Lnet/minecraft/class_525;field_26599:Lnet/minecraft/class_2561;
named SEED_INFO_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;SEED_INFO_TEXT:Lnet/minecraft/text/Text;
-
ENTER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official s
Lepl;s:Lrq;
intermediary field_26600
Lnet/minecraft/class_525;field_26600:Lnet/minecraft/class_2561;
named ENTER_NAME_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ENTER_NAME_TEXT:Lnet/minecraft/text/Text;
-
RESULT_FOLDER_TEXT
- Mappings:
Namespace Name Mixin selector official t
Lepl;t:Lrq;
intermediary field_26601
Lnet/minecraft/class_525;field_26601:Lnet/minecraft/class_2561;
named RESULT_FOLDER_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;RESULT_FOLDER_TEXT:Lnet/minecraft/text/Text;
-
ALLOW_COMMANDS_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official u
Lepl;u:Lrq;
intermediary field_26602
Lnet/minecraft/class_525;field_26602:Lnet/minecraft/class_2561;
named ALLOW_COMMANDS_INFO_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;ALLOW_COMMANDS_INFO_TEXT:Lnet/minecraft/text/Text;
-
PREPARING_TEXT
- Mappings:
Namespace Name Mixin selector official v
Lepl;v:Lrq;
intermediary field_37911
Lnet/minecraft/class_525;field_37911:Lnet/minecraft/class_2561;
named PREPARING_TEXT
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;PREPARING_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official w
Lepl;w:Lelm;
intermediary field_3187
Lnet/minecraft/class_525;field_3187:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
levelNameField
- Mappings:
Namespace Name Mixin selector official x
Lepl;x:Lehx;
intermediary field_3188
Lnet/minecraft/class_525;field_3188:Lnet/minecraft/class_342;
named levelNameField
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelNameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
saveDirectoryName
String saveDirectoryName- Mappings:
Namespace Name Mixin selector official y
Lepl;y:Ljava/lang/String;
intermediary field_3196
Lnet/minecraft/class_525;field_3196:Ljava/lang/String;
named saveDirectoryName
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;saveDirectoryName:Ljava/lang/String;
-
currentMode
- Mappings:
Namespace Name Mixin selector official z
Lepl;z:Lepl$a;
intermediary field_3201
Lnet/minecraft/class_525;field_3201:Lnet/minecraft/class_525$class_4539;
named currentMode
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
lastMode
- Mappings:
Namespace Name Mixin selector official A
Lepl;A:Lepl$a;
intermediary field_3185
Lnet/minecraft/class_525;field_3185:Lnet/minecraft/class_525$class_4539;
named lastMode
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;lastMode:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
currentDifficulty
- Mappings:
Namespace Name Mixin selector official B
Lepl;B:Lbag;
intermediary field_27998
Lnet/minecraft/class_525;field_27998:Lnet/minecraft/class_1267;
named currentDifficulty
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;currentDifficulty:Lnet/minecraft/world/Difficulty;
-
cheatsEnabled
private boolean cheatsEnabled- Mappings:
Namespace Name Mixin selector official C
Lepl;C:Z
intermediary field_3192
Lnet/minecraft/class_525;field_3192:Z
named cheatsEnabled
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;cheatsEnabled:Z
-
tweakedCheats
private boolean tweakedCheats- Mappings:
Namespace Name Mixin selector official D
Lepl;D:Z
intermediary field_3179
Lnet/minecraft/class_525;field_3179:Z
named tweakedCheats
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;tweakedCheats:Z
-
hardcore
public boolean hardcore- Mappings:
Namespace Name Mixin selector official a
Lepl;a:Z
intermediary field_3178
Lnet/minecraft/class_525;field_3178:Z
named hardcore
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;hardcore:Z
-
dataPackSettings
- Mappings:
Namespace Name Mixin selector official b
Lepl;b:Lcgl;
intermediary field_25479
Lnet/minecraft/class_525;field_25479:Lnet/minecraft/class_5359;
named dataPackSettings
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPackSettings:Lnet/minecraft/resource/DataPackSettings;
-
dataPackTempDir
- Mappings:
Namespace Name Mixin selector official E
Lepl;E:Ljava/nio/file/Path;
intermediary field_25477
Lnet/minecraft/class_525;field_25477:Ljava/nio/file/Path;
named dataPackTempDir
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPackTempDir:Ljava/nio/file/Path;
-
packManager
- Mappings:
Namespace Name Mixin selector official F
Lepl;F:Lahy;
intermediary field_25792
Lnet/minecraft/class_525;field_25792:Lnet/minecraft/class_3283;
named packManager
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;packManager:Lnet/minecraft/resource/ResourcePackManager;
-
moreOptionsOpen
private boolean moreOptionsOpen- Mappings:
Namespace Name Mixin selector official G
Lepl;G:Z
intermediary field_3202
Lnet/minecraft/class_525;field_3202:Z
named moreOptionsOpen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsOpen:Z
-
createLevelButton
- Mappings:
Namespace Name Mixin selector official H
Lepl;H:Lehp;
intermediary field_3205
Lnet/minecraft/class_525;field_3205:Lnet/minecraft/class_4185;
named createLevelButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameModeSwitchButton
- Mappings:
Namespace Name Mixin selector official I
Lepl;I:Lehv;
intermediary field_3186
Lnet/minecraft/class_525;field_3186:Lnet/minecraft/class_5676;
named gameModeSwitchButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameModeSwitchButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector official J
Lepl;J:Lehv;
intermediary field_24286
Lnet/minecraft/class_525;field_24286:Lnet/minecraft/class_5676;
named difficultyButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
moreOptionsButton
- Mappings:
Namespace Name Mixin selector official K
Lepl;K:Lehp;
intermediary field_3193
Lnet/minecraft/class_525;field_3193:Lnet/minecraft/class_4185;
named moreOptionsButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
gameRulesButton
- Mappings:
Namespace Name Mixin selector official L
Lepl;L:Lehp;
intermediary field_24287
Lnet/minecraft/class_525;field_24287:Lnet/minecraft/class_4185;
named gameRulesButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRulesButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
dataPacksButton
- Mappings:
Namespace Name Mixin selector official M
Lepl;M:Lehp;
intermediary field_25478
Lnet/minecraft/class_525;field_25478:Lnet/minecraft/class_4185;
named dataPacksButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;dataPacksButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
enableCheatsButton
- Mappings:
Namespace Name Mixin selector official N
Lepl;N:Lehv;
intermediary field_3182
Lnet/minecraft/class_525;field_3182:Lnet/minecraft/class_5676;
named enableCheatsButton
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;enableCheatsButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
firstGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official O
Lepl;O:Lrq;
intermediary field_3194
Lnet/minecraft/class_525;field_3194:Lnet/minecraft/class_2561;
named firstGameModeDescriptionLine
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;firstGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
secondGameModeDescriptionLine
- Mappings:
Namespace Name Mixin selector official P
Lepl;P:Lrq;
intermediary field_3199
Lnet/minecraft/class_525;field_3199:Lnet/minecraft/class_2561;
named secondGameModeDescriptionLine
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;secondGameModeDescriptionLine:Lnet/minecraft/text/Text;
-
levelName
- Mappings:
Namespace Name Mixin selector official Q
Lepl;Q:Ljava/lang/String;
intermediary field_3195
Lnet/minecraft/class_525;field_3195:Ljava/lang/String;
named levelName
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;levelName:Ljava/lang/String;
-
gameRules
- Mappings:
Namespace Name Mixin selector official R
Lepl;R:Lcgt;
intermediary field_24288
Lnet/minecraft/class_525;field_24288:Lnet/minecraft/class_1928;
named gameRules
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;gameRules:Lnet/minecraft/world/GameRules;
-
moreOptionsDialog
- Mappings:
Namespace Name Mixin selector official c
Lepl;c:Leps;
intermediary field_24588
Lnet/minecraft/class_525;field_24588:Lnet/minecraft/class_5292;
named moreOptionsDialog
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;moreOptionsDialog:Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;
-
-
Constructor Details
-
CreateWorldScreen
private CreateWorldScreen(@Nullable @Nullable Screen parent, DataPackSettings dataPackSettings, MoreOptionsDialog moreOptionsDialog) - Mappings:
Namespace Name Mixin selector official <init>
Lepl;<init>(Lelm;Lcgl;Leps;)V
intermediary <init>
Lnet/minecraft/class_525;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_5359;Lnet/minecraft/class_5292;)V
named <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 a
Lepl;a(Lefu;Lelm;)V
intermediary method_31130
Lnet/minecraft/class_525;method_31130(Lnet/minecraft/class_310;Lnet/minecraft/class_437;)V
named create
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;)V
-
create
public static CreateWorldScreen create(@Nullable @Nullable Screen parent, SaveLoader source, @Nullable @Nullable Path path) - Mappings:
Namespace Name Mixin selector official a
Lepl;a(Lelm;Labu;Ljava/nio/file/Path;)Lepl;
intermediary method_40212
Lnet/minecraft/class_525;method_40212(Lnet/minecraft/class_437;Lnet/minecraft/class_6904;Ljava/nio/file/Path;)Lnet/minecraft/class_525;
named create
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;create(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/server/SaveLoader;Ljava/nio/file/Path;)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 k
Lepl;k()Lbag;
intermediary method_32672
Lnet/minecraft/class_525;method_32672()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDifficulty()Lnet/minecraft/world/Difficulty;
-
updateSettingsLabels
private void updateSettingsLabels()- Mappings:
Namespace Name Mixin selector official z
Lepl;z()V
intermediary method_2722
Lnet/minecraft/class_525;method_2722()V
named updateSettingsLabels
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSettingsLabels()V
-
updateSaveFolderName
private void updateSaveFolderName()- Mappings:
Namespace Name Mixin selector official A
Lepl;A()V
intermediary method_2727
Lnet/minecraft/class_525;method_2727()V
named updateSaveFolderName
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;updateSaveFolderName()V
-
removed
public void removed() -
showMessage
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(Lefu;Lrq;)V
intermediary method_41852
Lnet/minecraft/class_525;method_41852(Lnet/minecraft/class_310;Lnet/minecraft/class_2561;)V
named showMessage
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;showMessage(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/text/Text;)V
-
createLevel
private void createLevel()- Mappings:
Namespace Name Mixin selector official B
Lepl;B()V
intermediary method_2736
Lnet/minecraft/class_525;method_2736()V
named createLevel
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevel()V
-
startServer
private void startServer()- Mappings:
Namespace Name Mixin selector official C
Lepl;C()V
intermediary method_41847
Lnet/minecraft/class_525;method_41847()V
named startServer
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;startServer()V
-
createLevelInfo
- Mappings:
Namespace Name Mixin selector official c
Lepl;c(Z)Lchb;
intermediary method_40213
Lnet/minecraft/class_525;method_40213(Z)Lnet/minecraft/class_1940;
named createLevelInfo
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createLevelInfo(Z)Lnet/minecraft/world/level/LevelInfo;
-
toggleMoreOptions
private void toggleMoreOptions()- Mappings:
Namespace Name Mixin selector official D
Lepl;D()V
intermediary method_2721
Lnet/minecraft/class_525;method_2721()V
named toggleMoreOptions
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;toggleMoreOptions()V
-
tweakDefaultsTo
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(Lepl$a;)V
intermediary method_22365
Lnet/minecraft/class_525;method_22365(Lnet/minecraft/class_525$class_4539;)V
named tweakDefaultsTo
Lnet/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 g
Lepl;g()V
intermediary method_28084
Lnet/minecraft/class_525;method_28084()V
named setMoreOptionsOpen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;setMoreOptionsOpen()V
-
setMoreOptionsOpen
private void setMoreOptionsOpen(boolean moreOptionsOpen) - Mappings:
Namespace Name Mixin selector official e
Lepl;e(Z)V
intermediary method_2710
Lnet/minecraft/class_525;method_2710(Z)V
named setMoreOptionsOpen
Lnet/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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leir;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
close
public void close() -
onCloseScreen
public void onCloseScreen()- Mappings:
Namespace Name Mixin selector official j
Lepl;j()V
intermediary method_30297
Lnet/minecraft/class_525;method_30297()V
named onCloseScreen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;onCloseScreen()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Leio;a(Leaq;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
-
addSelectableChild
- Overrides:
addSelectableChild
in classScreen
- Mappings:
Namespace Name Mixin selector official e
Lelm;e(Leir;)Leir;
intermediary method_25429
Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
named addSelectableChild
Lnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
addDrawableChild
- Overrides:
addDrawableChild
in classScreen
- Mappings:
Namespace Name Mixin selector official d
Lelm;d(Leir;)Leir;
intermediary method_37063
Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
named addDrawableChild
Lnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
getDataPackTempDir
- Mappings:
Namespace Name Mixin selector official E
Lepl;E()Ljava/nio/file/Path;
intermediary method_29693
Lnet/minecraft/class_525;method_29693()Ljava/nio/file/Path;
named getDataPackTempDir
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getDataPackTempDir()Ljava/nio/file/Path;
-
openPackScreen
private void openPackScreen()- Mappings:
Namespace Name Mixin selector official F
Lepl;F()V
intermediary method_29694
Lnet/minecraft/class_525;method_29694()V
named openPackScreen
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;openPackScreen()V
-
applyDataPacks
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(Lahy;)V
intermediary method_29682
Lnet/minecraft/class_525;method_29682(Lnet/minecraft/class_3283;)V
named applyDataPacks
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;applyDataPacks(Lnet/minecraft/resource/ResourcePackManager;)V
-
createServerConfig
private static SaveLoading.ServerConfig createServerConfig(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings) - Mappings:
Namespace Name Mixin selector official a
Lepl;a(Lahy;Lcgl;)Labt$a;
intermediary method_41849
Lnet/minecraft/class_525;method_41849(Lnet/minecraft/class_3283;Lnet/minecraft/class_5359;)Lnet/minecraft/class_7237$class_6906;
named createServerConfig
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createServerConfig(Lnet/minecraft/resource/ResourcePackManager;Lnet/minecraft/resource/DataPackSettings;)Lnet/minecraft/server/SaveLoading$ServerConfig;
-
clearDataPackTempDir
private void clearDataPackTempDir()- Mappings:
Namespace Name Mixin selector official G
Lepl;G()V
intermediary method_29695
Lnet/minecraft/class_525;method_29695()V
named clearDataPackTempDir
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;clearDataPackTempDir()V
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
intermediary method_29687
Lnet/minecraft/class_525;method_29687(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
named copyDataPack
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyDataPack(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
-
createSession
- Mappings:
Namespace Name Mixin selector official H
Lepl;H()Ljava/util/Optional;
intermediary method_41848
Lnet/minecraft/class_525;method_41848()Ljava/util/Optional;
named createSession
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;createSession()Ljava/util/Optional;
-
copyDataPack
- Mappings:
Namespace Name Mixin selector official a
Lepl;a(Ljava/nio/file/Path;Lefu;)Ljava/nio/file/Path;
intermediary method_29685
Lnet/minecraft/class_525;method_29685(Ljava/nio/file/Path;Lnet/minecraft/class_310;)Ljava/nio/file/Path;
named copyDataPack
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;copyDataPack(Ljava/nio/file/Path;Lnet/minecraft/client/MinecraftClient;)Ljava/nio/file/Path;
-
getScannedPack
@Nullable private @Nullable com.mojang.datafixers.util.Pair<File,ResourcePackManager> getScannedPack()- Mappings:
Namespace Name Mixin selector official I
Lepl;I()Lcom/mojang/datafixers/util/Pair;
intermediary method_30296
Lnet/minecraft/class_525;method_30296()Lcom/mojang/datafixers/util/Pair;
named getScannedPack
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;getScannedPack()Lcom/mojang/datafixers/util/Pair;
-