Class WorldCreator
java.lang.Object
net.minecraft.client.gui.screen.world.WorldCreator
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/WorldCreatorintermediary net/minecraft/class_8100official ftl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Difficultyprivate final List<WorldCreator.WorldType> private WorldCreator.Modeprivate GameRulesprivate booleanprivate GeneratorOptionsHolderprivate final List<Consumer<WorldCreator>> private static final Textprivate final List<WorldCreator.WorldType> private final Pathprivate Stringprivate Stringprivate Stringprivate WorldCreator.WorldType -
Constructor Summary
ConstructorsConstructorDescriptionWorldCreator(Path savesDirectory, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Consumer<WorldCreator> listener) voidbooleangetSeed()private static Optional<RegistryEntry<WorldPreset>> getWorldPreset(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) private static Optional<List<WorldCreator.WorldType>> getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) booleanbooleanisDebug()booleanvoidsetBonusChestEnabled(boolean bonusChestEnabled) voidsetCheatsEnabled(boolean cheatsEnabled) voidsetDifficulty(Difficulty difficulty) voidsetGameMode(WorldCreator.Mode gameMode) voidsetGameRules(GameRules gameRules) voidsetGenerateStructures(boolean generateStructures) voidsetGeneratorOptionsHolder(GeneratorOptionsHolder generatorOptionsHolder) voidvoidsetWorldName(String worldName) voidsetWorldType(WorldCreator.WorldType worldType) booleanprivate StringtoDirectoryName(String worldName) voidupdate()protected booleanupdateDataConfiguration(DataConfiguration dataConfiguration) private void
-
Field Details
-
NEW_WORLD_NAME
- Mappings:
Namespace Name Mixin selector named NEW_WORLD_NAMELnet/minecraft/client/gui/screen/world/WorldCreator;NEW_WORLD_NAME:Lnet/minecraft/text/Text;intermediary field_43104Lnet/minecraft/class_8100;field_43104:Lnet/minecraft/class_2561;official aLftl;a:Lwz;
-
listeners
- Mappings:
Namespace Name Mixin selector named listenersLnet/minecraft/client/gui/screen/world/WorldCreator;listeners:Ljava/util/List;intermediary field_42210Lnet/minecraft/class_8100;field_42210:Ljava/util/List;official bLftl;b:Ljava/util/List;
-
worldName
- Mappings:
Namespace Name Mixin selector named worldNameLnet/minecraft/client/gui/screen/world/WorldCreator;worldName:Ljava/lang/String;intermediary field_42211Lnet/minecraft/class_8100;field_42211:Ljava/lang/String;official cLftl;c:Ljava/lang/String;
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameModeLnet/minecraft/client/gui/screen/world/WorldCreator;gameMode:Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;intermediary field_42213Lnet/minecraft/class_8100;field_42213:Lnet/minecraft/class_8100$class_4539;official dLftl;d:Lftl$a;
-
difficulty
- Mappings:
Namespace Name Mixin selector named difficultyLnet/minecraft/client/gui/screen/world/WorldCreator;difficulty:Lnet/minecraft/world/Difficulty;intermediary field_42214Lnet/minecraft/class_8100;field_42214:Lnet/minecraft/class_1267;official eLftl;e:Lbqo;
-
cheatsEnabled
- Mappings:
Namespace Name Mixin selector named cheatsEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;cheatsEnabled:Ljava/lang/Boolean;intermediary field_42215Lnet/minecraft/class_8100;field_42215:Ljava/lang/Boolean;official fLftl;f:Ljava/lang/Boolean;
-
seed
- Mappings:
Namespace Name Mixin selector named seedLnet/minecraft/client/gui/screen/world/WorldCreator;seed:Ljava/lang/String;intermediary field_42216Lnet/minecraft/class_8100;field_42216:Ljava/lang/String;official gLftl;g:Ljava/lang/String;
-
generateStructures
private boolean generateStructures- Mappings:
Namespace Name Mixin selector named generateStructuresLnet/minecraft/client/gui/screen/world/WorldCreator;generateStructures:Zintermediary field_42217Lnet/minecraft/class_8100;field_42217:Zofficial hLftl;h:Z
-
bonusChestEnabled
private boolean bonusChestEnabled- Mappings:
Namespace Name Mixin selector named bonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;bonusChestEnabled:Zintermediary field_42218Lnet/minecraft/class_8100;field_42218:Zofficial iLftl;i:Z
-
savesDirectory
- Mappings:
Namespace Name Mixin selector named savesDirectoryLnet/minecraft/client/gui/screen/world/WorldCreator;savesDirectory:Ljava/nio/file/Path;intermediary field_43105Lnet/minecraft/class_8100;field_43105:Ljava/nio/file/Path;official jLftl;j:Ljava/nio/file/Path;
-
worldDirectoryName
- Mappings:
Namespace Name Mixin selector named worldDirectoryNameLnet/minecraft/client/gui/screen/world/WorldCreator;worldDirectoryName:Ljava/lang/String;intermediary field_43106Lnet/minecraft/class_8100;field_43106:Ljava/lang/String;official kLftl;k:Ljava/lang/String;
-
generatorOptionsHolder
- Mappings:
Namespace Name Mixin selector named generatorOptionsHolderLnet/minecraft/client/gui/screen/world/WorldCreator;generatorOptionsHolder:Lnet/minecraft/client/world/GeneratorOptionsHolder;intermediary field_42219Lnet/minecraft/class_8100;field_42219:Lnet/minecraft/class_7193;official lLftl;l:Lftk;
-
worldType
- Mappings:
Namespace Name Mixin selector named worldTypeLnet/minecraft/client/gui/screen/world/WorldCreator;worldType:Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;intermediary field_42220Lnet/minecraft/class_8100;field_42220:Lnet/minecraft/class_8100$class_8101;official mLftl;m:Lftl$b;
-
normalWorldTypes
- Mappings:
Namespace Name Mixin selector named normalWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;normalWorldTypes:Ljava/util/List;intermediary field_42221Lnet/minecraft/class_8100;field_42221:Ljava/util/List;official nLftl;n:Ljava/util/List;
-
extendedWorldTypes
- Mappings:
Namespace Name Mixin selector named extendedWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;extendedWorldTypes:Ljava/util/List;intermediary field_42222Lnet/minecraft/class_8100;field_42222:Ljava/util/List;official oLftl;o:Ljava/util/List;
-
gameRules
- Mappings:
Namespace Name Mixin selector named gameRulesLnet/minecraft/client/gui/screen/world/WorldCreator;gameRules:Lnet/minecraft/world/GameRules;intermediary field_42223Lnet/minecraft/class_8100;field_42223:Lnet/minecraft/class_1928;official pLftl;p:Ldcs;
-
-
Constructor Details
-
WorldCreator
public WorldCreator(Path savesDirectory, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/WorldCreator;<init>(Ljava/nio/file/Path;Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;Ljava/util/OptionalLong;)Vintermediary <init>Lnet/minecraft/class_8100;<init>(Ljava/nio/file/Path;Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)Vofficial <init>Lftl;<init>(Ljava/nio/file/Path;Lftk;Ljava/util/Optional;Ljava/util/OptionalLong;)V
-
-
Method Details
-
addListener
- Mappings:
Namespace Name Mixin selector named addListenerLnet/minecraft/client/gui/screen/world/WorldCreator;addListener(Ljava/util/function/Consumer;)Vintermediary method_48712Lnet/minecraft/class_8100;method_48712(Ljava/util/function/Consumer;)Vofficial aLftl;a(Ljava/util/function/Consumer;)V
-
update
public void update()- Mappings:
Namespace Name Mixin selector named updateLnet/minecraft/client/gui/screen/world/WorldCreator;update()Vintermediary method_48695Lnet/minecraft/class_8100;method_48695()Vofficial aLftl;a()V
-
setWorldName
- Mappings:
Namespace Name Mixin selector named setWorldNameLnet/minecraft/client/gui/screen/world/WorldCreator;setWorldName(Ljava/lang/String;)Vintermediary method_48710Lnet/minecraft/class_8100;method_48710(Ljava/lang/String;)Vofficial aLftl;a(Ljava/lang/String;)V
-
toDirectoryName
- Mappings:
Namespace Name Mixin selector named toDirectoryNameLnet/minecraft/client/gui/screen/world/WorldCreator;toDirectoryName(Ljava/lang/String;)Ljava/lang/String;intermediary method_49704Lnet/minecraft/class_8100;method_49704(Ljava/lang/String;)Ljava/lang/String;official cLftl;c(Ljava/lang/String;)Ljava/lang/String;
-
getWorldName
- Mappings:
Namespace Name Mixin selector named getWorldNameLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldName()Ljava/lang/String;intermediary method_48715Lnet/minecraft/class_8100;method_48715()Ljava/lang/String;official bLftl;b()Ljava/lang/String;
-
getWorldDirectoryName
- Mappings:
Namespace Name Mixin selector named getWorldDirectoryNameLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldDirectoryName()Ljava/lang/String;intermediary method_49703Lnet/minecraft/class_8100;method_49703()Ljava/lang/String;official cLftl;c()Ljava/lang/String;
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameModeLnet/minecraft/client/gui/screen/world/WorldCreator;setGameMode(Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;)Vintermediary method_48704Lnet/minecraft/class_8100;method_48704(Lnet/minecraft/class_8100$class_4539;)Vofficial aLftl;a(Lftl$a;)V
-
getGameMode
- Mappings:
Namespace Name Mixin selector named getGameModeLnet/minecraft/client/gui/screen/world/WorldCreator;getGameMode()Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;intermediary method_48721Lnet/minecraft/class_8100;method_48721()Lnet/minecraft/class_8100$class_4539;official dLftl;d()Lftl$a;
-
setDifficulty
- Mappings:
Namespace Name Mixin selector named setDifficultyLnet/minecraft/client/gui/screen/world/WorldCreator;setDifficulty(Lnet/minecraft/world/Difficulty;)Vintermediary method_48696Lnet/minecraft/class_8100;method_48696(Lnet/minecraft/class_1267;)Vofficial aLftl;a(Lbqo;)V
-
getDifficulty
- Mappings:
Namespace Name Mixin selector named getDifficultyLnet/minecraft/client/gui/screen/world/WorldCreator;getDifficulty()Lnet/minecraft/world/Difficulty;intermediary method_48722Lnet/minecraft/class_8100;method_48722()Lnet/minecraft/class_1267;official eLftl;e()Lbqo;
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector named isHardcoreLnet/minecraft/client/gui/screen/world/WorldCreator;isHardcore()Zintermediary method_48723Lnet/minecraft/class_8100;method_48723()Zofficial fLftl;f()Z
-
setCheatsEnabled
public void setCheatsEnabled(boolean cheatsEnabled) - Mappings:
Namespace Name Mixin selector named setCheatsEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;setCheatsEnabled(Z)Vintermediary method_48713Lnet/minecraft/class_8100;method_48713(Z)Vofficial aLftl;a(Z)V
-
areCheatsEnabled
public boolean areCheatsEnabled()- Mappings:
Namespace Name Mixin selector named areCheatsEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;areCheatsEnabled()Zintermediary method_48724Lnet/minecraft/class_8100;method_48724()Zofficial gLftl;g()Z
-
setSeed
- Mappings:
Namespace Name Mixin selector named setSeedLnet/minecraft/client/gui/screen/world/WorldCreator;setSeed(Ljava/lang/String;)Vintermediary method_48716Lnet/minecraft/class_8100;method_48716(Ljava/lang/String;)Vofficial bLftl;b(Ljava/lang/String;)V
-
getSeed
- Mappings:
Namespace Name Mixin selector named getSeedLnet/minecraft/client/gui/screen/world/WorldCreator;getSeed()Ljava/lang/String;intermediary method_48725Lnet/minecraft/class_8100;method_48725()Ljava/lang/String;official hLftl;h()Ljava/lang/String;
-
setGenerateStructures
public void setGenerateStructures(boolean generateStructures) - Mappings:
Namespace Name Mixin selector named setGenerateStructuresLnet/minecraft/client/gui/screen/world/WorldCreator;setGenerateStructures(Z)Vintermediary method_48717Lnet/minecraft/class_8100;method_48717(Z)Vofficial bLftl;b(Z)V
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Mappings:
Namespace Name Mixin selector named shouldGenerateStructuresLnet/minecraft/client/gui/screen/world/WorldCreator;shouldGenerateStructures()Zintermediary method_48726Lnet/minecraft/class_8100;method_48726()Zofficial iLftl;i()Z
-
setBonusChestEnabled
public void setBonusChestEnabled(boolean bonusChestEnabled) - Mappings:
Namespace Name Mixin selector named setBonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;setBonusChestEnabled(Z)Vintermediary method_48720Lnet/minecraft/class_8100;method_48720(Z)Vofficial cLftl;c(Z)V
-
isBonusChestEnabled
public boolean isBonusChestEnabled()- Mappings:
Namespace Name Mixin selector named isBonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;isBonusChestEnabled()Zintermediary method_48727Lnet/minecraft/class_8100;method_48727()Zofficial jLftl;j()Z
-
setGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector named setGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/WorldCreator;setGeneratorOptionsHolder(Lnet/minecraft/client/world/GeneratorOptionsHolder;)Vintermediary method_48701Lnet/minecraft/class_8100;method_48701(Lnet/minecraft/class_7193;)Vofficial aLftl;a(Lftk;)V
-
getGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector named getGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/WorldCreator;getGeneratorOptionsHolder()Lnet/minecraft/client/world/GeneratorOptionsHolder;intermediary method_48728Lnet/minecraft/class_8100;method_48728()Lnet/minecraft/class_7193;official kLftl;k()Lftk;
-
applyModifier
- Mappings:
Namespace Name Mixin selector named applyModifierLnet/minecraft/client/gui/screen/world/WorldCreator;applyModifier(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)Vintermediary method_48700Lnet/minecraft/class_8100;method_48700(Lnet/minecraft/class_7193$class_7195;)Vofficial aLftl;a(Lftk$a;)V
-
updateDataConfiguration
- Mappings:
Namespace Name Mixin selector named updateDataConfigurationLnet/minecraft/client/gui/screen/world/WorldCreator;updateDataConfiguration(Lnet/minecraft/resource/DataConfiguration;)Zintermediary method_48698Lnet/minecraft/class_8100;method_48698(Lnet/minecraft/class_7712;)Zofficial aLftl;a(Lddr;)Z
-
isDebug
public boolean isDebug()- Mappings:
Namespace Name Mixin selector named isDebugLnet/minecraft/client/gui/screen/world/WorldCreator;isDebug()Zintermediary method_48729Lnet/minecraft/class_8100;method_48729()Zofficial lLftl;l()Z
-
setWorldType
- Mappings:
Namespace Name Mixin selector named setWorldTypeLnet/minecraft/client/gui/screen/world/WorldCreator;setWorldType(Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;)Vintermediary method_48705Lnet/minecraft/class_8100;method_48705(Lnet/minecraft/class_8100$class_8101;)Vofficial aLftl;a(Lftl$b;)V
-
getWorldType
- Mappings:
Namespace Name Mixin selector named getWorldTypeLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldType()Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;intermediary method_48730Lnet/minecraft/class_8100;method_48730()Lnet/minecraft/class_8100$class_8101;official mLftl;m()Lftl$b;
-
getLevelScreenProvider
- Mappings:
Namespace Name Mixin selector named getLevelScreenProviderLnet/minecraft/client/gui/screen/world/WorldCreator;getLevelScreenProvider()Lnet/minecraft/client/gui/screen/world/LevelScreenProvider;intermediary method_48731Lnet/minecraft/class_8100;method_48731()Lnet/minecraft/class_5293;official nLftl;n()Lfth;
-
getNormalWorldTypes
- Mappings:
Namespace Name Mixin selector named getNormalWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;getNormalWorldTypes()Ljava/util/List;intermediary method_48732Lnet/minecraft/class_8100;method_48732()Ljava/util/List;official oLftl;o()Ljava/util/List;
-
getExtendedWorldTypes
- Mappings:
Namespace Name Mixin selector named getExtendedWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;getExtendedWorldTypes()Ljava/util/List;intermediary method_48733Lnet/minecraft/class_8100;method_48733()Ljava/util/List;official pLftl;p()Ljava/util/List;
-
updateWorldTypeLists
private void updateWorldTypeLists()- Mappings:
Namespace Name Mixin selector named updateWorldTypeListsLnet/minecraft/client/gui/screen/world/WorldCreator;updateWorldTypeLists()Vintermediary method_48735Lnet/minecraft/class_8100;method_48735()Vofficial rLftl;r()V
-
getWorldPreset
private static Optional<RegistryEntry<WorldPreset>> getWorldPreset(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) - Mappings:
Namespace Name Mixin selector named getWorldPresetLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldPreset(Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;)Ljava/util/Optional;intermediary method_48703Lnet/minecraft/class_8100;method_48703(Lnet/minecraft/class_7193;Ljava/util/Optional;)Ljava/util/Optional;official aLftl;a(Lftk;Ljava/util/Optional;)Ljava/util/Optional;
-
getWorldPresetList
private static Optional<List<WorldCreator.WorldType>> getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) - Mappings:
Namespace Name Mixin selector named getWorldPresetListLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldPresetList(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;intermediary method_48709Lnet/minecraft/class_8100;method_48709(Lnet/minecraft/class_2378;Lnet/minecraft/class_6862;)Ljava/util/Optional;official aLftl;a(Ljz;Lawu;)Ljava/util/Optional;
-
setGameRules
- Mappings:
Namespace Name Mixin selector named setGameRulesLnet/minecraft/client/gui/screen/world/WorldCreator;setGameRules(Lnet/minecraft/world/GameRules;)Vintermediary method_48697Lnet/minecraft/class_8100;method_48697(Lnet/minecraft/class_1928;)Vofficial aLftl;a(Ldcs;)V
-
getGameRules
- Mappings:
Namespace Name Mixin selector named getGameRulesLnet/minecraft/client/gui/screen/world/WorldCreator;getGameRules()Lnet/minecraft/world/GameRules;intermediary method_48734Lnet/minecraft/class_8100;method_48734()Lnet/minecraft/class_1928;official qLftl;q()Ldcs;
-