net.minecraft.client.gui.screens.worldselection

public class CreateWorldScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Renderable

eti
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 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_
private static final Component
p
GAME_MODEL_LABEL
field_25898
GAME_MODE_TEXT
f_100849_
private static final Component
q
SEED_LABEL
field_26598
ENTER_SEED_TEXT
f_100850_
private static final Component
r
SEED_INFO
field_26599
SEED_INFO_TEXT
f_100851_
private static final Component
s
NAME_LABEL
field_26600
ENTER_NAME_TEXT
f_100852_
private static final Component
t
OUTPUT_DIR_INFO
field_26601
RESULT_FOLDER_TEXT
f_100853_
private static final Component
u
COMMANDS_INFO
field_26602
ALLOW_COMMANDS_INFO_TEXT
f_100854_
private static final Component
v
PREPARING_WORLD_DATA
field_37911
PREPARING_TEXT
f_232866_
private final Screen
w
lastScreen
field_3187
parent
f_100855_
private EditBox
x
nameEdit
field_3188
levelNameField
f_100856_
String
y
resultFolder
field_3196
saveDirectoryName
f_100857_
private CreateWorldScreen$SelectedGameMode
z
gameMode
field_3201
currentMode
f_100858_
private CreateWorldScreen$SelectedGameMode
A
oldGameMode
field_3185
lastMode
f_100826_
private Difficulty
B
difficulty
field_27998
currentDifficulty
f_170145_
private boolean
C
commands
field_3192
cheatsEnabled
f_100829_
private boolean
D
commandsChanged
field_3179
tweakedCheats
f_100830_
public boolean
a
hardCore
field_3178
hardcore
f_100845_
protected WorldDataConfiguration
b
dataConfiguration
field_25479
dataConfiguration
f_244371_
private Path
E
tempDataPackDir
field_25477
dataPackTempDir
f_100831_
private PackRepository
F
tempDataPackRepository
field_25792
packManager
f_100832_
private boolean
G
worldGenSettingsVisible
field_3202
moreOptionsOpen
f_170146_
private Button
H
createButton
field_3205
createLevelButton
f_100834_
private CycleButton<CreateWorldScreen$SelectedGameMode>
I
modeButton
field_3186
gameModeSwitchButton
f_100835_
private CycleButton<Difficulty>
J
difficultyButton
field_24286
difficultyButton
f_100836_
private Button
K
moreOptionsButton
field_3193
moreOptionsButton
f_100837_
private Button
L
gameRulesButton
field_24287
gameRulesButton
f_100838_
private Button
M
dataPacksButton
field_25478
dataPacksButton
f_100839_
private CycleButton<Boolean>
N
commandsButton
field_3182
enableCheatsButton
f_100840_
private Component
O
gameModeHelp1
field_3194
firstGameModeDescriptionLine
f_100841_
private Component
P
gameModeHelp2
field_3199
secondGameModeDescriptionLine
f_100842_
private String
Q
initName
field_3195
levelName
f_100843_
private GameRules
R
gameRules
field_24288
gameRules
f_100844_
public final WorldGenSettingsComponent
c
worldGenSettingsComponent
field_24588
moreOptionsDialog
f_100847_

Constructor summary

ModifierConstructor
private (Screen parent, WorldDataConfiguration dataConfiguration, WorldGenSettingsComponent moreOptionsDialog)

Method summary

Modifier and TypeMethod
public static void
a(ejf arg0, epb 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(epb arg0, cka arg1, eto arg2, Path arg3)
createFromExisting(Screen arg0, LevelSettings arg1, WorldCreationContext arg2, Path arg3)
method_40212(class_437 arg0, class_1940 arg1, class_7193 arg2, Path arg3)
create(Screen parent, LevelInfo levelInfo, GeneratorOptionsHolder generatorOptionsHolder, Path dataPackTempDir)
m_247077_(C_3583_ p_249522_, C_1602_ p_249091_, C_213386_ p_249742_, Path p_252076_)
public void
d()
tick()
method_25393()
tick()
m_86600_()
protected void
b()
init()
method_25426()
init()
m_7856_()
private Difficulty
x()
getEffectiveDifficulty()
method_32672()
getDifficulty()
m_170205_()
private void
y()
updateGameModeHelp()
method_2722()
updateSettingsLabels()
m_100970_()
private void
z()
updateResultFolder()
method_2727()
updateSaveFolderName()
m_100971_()
private static void
a(ejf arg0, ss 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
A()
onCreate()
method_2736()
createLevel()
m_100972_()
private void
a(dvi$a arg0, hg<aco> 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)
private void
B()
toggleWorldGenSettingsVisibility()
method_2721()
toggleMoreOptions()
m_170148_()
private void
a(eti$b arg0)
setGameMode(CreateWorldScreen$SelectedGameMode arg0)
method_22365(class_525$class_4539 arg0)
tweakDefaultsTo(CreateWorldScreen$Mode mode)
m_100900_(C_3737_$C_3744_ arg0)
public void
i()
refreshWorldGenSettingsVisibility()
method_28084()
setMoreOptionsOpen()
m_170204_()
private void
e(boolean arg0)
setWorldGenSettingsVisible(boolean arg0)
method_2710(boolean arg0)
setMoreOptionsOpen(boolean moreOptionsOpen)
m_170196_(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
aj_()
onClose()
method_25419()
close()
m_7379_()
public void
w()
popScreen()
method_30297()
onCloseScreen()
m_100967_()
public void
a(eed arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_86412_(C_3181_ p_100891_, int p_100892_, int p_100893_, float arg3)
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
C()
getTempDataPackDir()
method_29693()
getDataPackTempDir()
m_100968_()
private void
D()
openDataPackSelectionScreen()
method_29694()
openPackScreen()
m_100975_()
private void
a(ajp arg0)
tryApplyNewDataPacks(PackRepository arg0)
method_29682(class_3283 arg0)
applyDataPacks(ResourcePackManager dataPackManager)
m_100878_(C_62_ arg0)
private void
a(ajp arg0, cko arg1)
applyNewPackConfig(PackRepository arg0, WorldDataConfiguration arg1)
method_45679(class_3283 arg0, class_7712 arg1)
validateDataPacks(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration)
m_246590_(C_62_ p_249845_, C_243530_ arg1)
private static WorldLoader$InitConfig
b(ajp arg0, cko 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
E()
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>
F()
createNewWorldDirectory()
method_41848()
createSession()
m_232868_()
public static Path
a(Path arg0, ejf 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>
G()
getDataPackSelectionSettings()
method_30296()
getScannedPack()
m_100871_()