net.minecraft.client.gui.screens.worldselection

public class CreateWorldScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fzl
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(flk arg0, fum arg1)
openFresh(Minecraft arg0, Screen arg1)
method_31130(class_310 arg0, class_437 arg1)
show(MinecraftClient client, Screen parent)
public static void
a(flk arg0, fum arg1, fzk 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(flk arg0, fum arg1)
testWorld(Minecraft arg0, Screen arg1)
method_64248(class_310 arg0, class_437 arg1)
showTestWorld(MinecraftClient client, Screen parent)
private static void
a(flk arg0, fum arg1, Function<alt$a, edp> arg2, fzw arg3, aku<enc> arg4, fzk 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(flk arg0, fum arg1, dgn arg2, fzv 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
m()
getUiState()
method_48657()
getWorldCreator()
protected void
aR_()
init()
method_25426()
init()
protected void
aF_()
setInitialFocus()
method_56131()
setInitialFocus()
public void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
private static void
a(flk arg0, wp 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(jy<ale> arg0, evk 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(jy<ale> arg0, evm 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
aO_()
onClose()
method_25419()
close()
public void
E()
popScreen()
method_30297()
onCloseScreen()
public void
a(fof 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(fof arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
renderDarkening(DrawContext arg0)
private Path
G()
getOrCreateTempDataPackDir()
method_29693()
getOrCreateDataPackTempDir()
void
a(dhg arg0)
openExperimentsScreen(WorldDataConfiguration arg0)
method_49010(class_7712 arg0)
openExperimentsScreen(DataConfiguration dataConfiguration)
void
b(dhg arg0)
openDataPackSelectionScreen(WorldDataConfiguration arg0)
method_29694(class_7712 arg0)
openPackScreen(DataConfiguration dataConfiguration)
private void
a(aua arg0, boolean arg1, Consumer<dhg> 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(aua arg0, dhg arg1, Consumer<dhg> 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(aua arg0, dhg arg1)
createDefaultLoadConfig(PackRepository arg0, WorldDataConfiguration arg1)
method_41849(class_3283 arg0, class_7712 arg1)
createServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration)
private void
H()
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(flk 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, flk 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(dhg arg0)
getDataPackSelectionSettings(WorldDataConfiguration arg0)
method_30296(class_7712 arg0)
getScannedPack(DataConfiguration dataConfiguration)