net.minecraft.client.gui.screens.worldselection

public class WorldCreationUiState

fzj
net.minecraft.client.gui.screens.worldselection.WorldCreationUiState
net.minecraft.class_8100
net.minecraft.client.gui.screen.world.WorldCreator

Field summary

Modifier and TypeField
private static final Component
a
DEFAULT_WORLD_NAME
field_43104
NEW_WORLD_NAME
private final List<Consumer<WorldCreationUiState>>
b
listeners
field_42210
listeners
private String
c
name
field_42211
worldName
private WorldCreationUiState$SelectedGameMode
d
gameMode
field_42213
gameMode
private Difficulty
e
difficulty
field_42214
difficulty
private Boolean
f
allowCommands
field_42215
cheatsEnabled
private String
g
seed
field_42216
seed
private boolean
h
generateStructures
field_42217
generateStructures
private boolean
i
bonusChest
field_42218
bonusChestEnabled
private final Path
j
savesFolder
field_43105
savesDirectory
private String
k
targetFolder
field_43106
worldDirectoryName
private WorldCreationContext
l
settings
field_42219
generatorOptionsHolder
private WorldCreationUiState$WorldTypeEntry
m
worldType
field_42220
worldType
private final List<WorldCreationUiState$WorldTypeEntry>
n
normalPresetList
field_42221
normalWorldTypes
private final List<WorldCreationUiState$WorldTypeEntry>
o
altPresetList
field_42222
extendedWorldTypes
private GameRules
p
gameRules
field_42223
gameRules

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(Consumer<fzj> arg0)
addListener(Consumer<WorldCreationUiState> arg0)
method_48712(Consumer<class_8100> arg0)
addListener(Consumer<WorldCreator> listener)
public void
a()
onChanged()
method_48695()
update()
public void
a(String arg0)
setName(String arg0)
method_48710(String arg0)
setWorldName(String worldName)
private String
c(String arg0)
findResultFolder(String arg0)
method_49704(String arg0)
toDirectoryName(String worldName)
public String
b()
getName()
method_48715()
getWorldName()
public String
c()
getTargetFolder()
method_49703()
getWorldDirectoryName()
public void
a(fzj$a arg0)
setGameMode(WorldCreationUiState$SelectedGameMode arg0)
method_48704(class_8100$class_4539 arg0)
setGameMode(WorldCreator$Mode gameMode)
public WorldCreationUiState$SelectedGameMode
d()
getGameMode()
method_48721()
getGameMode()
public void
a(btg arg0)
setDifficulty(Difficulty arg0)
method_48696(class_1267 arg0)
setDifficulty(Difficulty difficulty)
public Difficulty
e()
getDifficulty()
method_48722()
getDifficulty()
public boolean
f()
isHardcore()
method_48723()
isHardcore()
public void
a(boolean arg0)
setAllowCommands(boolean arg0)
method_48713(boolean arg0)
setCheatsEnabled(boolean cheatsEnabled)
public boolean
g()
isAllowCommands()
method_48724()
areCheatsEnabled()
public void
b(String arg0)
setSeed(String arg0)
method_48716(String arg0)
setSeed(String seed)
public String
h()
getSeed()
method_48725()
getSeed()
public void
b(boolean arg0)
setGenerateStructures(boolean arg0)
method_48717(boolean arg0)
setGenerateStructures(boolean generateStructures)
public boolean
i()
isGenerateStructures()
method_48726()
shouldGenerateStructures()
public void
c(boolean arg0)
setBonusChest(boolean arg0)
method_48720(boolean arg0)
setBonusChestEnabled(boolean bonusChestEnabled)
public boolean
j()
isBonusChest()
method_48727()
isBonusChestEnabled()
public void
a(fzh arg0)
setSettings(WorldCreationContext arg0)
method_48701(class_7193 arg0)
setGeneratorOptionsHolder(GeneratorOptionsHolder generatorOptionsHolder)
public WorldCreationContext
k()
getSettings()
method_48728()
getGeneratorOptionsHolder()
public void
a(fzh$a arg0)
updateDimensions(WorldCreationContext$DimensionsUpdater arg0)
method_48700(class_7193$class_7195 arg0)
applyModifier(GeneratorOptionsHolder$RegistryAwareModifier modifier)
protected boolean
a(dif arg0)
tryUpdateDataConfiguration(WorldDataConfiguration arg0)
method_48698(class_7712 arg0)
updateDataConfiguration(DataConfiguration dataConfiguration)
public boolean
l()
isDebug()
method_48729()
isDebug()
public void
a(fzj$b arg0)
setWorldType(WorldCreationUiState$WorldTypeEntry arg0)
method_48705(class_8100$class_8101 arg0)
setWorldType(WorldCreator$WorldType worldType)
public WorldCreationUiState$WorldTypeEntry
m()
getWorldType()
method_48730()
getWorldType()
public PresetEditor
n()
getPresetEditor()
method_48731()
getLevelScreenProvider()
public List<WorldCreationUiState$WorldTypeEntry>
o()
getNormalPresetList()
method_48732()
getNormalWorldTypes()
public List<WorldCreationUiState$WorldTypeEntry>
p()
getAltPresetList()
method_48733()
getExtendedWorldTypes()
private void
r()
updatePresetLists()
method_48735()
updateWorldTypeLists()
private static Optional<Holder<WorldPreset>>
a(fzh arg0, Optional<aly<enz>> arg1)
findPreset(WorldCreationContext arg0, Optional<ResourceKey<WorldPreset>> arg1)
method_48703(class_7193 arg0, Optional<class_5321<class_7145>> arg1)
getWorldPreset(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key)
private static Optional<List<WorldCreationUiState$WorldTypeEntry>>
a(kd<enz> arg0, ayk<enz> arg1)
getNonEmptyList(Registry<WorldPreset> arg0, TagKey<WorldPreset> arg1)
method_48709(class_2378<class_7145> arg0, class_6862<class_7145> arg1)
getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag)
public void
a(dhe arg0)
setGameRules(GameRules arg0)
method_48697(class_1928 arg0)
setGameRules(GameRules gameRules)
public GameRules
q()
getGameRules()
method_48734()
getGameRules()