net.minecraft.client.gui.screens.worldselection

public class CreateWorldScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fhr
net.minecraft.client.gui.screens.worldselection.CreateWorldScreen
net.minecraft.class_525
net.minecraft.client.gui.screen.world.CreateWorldScreen
net.minecraft.src.C_3737_

Field summary

Modifier and TypeField
private static final int
k
GROUP_BOTTOM
field_42165
field_42165
f_267463_
private static final int
l
TAB_COLUMN_WIDTH
field_42166
field_42166
f_267486_
private static final int
m
FOOTER_HEIGHT
field_42167
field_42167
f_267453_
private static final org.slf4j.Logger
n
LOGGER
field_25480
LOGGER
f_100848_
private static final String
o
TEMP_WORLD_PREFIX
field_32434
TEMP_DIR_PREFIX
f_170147_
static final Component
p
GAME_MODEL_LABEL
field_25898
GAME_MODE_TEXT
f_100849_
static final Component
q
NAME_LABEL
field_26600
ENTER_NAME_TEXT
f_100852_
static final Component
r
EXPERIMENTS_LABEL
field_42501
EXPERIMENTS_TEXT
f_268721_
static final Component
t
ALLOW_CHEATS_INFO
field_42169
ALLOW_COMMANDS_INFO_TEXT
f_267456_
private static final Component
u
PREPARING_WORLD_DATA
field_37911
PREPARING_TEXT
f_232866_
private static final int
v
HORIZONTAL_BUTTON_SPACING
field_42170
field_42170
f_267420_
private static final int
w
VERTICAL_BUTTON_SPACING
field_42171
field_42171
f_267460_
public static final ResourceLocation
a
HEADER_SEPERATOR
field_43081
HEADER_SEPARATOR_TEXTURE
f_273823_
public static final ResourceLocation
b
FOOTER_SEPERATOR
field_43082
FOOTER_SEPARATOR_TEXTURE
f_273875_
public static final ResourceLocation
c
LIGHT_DIRT_BACKGROUND
field_44672
LIGHT_DIRT_BACKGROUND_TEXTURE
f_279536_
final WorldCreationUiState
x
uiState
field_42172
worldCreator
f_267389_
private final TabManager
y
tabManager
field_42173
tabManager
f_267424_
private boolean
z
recreated
field_42502
recreated
f_268587_
private final DirectoryValidator
A
packValidator
field_45568
symlinkFinder
f_291518_
private final Screen
B
lastScreen
field_3187
parent
f_100855_
private Path
C
tempDataPackDir
field_25477
dataPackTempDir
f_100831_
private PackRepository
D
tempDataPackRepository
field_25792
packManager
f_100832_
private GridLayout
E
bottomButtons
field_42163
grid
f_267391_
private TabNavigationBar
F
tabNavigationBar
field_42164
tabNavigation
f_267490_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static void
a(evi arg0, fdb arg1)
openFresh(Minecraft arg0, Screen arg1)
method_31130(class_310 arg0, class_437 arg1)
create(MinecraftClient client, Screen parent)
m_232896_(C_3391_ p_232897_, C_3583_ p_232898_)
public static CreateWorldScreen
a(evi arg0, fdb arg1, ctt arg2, fhz 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)
m_275847_(C_3391_ p_276017_, C_3583_ p_276029_, C_1602_ p_276055_, C_213386_ p_276028_, Path p_276040_)
public WorldCreationUiState
n()
getUiState()
method_48657()
getWorldCreator()
m_267748_()
protected void
aN_()
init()
method_25426()
init()
m_7856_()
public void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
private static void
a(evi arg0, vf arg1)
queueLoadScreen(Minecraft arg0, Component arg1)
method_41852(class_310 arg0, class_2561 arg1)
showMessage(MinecraftClient client, Text text)
m_232899_(C_3391_ p_232900_, C_4996_ p_232901_)
private void
E()
onCreate()
method_2736()
createLevel()
m_100972_()
private void
a(egq$a arg0, io<ahp> arg1, com.mojang.serialization.Lifecycle arg2)
createNewWorld(PrimaryLevelData$SpecialWorldProperty arg0, LayeredRegistryAccess<RegistryLayer> arg1, com.mojang.serialization.Lifecycle arg2)
method_41847(class_31$class_7729 arg0, class_7780<class_7659> arg1, com.mojang.serialization.Lifecycle arg2)
startServer(LevelProperties$SpecialProperty specialProperty, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, com.mojang.serialization.Lifecycle lifecycle)
m_245184_(C_2793_$C_243494_ p_249152_, C_243514_<C_243564_> p_249994_, com.mojang.serialization.Lifecycle arg2)
private LevelSettings
c(boolean arg0)
createLevelSettings(boolean arg0)
method_40213(boolean arg0)
createLevelInfo(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)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_100876_, int p_100877_, int arg2)
public void
aE_()
onClose()
method_25419()
close()
m_7379_()
public void
D()
popScreen()
method_30297()
onCloseScreen()
m_100967_()
public void
a(ewu 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)
m_88315_(C_279497_ p_283640_, int p_281243_, int p_282743_, float arg3)
public void
b(ewu arg0)
renderDirtBackground(GuiGraphics arg0)
method_25434(class_332 arg0)
renderBackgroundTexture(DrawContext arg0)
m_280039_(C_279497_ arg0)
protected <T extends GuiEventListener, NarratableEntry> T
e(T arg0)
addWidget(T arg0)
method_25429(T arg0)
addSelectableChild(T arg0)
m_7787_(T arg0)
protected <T extends GuiEventListener, Renderable, NarratableEntry> T
d(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
addDrawableChild(T arg0)
m_142416_(T arg0)
private Path
H()
getTempDataPackDir()
method_29693()
getDataPackTempDir()
m_100968_()
void
a(cuj arg0)
openExperimentsScreen(WorldDataConfiguration arg0)
method_49010(class_7712 arg0)
openExperimentsScreen(DataConfiguration dataConfiguration)
m_269545_(C_243530_ arg0)
void
b(cuj arg0)
openDataPackSelectionScreen(WorldDataConfiguration arg0)
method_29694(class_7712 arg0)
openPackScreen(DataConfiguration dataConfiguration)
m_267734_(C_243530_ arg0)
private void
a(apt arg0, boolean arg1, Consumer<cuj> 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)
m_269443_(C_62_ p_270896_, boolean p_270760_, Consumer<C_243530_> arg2)
private void
a(apt arg0, cuj arg1, Consumer<cuj> 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)
m_269431_(C_62_ p_270573_, C_243530_ p_270552_, Consumer<C_243530_> arg2)
private static WorldLoader$InitConfig
a(apt arg0, cuj arg1)
createDefaultLoadConfig(PackRepository arg0, WorldDataConfiguration arg1)
method_41849(class_3283 arg0, class_7712 arg1)
createServerConfig(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration)
m_245574_(C_62_ p_251829_, C_243530_ p_251555_)
private void
I()
removeTempDataPackDir()
method_29695()
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)
copyDataPack(Path srcFolder, Path destFolder, Path dataPackFile)
m_100912_(Path p_100913_, Path p_100914_, Path p_100915_)
private Optional<LevelStorageSource$LevelStorageAccess>
J()
createNewWorldDirectory()
method_41848()
createSession()
m_232868_()
public static Path
a(Path arg0, evi arg1)
createTempDataPackDirFromExistingWorld(Path arg0, Minecraft arg1)
method_29685(Path arg0, class_310 arg1)
copyDataPack(Path srcFolder, MinecraftClient client)
m_100906_(Path p_100907_, C_3391_ p_100908_)
private com.mojang.datafixers.util.Pair<Path, PackRepository>
c(cuj arg0)
getDataPackSelectionSettings(WorldDataConfiguration arg0)
method_30296(class_7712 arg0)
getScannedPack(DataConfiguration dataConfiguration)
m_267637_(C_243530_ arg0)