net.minecraft.client.gui.screens.worldselection

public class CreateWorldScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fyx
net.minecraft.client.gui.screens.worldselection.CreateWorldScreen
net.minecraft.class_525
net.minecraft.client.gui.screen.world.CreateWorldScreen

Field summary

Modifier and TypeField
private static final int
b
GROUP_BOTTOM
field_42165
field_42165
private static final int
c
TAB_COLUMN_WIDTH
field_42166
field_42166
private static final org.slf4j.Logger
d
LOGGER
field_25480
LOGGER
private static final String
s
TEMP_WORLD_PREFIX
field_32434
TEMP_DIR_PREFIX
static final Component
u
GAME_MODEL_LABEL
field_25898
GAME_MODE_TEXT
static final Component
v
NAME_LABEL
field_26600
ENTER_NAME_TEXT
static final Component
w
EXPERIMENTS_LABEL
field_42501
EXPERIMENTS_TEXT
static final Component
x
ALLOW_COMMANDS_INFO
field_42169
ALLOW_COMMANDS_INFO_TEXT
private static final Component
y
PREPARING_WORLD_DATA
field_37911
PREPARING_TEXT
private static final int
z
HORIZONTAL_BUTTON_SPACING
field_42170
field_42170
private static final int
A
VERTICAL_BUTTON_SPACING
field_42171
field_42171
public static final ResourceLocation
a
TAB_HEADER_BACKGROUND
field_49902
TAB_HEADER_BACKGROUND_TEXTURE
private final HeaderAndFooterLayout
B
layout
field_49557
layout
final WorldCreationUiState
C
uiState
field_42172
worldCreator
private final TabManager
D
tabManager
field_42173
tabManager
private boolean
E
recreated
field_42502
recreated
private final DirectoryValidator
F
packValidator
field_45568
symlinkFinder
private final CreateWorldCallback
G
createWorldCallback
field_54390
callback
private final Screen
H
lastScreen
field_3187
parent
private Path
I
tempDataPackDir
field_25477
dataPackTempDir
private PackRepository
J
tempDataPackRepository
field_25792
packManager
private TabNavigationBar
K
tabNavigationBar
field_42164
tabNavigation

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(fmg arg0, fty arg1)
openFresh(Minecraft arg0, Screen arg1)
method_31130(class_310 arg0, class_437 arg1)
show(MinecraftClient client, Screen parent)
public static void
a(fmg arg0, fty arg1, fyw arg2)
openFresh(Minecraft arg0, Screen arg1, CreateWorldCallback arg2)
method_64368(class_310 arg0, class_437 arg1, class_10241 arg2)
show(MinecraftClient client, Screen parent, CreateWorldCallback callback)
public static void
b(fmg arg0, fty arg1)
testWorld(Minecraft arg0, Screen arg1)
method_64248(class_310 arg0, class_437 arg1)
showTestWorld(MinecraftClient client, Screen parent)
private static void
a(fmg arg0, fty arg1, Function<amx$a, eem> arg2, fzi arg3, aly<enz> arg4, fyw 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)
show(MinecraftClient client, Screen parent, Function<SaveLoading$LoadContextSupplierContext, WorldGenSettings> settingsSupplier, GeneratorOptionsFactory generatorOptionsFactory, RegistryKey<WorldPreset> presetKey, CreateWorldCallback callback)
public static CreateWorldScreen
a(fmg arg0, fty arg1, dhm arg2, fzh 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)
create(MinecraftClient client, Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, Path dataPackTempDir)
public WorldCreationUiState
l()
getUiState()
method_48657()
getWorldCreator()
protected void
aT_()
init()
method_25426()
init()
protected void
aG_()
setInitialFocus()
method_56131()
setInitialFocus()
public void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
private static void
a(fmg arg0, xv arg1)
queueLoadScreen(Minecraft arg0, Component arg1)
method_41852(class_310 arg0, class_2561 arg1)
showMessage(MinecraftClient client, Text text)
private void
F()
onCreate()
method_2736()
createLevel()
private void
a(jx<ami> arg0, ewh arg1)
createWorldAndCleanup(LayeredRegistryAccess<RegistryLayer> arg0, PrimaryLevelData arg1)
method_64370(class_7780<class_7659> arg0, class_31 arg1)
createAndClearTempDir(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, LevelProperties levelProperties)
private boolean
a(jx<ami> arg0, ewj arg1)
createNewWorld(LayeredRegistryAccess<RegistryLayer> arg0, WorldData arg1)
method_41847(class_7780<class_7659> arg0, class_5219 arg1)
startServer(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, SaveProperties saveProperties)
private LevelSettings
c(boolean arg0)
createLevelSettings(boolean arg0)
method_40213(boolean arg0)
createLevelInfo(boolean debugWorld)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public void
aP_()
onClose()
method_25419()
close()
public void
E()
popScreen()
method_30297()
onCloseScreen()
public void
a(fns 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)
render(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
a(fns arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
renderDarkening(DrawContext arg0)
protected <T extends GuiEventListener, NarratableEntry> T
d(T arg0)
addWidget(T arg0)
method_25429(T arg0)
addSelectableChild(T arg0)
protected <T extends GuiEventListener, Renderable, NarratableEntry> T
c(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
addDrawableChild(T arg0)
private Path
G()
getOrCreateTempDataPackDir()
method_29693()
getOrCreateDataPackTempDir()
void
a(dif arg0)
openExperimentsScreen(WorldDataConfiguration arg0)
method_49010(class_7712 arg0)
openExperimentsScreen(DataConfiguration dataConfiguration)
void
b(dif arg0)
openDataPackSelectionScreen(WorldDataConfiguration arg0)
method_29694(class_7712 arg0)
openPackScreen(DataConfiguration dataConfiguration)
private void
a(avg arg0, boolean arg1, Consumer<dif> arg2)
tryApplyNewDataPacks(PackRepository arg0, boolean arg1, Consumer<WorldDataConfiguration> arg2)
method_29682(class_3283 arg0, boolean arg1, Consumer<class_7712> arg2)
applyDataPacks(ResourcePackManager dataPackManager, boolean fromPackScreen, Consumer<DataConfiguration> configurationSetter)
private void
a(avg arg0, dif arg1, Consumer<dif> arg2)
applyNewPackConfig(PackRepository arg0, WorldDataConfiguration arg1, Consumer<WorldDataConfiguration> arg2)
method_45679(class_3283 arg0, class_7712 arg1, Consumer<class_7712> arg2)
validateDataPacks(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration, Consumer<DataConfiguration> configurationSetter)
private static WorldLoader$InitConfig
a(avg arg0, dif arg1)
createDefaultLoadConfig(PackRepository arg0, WorldDataConfiguration arg1)
method_41849(class_3283 arg0, class_7712 arg1)
createServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration)
private void
J()
removeTempDataPackDir()
method_29695()
clearDataPackTempDir()
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)
copyDataPack(Path srcFolder, Path destFolder, Path dataPackFile)
private static Optional<LevelStorageSource$LevelStorageAccess>
a(fmg arg0, String arg1, Path arg2)
createNewWorldDirectory(Minecraft arg0, String arg1, Path arg2)
method_41848(class_310 arg0, String arg1, Path arg2)
createSession(MinecraftClient client, String worldDirectoryName, Path dataPackTempDir)
public static Path
a(Path arg0, fmg arg1)
createTempDataPackDirFromExistingWorld(Path arg0, Minecraft arg1)
method_29685(Path arg0, class_310 arg1)
copyDataPack(Path srcFolder, MinecraftClient client)
private com.mojang.datafixers.util.Pair<Path, PackRepository>
c(dif arg0)
getDataPackSelectionSettings(WorldDataConfiguration arg0)
method_30296(class_7712 arg0)
getScannedPack(DataConfiguration dataConfiguration)