net.minecraft.client.gui.screens.worldselection

public class WorldCreationUiState

ftl
net.minecraft.client.gui.screens.worldselection.WorldCreationUiState
net.minecraft.class_8100
net.minecraft.unmapped.C_hypraqfe
net.minecraft.client.gui.screen.world.WorldCreator
net.minecraft.client.world.WorldCreator
net.minecraft.src.C_267339_

Field summary

Modifier and TypeField
private static final Component
a
DEFAULT_WORLD_NAME
field_43104
f_xaojvoii
NEW_WORLD_NAME
DEFAULT_WORLD_NAME
f_275748_
private final List<Consumer<WorldCreationUiState>>
b
listeners
field_42210
f_nwmnwule
listeners
listeners
f_267497_
private String
c
name
field_42211
f_hrqmvgvi
worldName
worldName
f_267359_
private WorldCreationUiState$SelectedGameMode
d
gameMode
field_42213
f_ogdjdkbj
gameMode
gameMode
f_267395_
private Difficulty
e
difficulty
field_42214
f_tyljjtrt
difficulty
difficulty
f_267425_
private Boolean
f
allowCommands
field_42215
f_ymncqayj
cheatsEnabled
allowCommands
f_317011_
private String
g
seed
field_42216
f_gjinmbjb
seed
seed
f_267382_
private boolean
h
generateStructures
field_42217
f_lakfutsq
generateStructures
generateStructures
f_267386_
private boolean
i
bonusChest
field_42218
f_giiezriy
bonusChestEnabled
hasBonusChest
f_267455_
private final Path
j
savesFolder
field_43105
f_gwbrsste
savesDirectory
worldSavesPath
f_275760_
private String
k
targetFolder
field_43106
f_dqjclmla
worldDirectoryName
saveFolderName
f_275749_
private WorldCreationContext
l
settings
field_42219
f_einkjnrv
generatorOptionsHolder
context
f_267426_
private WorldCreationUiState$WorldTypeEntry
m
worldType
field_42220
f_mxgdqqgs
worldType
worldType
f_267491_
private final List<WorldCreationUiState$WorldTypeEntry>
n
normalPresetList
field_42221
f_doyaxhqe
normalWorldTypes
normalWorldTypes
f_267439_
private final List<WorldCreationUiState$WorldTypeEntry>
o
altPresetList
field_42222
f_sleyatvc
extendedWorldTypes
extendedWorldTypes
f_267369_
private GameRules
p
gameRules
field_42223
f_mlubojta
gameRules
gameRules
f_267407_

Constructor summary

ModifierConstructor
public (Path savesDirectory, WorldCreationContext generatorOptionsHolder, Optional<ResourceKey<WorldPreset>> defaultWorldType, OptionalLong seed)

Method summary

Modifier and TypeMethod
public void
a(Consumer<ftl> arg0)
addListener(Consumer<WorldCreationUiState> arg0)
method_48712(Consumer<class_8100> arg0)
m_gshlcejd(Consumer<C_hypraqfe> arg0)
addListener(Consumer<WorldCreator> listener)
addListener(Consumer<WorldCreator> listener)
m_267755_(Consumer<C_267339_> arg0)
public void
a()
onChanged()
method_48695()
m_jodswaac()
update()
generate()
m_267758_()
public void
a(String arg0)
setName(String arg0)
method_48710(String arg0)
m_ijqpixye(String arg0)
setWorldName(String worldName)
setWorldName(String worldName)
m_267649_(String arg0)
private String
c(String arg0)
findResultFolder(String arg0)
method_49704(String arg0)
m_elkvzcwc(String arg0)
toDirectoryName(String worldName)
getOrCreateSaveFolder(String worldName)
m_275848_(String arg0)
public String
b()
getName()
method_48715()
m_rakbmgei()
getWorldName()
getWorldName()
m_267597_()
public String
c()
getTargetFolder()
method_49703()
m_xirteeuv()
getWorldDirectoryName()
getSaveFolderName()
m_275837_()
public void
a(ftl$a arg0)
setGameMode(WorldCreationUiState$SelectedGameMode arg0)
method_48704(class_8100$class_4539 arg0)
m_kaigmflw(C_hypraqfe$C_ohbtvxdv arg0)
setGameMode(WorldCreator$Mode gameMode)
setGameMode(WorldCreator$GameMode mode)
m_267616_(C_267339_$C_267344_ arg0)
public WorldCreationUiState$SelectedGameMode
d()
getGameMode()
method_48721()
m_mswhmzta()
getGameMode()
getGameMode()
m_267761_()
public void
a(bqo arg0)
setDifficulty(Difficulty arg0)
method_48696(class_1267 arg0)
m_rltchgia(C_mpbjgxic arg0)
setDifficulty(Difficulty difficulty)
setDifficulty(Difficulty difficulty)
m_267754_(C_468_ arg0)
public Difficulty
e()
getDifficulty()
method_48722()
m_foaxpdkg()
getDifficulty()
getDifficulty()
m_267816_()
public boolean
f()
isHardcore()
method_48723()
m_choiiayp()
isHardcore()
isHardcore()
m_267790_()
public void
a(boolean arg0)
setAllowCommands(boolean arg0)
method_48713(boolean arg0)
m_ombzuznr(boolean arg0)
setCheatsEnabled(boolean cheatsEnabled)
setAllowCommands(boolean allow)
m_321753_(boolean arg0)
public boolean
g()
isAllowCommands()
method_48724()
m_meizhbbs()
areCheatsEnabled()
shouldAllowCommands()
m_324109_()
public void
b(String arg0)
setSeed(String arg0)
method_48716(String arg0)
m_hfdhfufg(String arg0)
setSeed(String seed)
setSeed(String seed)
m_267759_(String arg0)
public String
h()
getSeed()
method_48725()
m_yuhyzqip()
getSeed()
getSeed()
m_267707_()
public void
b(boolean arg0)
setGenerateStructures(boolean arg0)
method_48717(boolean arg0)
m_xgnefpuy(boolean arg0)
setGenerateStructures(boolean generateStructures)
setGenerateStructures(boolean generateStructures)
m_267770_(boolean arg0)
public boolean
i()
isGenerateStructures()
method_48726()
m_cwibfpjj()
shouldGenerateStructures()
shouldGenerateStructures()
m_267615_()
public void
c(boolean arg0)
setBonusChest(boolean arg0)
method_48720(boolean arg0)
m_wzhatoky(boolean arg0)
setBonusChestEnabled(boolean bonusChestEnabled)
setBonusChestEnabled(boolean enabled)
m_267666_(boolean arg0)
public boolean
j()
isBonusChest()
method_48727()
m_jmqeorwf()
isBonusChestEnabled()
isBonusChestEnabled()
m_267593_()
public void
a(ftk arg0)
setSettings(WorldCreationContext arg0)
method_48701(class_7193 arg0)
m_ujmxtpie(C_njsjipmy arg0)
setGeneratorOptionsHolder(GeneratorOptionsHolder generatorOptionsHolder)
setContext(WorldCreationContext context)
m_267692_(C_213386_ arg0)
public WorldCreationContext
k()
getSettings()
method_48728()
m_xkfzagsg()
getGeneratorOptionsHolder()
getContext()
m_267573_()
public void
a(ftk$a arg0)
updateDimensions(WorldCreationContext$DimensionsUpdater arg0)
method_48700(class_7193$class_7195 arg0)
m_zbhcqcxd(C_njsjipmy$C_iucotkie arg0)
applyModifier(GeneratorOptionsHolder$RegistryAwareModifier modifier)
updateContext(WorldCreationContext$DimensionsUpdater dimensionsUpdater)
m_267717_(C_213386_$C_243430_ arg0)
protected boolean
a(ddr arg0)
tryUpdateDataConfiguration(WorldDataConfiguration arg0)
method_48698(class_7712 arg0)
m_detzuxbw(C_yknpgzdr arg0)
updateDataConfiguration(DataConfiguration dataConfiguration)
updateContext(FeatureAndDataSettings featureAndDataSettings)
m_267710_(C_243530_ arg0)
public boolean
l()
isDebug()
method_48729()
m_lxkbugsk()
isDebug()
isDebug()
m_267735_()
public void
a(ftl$b arg0)
setWorldType(WorldCreationUiState$WorldTypeEntry arg0)
method_48705(class_8100$class_8101 arg0)
m_gythbeko(C_hypraqfe$C_jbuehfan arg0)
setWorldType(WorldCreator$WorldType worldType)
setWorldType(WorldCreator$WorldTypeEntry worldType)
m_267576_(C_267339_$C_267337_ arg0)
public WorldCreationUiState$WorldTypeEntry
m()
getWorldType()
method_48730()
m_dmnnomne()
getWorldType()
getWorldType()
m_267828_()
public PresetEditor
n()
getPresetEditor()
method_48731()
m_jlsmcfmz()
getLevelScreenProvider()
getScreenProvider()
m_267744_()
public List<WorldCreationUiState$WorldTypeEntry>
o()
getNormalPresetList()
method_48732()
m_cavqkcak()
getNormalWorldTypes()
getNormalWorldTypes()
m_267815_()
public List<WorldCreationUiState$WorldTypeEntry>
p()
getAltPresetList()
method_48733()
m_xzgmbgqy()
getExtendedWorldTypes()
getExtendedWorldTypes()
m_267674_()
private void
r()
updatePresetLists()
method_48735()
m_qwzkvgzg()
updateWorldTypeLists()
updateWorldTypeLists()
m_267608_()
private static Optional<Holder<WorldPreset>>
a(ftk arg0, Optional<akq<ejg>> arg1)
findPreset(WorldCreationContext arg0, Optional<ResourceKey<WorldPreset>> arg1)
method_48703(class_7193 arg0, Optional<class_5321<class_7145>> arg1)
m_dvqxcggy(C_njsjipmy arg0, Optional<C_xhhleach<C_uejfhynd>> arg1)
getWorldPreset(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key)
getWorldPreset(WorldCreationContext context, Optional<RegistryKey<GeneratorType>> generatorType)
m_267777_(C_213386_ p_268025_, Optional<C_5264_<C_213159_>> p_268184_)
private static Optional<List<WorldCreationUiState$WorldTypeEntry>>
a(jz<ejg> arg0, awu<ejg> arg1)
getNonEmptyList(Registry<WorldPreset> arg0, TagKey<WorldPreset> arg1)
method_48709(class_2378<class_7145> arg0, class_6862<class_7145> arg1)
m_kunocypt(C_tqxyjqsk<C_uejfhynd> arg0, C_ednuhnnn<C_uejfhynd> arg1)
getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag)
getWorldPresetList(Registry<GeneratorType> registry, TagKey<GeneratorType> tag)
m_267811_(C_4705_<C_213159_> p_268296_, C_203208_<C_213159_> p_268097_)
public void
a(dcs arg0)
setGameRules(GameRules arg0)
method_48697(class_1928 arg0)
m_vgkmaenv(C_xmldumst arg0)
setGameRules(GameRules gameRules)
setGameRules(GameRules rules)
m_267656_(C_1583_ arg0)
public GameRules
q()
getGameRules()
method_48734()
m_scoilblb()
getGameRules()
getGameRules()
m_267721_()