net.minecraft.client.gui.screens.worldselection

public class CreateWorldScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fyw
net.minecraft.client.gui.screens.worldselection.CreateWorldScreen
net.minecraft.class_525
net.minecraft.unmapped.C_ibkofvzc
net.minecraft.client.gui.screen.world.CreateWorldScreen
net.minecraft.client.gui.screen.world.CreateWorldScreen
net.minecraft.src.C_3737_

Field summary

Modifier and TypeField
private static final int
b
GROUP_BOTTOM
field_42165
f_bwrlwywb
field_42165
GROUP_BOTTOM
f_267463_
private static final int
c
TAB_COLUMN_WIDTH
field_42166
f_ntbjtmej
field_42166
TAB_COLUMN_WIDTH
f_267486_
private static final org.slf4j.Logger
d
LOGGER
field_25480
f_vqvehnjz
LOGGER
LOGGER
f_100848_
private static final String
s
TEMP_WORLD_PREFIX
field_32434
f_trqmzvlv
TEMP_DIR_PREFIX
TEMP_DIR_PREFIX
f_170147_
static final Component
u
GAME_MODEL_LABEL
field_25898
f_wuyzkrbd
GAME_MODE_TEXT
GAME_MODE
f_100849_
static final Component
v
NAME_LABEL
field_26600
f_hxpwlzvr
ENTER_NAME_TEXT
ENTER_WORLD_NAME
f_100852_
static final Component
w
EXPERIMENTS_LABEL
field_42501
f_puiuugkf
EXPERIMENTS_TEXT
EXPERIMENTS
f_268721_
static final Component
x
ALLOW_COMMANDS_INFO
field_42169
f_vvsnyqpp
ALLOW_COMMANDS_INFO_TEXT
ALLOW_COMMANDS
f_314626_
private static final Component
y
PREPARING_WORLD_DATA
field_37911
f_fyvyzcba
PREPARING_TEXT
PREPARING
f_232866_
private static final int
z
HORIZONTAL_BUTTON_SPACING
field_42170
f_puwignwj
field_42170
HORIZONTAL_BUTTON_SPACING
f_267420_
private static final int
A
VERTICAL_BUTTON_SPACING
field_42171
f_vsdozuic
field_42171
VERTICAL_BUTTON_SPACING
f_267460_
public static final ResourceLocation
a
TAB_HEADER_BACKGROUND
field_49902
f_ulkqfmxe
TAB_HEADER_BACKGROUND_TEXTURE
TAB_HEADER_BACKGROUND
f_314408_
private final HeaderAndFooterLayout
B
layout
field_49557
f_lzksulbp
layout
layout
f_313923_
final WorldCreationUiState
C
uiState
field_42172
f_rsmdhran
worldCreator
worldCreator
f_267389_
private final TabManager
D
tabManager
field_42173
f_ztgjtcrr
tabManager
tabManager
f_267424_
private boolean
E
recreated
field_42502
f_bqfuezdy
recreated
reopened
f_268587_
private final DirectoryValidator
F
packValidator
field_45568
f_yednpqse
symlinkFinder
linkValidator
f_291518_
private final CreateWorldCallback
G
createWorldCallback
field_54390
f_uhytrifo
callback
f_348967_
private final Screen
H
lastScreen
field_3187
f_toffzjsn
parent
parent
f_100855_
private Path
I
tempDataPackDir
field_25477
f_woybhigv
dataPackTempDir
dataPackTempDir
f_100831_
private PackRepository
J
tempDataPackRepository
field_25792
f_htfhyyfx
packManager
packManager
f_100832_
private TabNavigationBar
K
tabNavigationBar
field_42164
f_hqkhcpia
tabNavigation
header
f_267490_

Constructor summary

ModifierConstructor
private (Minecraft client, Screen parent, WorldCreationContext generatorOptionsHolder, Optional<ResourceKey<WorldPreset>> defaultWorldType, OptionalLong seed, CreateWorldCallback callback)

Method summary

Modifier and TypeMethod
public static void
a(fmf arg0, ftx arg1)
openFresh(Minecraft arg0, Screen arg1)
method_31130(class_310 arg0, class_437 arg1)
m_trxlvbut(C_ayfeobid arg0, C_wrmtlwqx arg1)
show(MinecraftClient client, Screen parent)
m_trxlvbut(MinecraftClient client, Screen parent)
m_232896_(C_3391_ p_232897_, C_3583_ p_232898_)
public static void
a(fmf arg0, ftx arg1, fyv arg2)
openFresh(Minecraft arg0, Screen arg1, CreateWorldCallback arg2)
method_64368(class_310 arg0, class_437 arg1, class_10241 arg2)
m_wqtsfhtm(C_ayfeobid arg0, C_wrmtlwqx arg1, C_vuympcpz arg2)
show(MinecraftClient client, Screen parent, CreateWorldCallback callback)
m_wqtsfhtm(MinecraftClient client, Screen parent, C_vuympcpz arg2)
m_356226_(C_3391_ p_369769_, C_3583_ p_361339_, C_345947_ p_363770_)
public static void
b(fmf arg0, ftx arg1)
testWorld(Minecraft arg0, Screen arg1)
method_64248(class_310 arg0, class_437 arg1)
m_dmvreijs(C_ayfeobid arg0, C_wrmtlwqx arg1)
showTestWorld(MinecraftClient client, Screen parent)
m_dmvreijs(MinecraftClient client, Screen parent)
m_355404_(C_3391_ p_366301_, C_3583_ p_365120_)
private static void
a(fmf arg0, ftx arg1, Function<amx$a, eel> arg2, fzh arg3, aly<eny> arg4, fyv arg5)
openCreateWorldScreen(Minecraft arg0, Screen arg1, Function<WorldLoader$DataLoadContext, WorldGenSettings> arg2, WorldCreationContextMapper arg3, ResourceKey<WorldPreset> arg4, CreateWorldCallback arg5)
method_64244(class_310 arg0, class_437 arg1, Function<class_7237$class_7660, class_7726> arg2, class_10221 arg3, class_5321<class_7145> arg4, class_10241 arg5)
m_hrmwcpge(C_ayfeobid arg0, C_wrmtlwqx arg1, Function<C_kjxfcecs$C_hkmknvtj, C_oxnufhsj> arg2, C_zugbgokk arg3, C_xhhleach<C_uejfhynd> arg4, C_vuympcpz arg5)
show(MinecraftClient client, Screen parent, Function<SaveLoading$LoadContextSupplierContext, WorldGenSettings> settingsSupplier, GeneratorOptionsFactory generatorOptionsFactory, RegistryKey<WorldPreset> presetKey, CreateWorldCallback callback)
m_hrmwcpge(MinecraftClient client, Screen parent, Function<WorldLoader$DataLoadContext, GeneratorOptions> arg2, C_zugbgokk arg3, RegistryKey<GeneratorType> generatorType, C_vuympcpz arg5)
m_356175_(C_3391_ p_369292_, C_3583_ p_365265_, Function<C_212931_$C_243500_, C_2201_> p_367080_, C_345620_ p_363016_, C_5264_<C_213159_> p_369771_, C_345947_ p_366315_)
public static CreateWorldScreen
a(fmf arg0, ftx arg1, dhl arg2, fzg arg3, Path arg4)
createFromExisting(Minecraft arg0, Screen arg1, LevelSettings arg2, WorldCreationContext arg3, Path arg4)
method_40212(class_310 arg0, class_437 arg1, class_1940 arg2, class_7193 arg3, Path arg4)
m_cmzzexuo(C_ayfeobid arg0, C_wrmtlwqx arg1, C_tmnkpzlg arg2, C_njsjipmy arg3, Path arg4)
create(MinecraftClient client, Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, Path dataPackTempDir)
createFromExisting(MinecraftClient client, Screen parent, WorldInfo info, WorldCreationContext context, Path path)
m_275847_(C_3391_ p_276017_, C_3583_ p_276029_, C_1602_ p_276055_, C_213386_ p_276028_, Path p_276040_)
public WorldCreationUiState
l()
getUiState()
method_48657()
m_pcylhjnh()
getWorldCreator()
getWorldCreator()
m_267748_()
protected void
aT_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
protected void
aG_()
setInitialFocus()
method_56131()
m_uzikfrgi()
setInitialFocus()
setInitialFocus()
m_318615_()
public void
c()
repositionElements()
method_48640()
m_htvzhlss()
refreshWidgetPositions()
repositionElements()
m_267719_()
private static void
a(fmf arg0, xv arg1)
queueLoadScreen(Minecraft arg0, Component arg1)
method_41852(class_310 arg0, class_2561 arg1)
m_sgacyucm(C_ayfeobid arg0, C_rdaqiwdt arg1)
showMessage(MinecraftClient client, Text text)
showMessage(MinecraftClient client, Text message)
m_232899_(C_3391_ p_232900_, C_4996_ p_232901_)
private void
F()
onCreate()
method_2736()
m_xdqbchlc()
createLevel()
createWorld()
m_100972_()
private void
a(jx<ami> arg0, ewg arg1)
createWorldAndCleanup(LayeredRegistryAccess<RegistryLayer> arg0, PrimaryLevelData arg1)
method_64370(class_7780<class_7659> arg0, class_31 arg1)
m_wglqnlrb(C_bcpxdrik<C_tmgtemxc> arg0, C_jmmczzpb arg1)
createAndClearTempDir(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, LevelProperties levelProperties)
m_354925_(C_243514_<C_243564_> p_368157_, C_2793_ arg1)
private boolean
a(jx<ami> arg0, ewi arg1)
createNewWorld(LayeredRegistryAccess<RegistryLayer> arg0, WorldData arg1)
method_41847(class_7780<class_7659> arg0, class_5219 arg1)
m_odrhilcd(C_bcpxdrik<C_tmgtemxc> arg0, C_jkevluio arg1)
startServer(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, SaveProperties saveProperties)
createNewWorld(LayeredRegistryManager<ServerRegistryLayer> manager, SaveProperties saveProperties)
m_245184_(C_243514_<C_243564_> p_366848_, C_2795_ arg1)
private LevelSettings
c(boolean arg0)
createLevelSettings(boolean arg0)
method_40213(boolean arg0)
m_ficgwtev(boolean arg0)
createLevelInfo(boolean debugWorld)
createWorldInfo(boolean debugWorld)
m_205447_(boolean arg0)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_100876_, int p_100877_, int arg2)
public void
aP_()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()
m_7379_()
public void
E()
popScreen()
method_30297()
m_oitudqud()
onCloseScreen()
onCloseScreen()
m_100967_()
public void
a(fnr arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_283640_, int p_281243_, int p_282743_, float arg3)
protected void
a(fnr arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
m_bplrnryk(C_sedilmty arg0)
renderDarkening(DrawContext arg0)
renderMenuBackground(GuiGraphics arg0)
m_323963_(C_279497_ arg0)
protected <T extends GuiEventListener, NarratableEntry> T
d(T arg0)
addWidget(T arg0)
method_25429(T arg0)
m_lkrokqto(T arg0)
addSelectableChild(T arg0)
addSelectableElement(T arg0)
m_7787_(T arg0)
protected <T extends GuiEventListener, Renderable, NarratableEntry> T
c(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
m_vsdrypvi(T arg0)
addDrawableChild(T arg0)
addDrawableSelectableElement(T arg0)
m_142416_(T arg0)
private Path
G()
getOrCreateTempDataPackDir()
method_29693()
m_cryytfzx()
getOrCreateDataPackTempDir()
m_100968_()
void
a(die arg0)
openExperimentsScreen(WorldDataConfiguration arg0)
method_49010(class_7712 arg0)
m_kvlyrphw(C_yknpgzdr arg0)
openExperimentsScreen(DataConfiguration dataConfiguration)
openExperimentsScreen(FeatureAndDataSettings settings)
m_269545_(C_243530_ arg0)
void
b(die arg0)
openDataPackSelectionScreen(WorldDataConfiguration arg0)
method_29694(class_7712 arg0)
m_evbwddxa(C_yknpgzdr arg0)
openPackScreen(DataConfiguration dataConfiguration)
openDataPacksScreen(FeatureAndDataSettings settings)
m_267734_(C_243530_ arg0)
private void
a(avg arg0, boolean arg1, Consumer<die> arg2)
tryApplyNewDataPacks(PackRepository arg0, boolean arg1, Consumer<WorldDataConfiguration> arg2)
method_29682(class_3283 arg0, boolean arg1, Consumer<class_7712> arg2)
m_zeghowdv(C_dqfyacfy arg0, boolean arg1, Consumer<C_yknpgzdr> arg2)
applyDataPacks(ResourcePackManager dataPackManager, boolean fromPackScreen, Consumer<DataConfiguration> configurationSetter)
applyDataPacks(PackManager dataPackManager, boolean warnForExperimentsIfApplicable, Consumer<FeatureAndDataSettings> consumer)
m_269443_(C_62_ p_270896_, boolean p_270760_, Consumer<C_243530_> arg2)
private void
a(avg arg0, die arg1, Consumer<die> arg2)
applyNewPackConfig(PackRepository arg0, WorldDataConfiguration arg1, Consumer<WorldDataConfiguration> arg2)
method_45679(class_3283 arg0, class_7712 arg1, Consumer<class_7712> arg2)
m_btwtdkmu(C_dqfyacfy arg0, C_yknpgzdr arg1, Consumer<C_yknpgzdr> arg2)
validateDataPacks(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration, Consumer<DataConfiguration> configurationSetter)
validateDataPacks(PackManager manager, FeatureAndDataSettings settings, Consumer<FeatureAndDataSettings> consumer)
m_269431_(C_62_ p_270573_, C_243530_ p_270552_, Consumer<C_243530_> arg2)
private static WorldLoader$InitConfig
a(avg arg0, die arg1)
createDefaultLoadConfig(PackRepository arg0, WorldDataConfiguration arg1)
method_41849(class_3283 arg0, class_7712 arg1)
m_evhcwytp(C_dqfyacfy arg0, C_yknpgzdr arg1)
createServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration)
createDefaultLoadConfig(PackManager resourcePackManager, FeatureAndDataSettings settings)
m_245574_(C_62_ p_251829_, C_243530_ p_251555_)
private void
J()
removeTempDataPackDir()
method_29695()
m_fqtykenm()
clearDataPackTempDir()
clearDataPackTempDir()
m_100976_()
private static void
a(Path arg0, Path arg1, Path arg2)
copyBetweenDirs(Path arg0, Path arg1, Path arg2)
method_29687(Path arg0, Path arg1, Path arg2)
m_kfiwihuq(Path arg0, Path arg1, Path arg2)
copyDataPack(Path srcFolder, Path destFolder, Path dataPackFile)
copyDataPack(Path srcFolder, Path destFolder, Path dataPackFile)
m_100912_(Path p_100913_, Path p_100914_, Path p_100915_)
private static Optional<LevelStorageSource$LevelStorageAccess>
a(fmf arg0, String arg1, Path arg2)
createNewWorldDirectory(Minecraft arg0, String arg1, Path arg2)
method_41848(class_310 arg0, String arg1, Path arg2)
m_fsncvugn(C_ayfeobid arg0, String arg1, Path arg2)
createSession(MinecraftClient client, String worldDirectoryName, Path dataPackTempDir)
createStorageSession(MinecraftClient client, String name, Path start)
m_232868_(C_3391_ p_362985_, String p_369476_, Path p_370203_)
public static Path
a(Path arg0, fmf arg1)
createTempDataPackDirFromExistingWorld(Path arg0, Minecraft arg1)
method_29685(Path arg0, class_310 arg1)
m_bzolzyfh(Path arg0, C_ayfeobid arg1)
copyDataPack(Path srcFolder, MinecraftClient client)
copyDataPack(Path srcFolder, MinecraftClient client)
m_100906_(Path p_100907_, C_3391_ p_100908_)
private com.mojang.datafixers.util.Pair<Path, PackRepository>
c(die arg0)
getDataPackSelectionSettings(WorldDataConfiguration arg0)
method_30296(class_7712 arg0)
m_umnykrgq(C_yknpgzdr arg0)
getScannedPack(DataConfiguration dataConfiguration)
getScannedDataPack(FeatureAndDataSettings settings)
m_267637_(C_243530_ arg0)