net.minecraft.client.gui.screens.worldselection

public class WorldCreationUiState

exw
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.unmapped.C_hypraqfe
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
f_275748_
private final List<Consumer<WorldCreationUiState>>
b
listeners
field_42210
f_nwmnwule
listeners
f_267497_
private String
c
name
field_42211
f_hrqmvgvi
worldName
f_267359_
private WorldCreationUiState$SelectedGameMode
d
gameMode
field_42213
f_ogdjdkbj
gameMode
f_267395_
private Difficulty
e
difficulty
field_42214
f_tyljjtrt
difficulty
f_267425_
private Boolean
f
allowCheats
field_42215
f_jmyxcove
cheatsEnabled
f_267470_
private String
g
seed
field_42216
f_gjinmbjb
seed
f_267382_
private boolean
h
generateStructures
field_42217
f_lakfutsq
generateStructures
f_267386_
private boolean
i
bonusChest
field_42218
f_giiezriy
bonusChestEnabled
f_267455_
private final Path
j
savesFolder
field_43105
f_gwbrsste
savesDirectory
f_275760_
private String
k
targetFolder
field_43106
f_dqjclmla
worldDirectoryName
f_275749_
private WorldCreationContext
l
settings
field_42219
f_einkjnrv
generatorOptionsHolder
f_267426_
private WorldCreationUiState$WorldTypeEntry
m
worldType
field_42220
f_mxgdqqgs
worldType
f_267491_
private final List<WorldCreationUiState$WorldTypeEntry>
n
normalPresetList
field_42221
f_doyaxhqe
normalWorldTypes
f_267439_
private final List<WorldCreationUiState$WorldTypeEntry>
o
altPresetList
field_42222
f_sleyatvc
extendedWorldTypes
f_267369_
private GameRules
p
gameRules
field_42223
f_mlubojta
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<exw> arg0)
addListener(Consumer<WorldCreationUiState> arg0)
method_48712(Consumer<class_8100> arg0)
m_gshlcejd(Consumer<C_hypraqfe> arg0)
addListener(Consumer<WorldCreator> listener)
m_267755_(Consumer<C_267339_> arg0)
public void
a()
onChanged()
method_48695()
m_jodswaac()
update()
m_267758_()
public void
a(String arg0)
setName(String arg0)
method_48710(String arg0)
m_ijqpixye(String arg0)
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)
m_275848_(String arg0)
public String
b()
getName()
method_48715()
m_rakbmgei()
getWorldName()
m_267597_()
public String
c()
getTargetFolder()
method_49703()
m_xirteeuv()
getWorldDirectoryName()
m_275837_()
public void
a(exw$a arg0)
setGameMode(WorldCreationUiState$SelectedGameMode arg0)
method_48704(class_8100$class_4539 arg0)
m_kaigmflw(C_hypraqfe$C_ohbtvxdv arg0)
setGameMode(WorldCreator$Mode gameMode)
m_267616_(C_267339_$C_267344_ arg0)
public WorldCreationUiState$SelectedGameMode
d()
getGameMode()
method_48721()
m_mswhmzta()
getGameMode()
m_267761_()
public void
a(bdv arg0)
setDifficulty(Difficulty arg0)
method_48696(class_1267 arg0)
m_rltchgia(C_mpbjgxic arg0)
setDifficulty(Difficulty difficulty)
m_267754_(C_468_ arg0)
public Difficulty
e()
getDifficulty()
method_48722()
m_foaxpdkg()
getDifficulty()
m_267816_()
public boolean
f()
isHardcore()
method_48723()
m_choiiayp()
isHardcore()
m_267790_()
public void
a(boolean arg0)
setAllowCheats(boolean arg0)
method_48713(boolean arg0)
m_uuveagan(boolean arg0)
setCheatsEnabled(boolean cheatsEnabled)
m_267601_(boolean arg0)
public boolean
g()
isAllowCheats()
method_48724()
m_qsmcxzzu()
areCheatsEnabled()
m_267823_()
public void
b(String arg0)
setSeed(String arg0)
method_48716(String arg0)
m_hfdhfufg(String arg0)
setSeed(String seed)
m_267759_(String arg0)
public String
h()
getSeed()
method_48725()
m_yuhyzqip()
getSeed()
m_267707_()
public void
b(boolean arg0)
setGenerateStructures(boolean arg0)
method_48717(boolean arg0)
m_xgnefpuy(boolean arg0)
setGenerateStructures(boolean generateStructures)
m_267770_(boolean arg0)
public boolean
i()
isGenerateStructures()
method_48726()
m_cwibfpjj()
shouldGenerateStructures()
m_267615_()
public void
c(boolean arg0)
setBonusChest(boolean arg0)
method_48720(boolean arg0)
m_wzhatoky(boolean arg0)
setBonusChestEnabled(boolean bonusChestEnabled)
m_267666_(boolean arg0)
public boolean
j()
isBonusChest()
method_48727()
m_jmqeorwf()
isBonusChestEnabled()
m_267593_()
public void
a(exv arg0)
setSettings(WorldCreationContext arg0)
method_48701(class_7193 arg0)
m_ujmxtpie(C_njsjipmy arg0)
setGeneratorOptionsHolder(GeneratorOptionsHolder generatorOptionsHolder)
m_267692_(C_213386_ arg0)
public WorldCreationContext
k()
getSettings()
method_48728()
m_xkfzagsg()
getGeneratorOptionsHolder()
m_267573_()
public void
a(exv$a arg0)
updateDimensions(WorldCreationContext$DimensionsUpdater arg0)
method_48700(class_7193$class_7195 arg0)
m_zbhcqcxd(C_njsjipmy$C_iucotkie arg0)
applyModifier(GeneratorOptionsHolder$RegistryAwareModifier modifier)
m_267717_(C_213386_$C_243430_ arg0)
protected boolean
a(cna arg0)
tryUpdateDataConfiguration(WorldDataConfiguration arg0)
method_48698(class_7712 arg0)
m_detzuxbw(C_yknpgzdr arg0)
updateDataConfiguration(DataConfiguration dataConfiguration)
m_267710_(C_243530_ arg0)
public boolean
l()
isDebug()
method_48729()
m_lxkbugsk()
isDebug()
m_267735_()
public void
a(exw$b arg0)
setWorldType(WorldCreationUiState$WorldTypeEntry arg0)
method_48705(class_8100$class_8101 arg0)
m_gythbeko(C_hypraqfe$C_jbuehfan arg0)
setWorldType(WorldCreator$WorldType worldType)
m_267576_(C_267339_$C_267337_ arg0)
public WorldCreationUiState$WorldTypeEntry
m()
getWorldType()
method_48730()
m_dmnnomne()
getWorldType()
m_267828_()
public PresetEditor
n()
getPresetEditor()
method_48731()
m_jlsmcfmz()
getLevelScreenProvider()
m_267744_()
public List<WorldCreationUiState$WorldTypeEntry>
o()
getNormalPresetList()
method_48732()
m_cavqkcak()
getNormalWorldTypes()
m_267815_()
public List<WorldCreationUiState$WorldTypeEntry>
p()
getAltPresetList()
method_48733()
m_xzgmbgqy()
getExtendedWorldTypes()
m_267674_()
private void
r()
updatePresetLists()
method_48735()
m_qwzkvgzg()
updateWorldTypeLists()
m_267608_()
private static Optional<Holder<WorldPreset>>
a(exv arg0, Optional<adc<dre>> 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)
m_267777_(C_213386_ p_268025_, Optional<C_5264_<C_213159_>> p_268184_)
private static Optional<List<WorldCreationUiState$WorldTypeEntry>>
a(hq<dre> arg0, anv<dre> 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)
m_kunocypt(Registry<GeneratorType> registry, TagKey<GeneratorType> arg1)
m_267811_(C_4705_<C_213159_> p_268296_, C_203208_<C_213159_> p_268097_)
public void
a(cme arg0)
setGameRules(GameRules arg0)
method_48697(class_1928 arg0)
m_vgkmaenv(C_xmldumst arg0)
setGameRules(GameRules gameRules)
m_267656_(C_1583_ arg0)
public GameRules
q()
getGameRules()
method_48734()
m_scoilblb()
getGameRules()
m_267721_()