Class WorldCreator
java.lang.Object
net.minecraft.client.gui.screen.world.WorldCreator
- Mappings:
 Namespace Name official ezjintermediary net/minecraft/class_8100named net/minecraft/client/gui/screen/world/WorldCreator
- 
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 official aLezj;a:Lsw;intermediary field_43104Lnet/minecraft/class_8100;field_43104:Lnet/minecraft/class_2561;named NEW_WORLD_NAMELnet/minecraft/client/gui/screen/world/WorldCreator;NEW_WORLD_NAME:Lnet/minecraft/text/Text;
 - 
listeners
- Mappings:
 Namespace Name Mixin selector official bLezj;b:Ljava/util/List;intermediary field_42210Lnet/minecraft/class_8100;field_42210:Ljava/util/List;named listenersLnet/minecraft/client/gui/screen/world/WorldCreator;listeners:Ljava/util/List;
 - 
worldName
- Mappings:
 Namespace Name Mixin selector official cLezj;c:Ljava/lang/String;intermediary field_42211Lnet/minecraft/class_8100;field_42211:Ljava/lang/String;named worldNameLnet/minecraft/client/gui/screen/world/WorldCreator;worldName:Ljava/lang/String;
 - 
gameMode
- Mappings:
 Namespace Name Mixin selector official dLezj;d:Lezj$a;intermediary field_42213Lnet/minecraft/class_8100;field_42213:Lnet/minecraft/class_8100$class_4539;named gameModeLnet/minecraft/client/gui/screen/world/WorldCreator;gameMode:Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;
 - 
difficulty
- Mappings:
 Namespace Name Mixin selector official eLezj;e:Lbdu;intermediary field_42214Lnet/minecraft/class_8100;field_42214:Lnet/minecraft/class_1267;named difficultyLnet/minecraft/client/gui/screen/world/WorldCreator;difficulty:Lnet/minecraft/world/Difficulty;
 - 
cheatsEnabled
- Mappings:
 Namespace Name Mixin selector official fLezj;f:Ljava/lang/Boolean;intermediary field_42215Lnet/minecraft/class_8100;field_42215:Ljava/lang/Boolean;named cheatsEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;cheatsEnabled:Ljava/lang/Boolean;
 - 
seed
- Mappings:
 Namespace Name Mixin selector official gLezj;g:Ljava/lang/String;intermediary field_42216Lnet/minecraft/class_8100;field_42216:Ljava/lang/String;named seedLnet/minecraft/client/gui/screen/world/WorldCreator;seed:Ljava/lang/String;
 - 
generateStructures
private boolean generateStructures- Mappings:
 Namespace Name Mixin selector official hLezj;h:Zintermediary field_42217Lnet/minecraft/class_8100;field_42217:Znamed generateStructuresLnet/minecraft/client/gui/screen/world/WorldCreator;generateStructures:Z
 - 
bonusChestEnabled
private boolean bonusChestEnabled- Mappings:
 Namespace Name Mixin selector official iLezj;i:Zintermediary field_42218Lnet/minecraft/class_8100;field_42218:Znamed bonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;bonusChestEnabled:Z
 - 
savesDirectory
- Mappings:
 Namespace Name Mixin selector official jLezj;j:Ljava/nio/file/Path;intermediary field_43105Lnet/minecraft/class_8100;field_43105:Ljava/nio/file/Path;named savesDirectoryLnet/minecraft/client/gui/screen/world/WorldCreator;savesDirectory:Ljava/nio/file/Path;
 - 
worldDirectoryName
- Mappings:
 Namespace Name Mixin selector official kLezj;k:Ljava/lang/String;intermediary field_43106Lnet/minecraft/class_8100;field_43106:Ljava/lang/String;named worldDirectoryNameLnet/minecraft/client/gui/screen/world/WorldCreator;worldDirectoryName:Ljava/lang/String;
 - 
generatorOptionsHolder
- Mappings:
 Namespace Name Mixin selector official lLezj;l:Lezi;intermediary field_42219Lnet/minecraft/class_8100;field_42219:Lnet/minecraft/class_7193;named generatorOptionsHolderLnet/minecraft/client/gui/screen/world/WorldCreator;generatorOptionsHolder:Lnet/minecraft/client/world/GeneratorOptionsHolder;
 - 
worldType
- Mappings:
 Namespace Name Mixin selector official mLezj;m:Lezj$b;intermediary field_42220Lnet/minecraft/class_8100;field_42220:Lnet/minecraft/class_8100$class_8101;named worldTypeLnet/minecraft/client/gui/screen/world/WorldCreator;worldType:Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;
 - 
normalWorldTypes
- Mappings:
 Namespace Name Mixin selector official nLezj;n:Ljava/util/List;intermediary field_42221Lnet/minecraft/class_8100;field_42221:Ljava/util/List;named normalWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;normalWorldTypes:Ljava/util/List;
 - 
extendedWorldTypes
- Mappings:
 Namespace Name Mixin selector official oLezj;o:Ljava/util/List;intermediary field_42222Lnet/minecraft/class_8100;field_42222:Ljava/util/List;named extendedWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;extendedWorldTypes:Ljava/util/List;
 - 
gameRules
- Mappings:
 Namespace Name Mixin selector official pLezj;p:Lcmi;intermediary field_42223Lnet/minecraft/class_8100;field_42223:Lnet/minecraft/class_1928;named gameRulesLnet/minecraft/client/gui/screen/world/WorldCreator;gameRules:Lnet/minecraft/world/GameRules;
 
 - 
 - 
Constructor Details
- 
WorldCreator
public WorldCreator(Path savesDirectory, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed) - Mappings:
 Namespace Name Mixin selector official <init>Lezj;<init>(Ljava/nio/file/Path;Lezi;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;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/WorldCreator;<init>(Ljava/nio/file/Path;Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;Ljava/util/OptionalLong;)V
 
 - 
 - 
Method Details
- 
addListener
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Ljava/util/function/Consumer;)Vintermediary method_48712Lnet/minecraft/class_8100;method_48712(Ljava/util/function/Consumer;)Vnamed addListenerLnet/minecraft/client/gui/screen/world/WorldCreator;addListener(Ljava/util/function/Consumer;)V
 - 
update
public void update()- Mappings:
 Namespace Name Mixin selector official aLezj;a()Vintermediary method_48695Lnet/minecraft/class_8100;method_48695()Vnamed updateLnet/minecraft/client/gui/screen/world/WorldCreator;update()V
 - 
setWorldName
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Ljava/lang/String;)Vintermediary method_48710Lnet/minecraft/class_8100;method_48710(Ljava/lang/String;)Vnamed setWorldNameLnet/minecraft/client/gui/screen/world/WorldCreator;setWorldName(Ljava/lang/String;)V
 - 
toDirectoryName
- Mappings:
 Namespace Name Mixin selector official cLezj;c(Ljava/lang/String;)Ljava/lang/String;intermediary method_49704Lnet/minecraft/class_8100;method_49704(Ljava/lang/String;)Ljava/lang/String;named toDirectoryNameLnet/minecraft/client/gui/screen/world/WorldCreator;toDirectoryName(Ljava/lang/String;)Ljava/lang/String;
 - 
getWorldName
- Mappings:
 Namespace Name Mixin selector official bLezj;b()Ljava/lang/String;intermediary method_48715Lnet/minecraft/class_8100;method_48715()Ljava/lang/String;named getWorldNameLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldName()Ljava/lang/String;
 - 
getWorldDirectoryName
- Mappings:
 Namespace Name Mixin selector official cLezj;c()Ljava/lang/String;intermediary method_49703Lnet/minecraft/class_8100;method_49703()Ljava/lang/String;named getWorldDirectoryNameLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldDirectoryName()Ljava/lang/String;
 - 
setGameMode
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lezj$a;)Vintermediary method_48704Lnet/minecraft/class_8100;method_48704(Lnet/minecraft/class_8100$class_4539;)Vnamed setGameModeLnet/minecraft/client/gui/screen/world/WorldCreator;setGameMode(Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;)V
 - 
getGameMode
- Mappings:
 Namespace Name Mixin selector official dLezj;d()Lezj$a;intermediary method_48721Lnet/minecraft/class_8100;method_48721()Lnet/minecraft/class_8100$class_4539;named getGameModeLnet/minecraft/client/gui/screen/world/WorldCreator;getGameMode()Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;
 - 
setDifficulty
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lbdu;)Vintermediary method_48696Lnet/minecraft/class_8100;method_48696(Lnet/minecraft/class_1267;)Vnamed setDifficultyLnet/minecraft/client/gui/screen/world/WorldCreator;setDifficulty(Lnet/minecraft/world/Difficulty;)V
 - 
getDifficulty
- Mappings:
 Namespace Name Mixin selector official eLezj;e()Lbdu;intermediary method_48722Lnet/minecraft/class_8100;method_48722()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/client/gui/screen/world/WorldCreator;getDifficulty()Lnet/minecraft/world/Difficulty;
 - 
isHardcore
public boolean isHardcore()- Mappings:
 Namespace Name Mixin selector official fLezj;f()Zintermediary method_48723Lnet/minecraft/class_8100;method_48723()Znamed isHardcoreLnet/minecraft/client/gui/screen/world/WorldCreator;isHardcore()Z
 - 
setCheatsEnabled
public void setCheatsEnabled(boolean cheatsEnabled) - Mappings:
 Namespace Name Mixin selector official aLezj;a(Z)Vintermediary method_48713Lnet/minecraft/class_8100;method_48713(Z)Vnamed setCheatsEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;setCheatsEnabled(Z)V
 - 
areCheatsEnabled
public boolean areCheatsEnabled()- Mappings:
 Namespace Name Mixin selector official gLezj;g()Zintermediary method_48724Lnet/minecraft/class_8100;method_48724()Znamed areCheatsEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;areCheatsEnabled()Z
 - 
setSeed
- Mappings:
 Namespace Name Mixin selector official bLezj;b(Ljava/lang/String;)Vintermediary method_48716Lnet/minecraft/class_8100;method_48716(Ljava/lang/String;)Vnamed setSeedLnet/minecraft/client/gui/screen/world/WorldCreator;setSeed(Ljava/lang/String;)V
 - 
getSeed
- Mappings:
 Namespace Name Mixin selector official hLezj;h()Ljava/lang/String;intermediary method_48725Lnet/minecraft/class_8100;method_48725()Ljava/lang/String;named getSeedLnet/minecraft/client/gui/screen/world/WorldCreator;getSeed()Ljava/lang/String;
 - 
setGenerateStructures
public void setGenerateStructures(boolean generateStructures) - Mappings:
 Namespace Name Mixin selector official bLezj;b(Z)Vintermediary method_48717Lnet/minecraft/class_8100;method_48717(Z)Vnamed setGenerateStructuresLnet/minecraft/client/gui/screen/world/WorldCreator;setGenerateStructures(Z)V
 - 
shouldGenerateStructures
public boolean shouldGenerateStructures()- Mappings:
 Namespace Name Mixin selector official iLezj;i()Zintermediary method_48726Lnet/minecraft/class_8100;method_48726()Znamed shouldGenerateStructuresLnet/minecraft/client/gui/screen/world/WorldCreator;shouldGenerateStructures()Z
 - 
setBonusChestEnabled
public void setBonusChestEnabled(boolean bonusChestEnabled) - Mappings:
 Namespace Name Mixin selector official cLezj;c(Z)Vintermediary method_48720Lnet/minecraft/class_8100;method_48720(Z)Vnamed setBonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;setBonusChestEnabled(Z)V
 - 
isBonusChestEnabled
public boolean isBonusChestEnabled()- Mappings:
 Namespace Name Mixin selector official jLezj;j()Zintermediary method_48727Lnet/minecraft/class_8100;method_48727()Znamed isBonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;isBonusChestEnabled()Z
 - 
setGeneratorOptionsHolder
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lezi;)Vintermediary method_48701Lnet/minecraft/class_8100;method_48701(Lnet/minecraft/class_7193;)Vnamed setGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/WorldCreator;setGeneratorOptionsHolder(Lnet/minecraft/client/world/GeneratorOptionsHolder;)V
 - 
getGeneratorOptionsHolder
- Mappings:
 Namespace Name Mixin selector official kLezj;k()Lezi;intermediary method_48728Lnet/minecraft/class_8100;method_48728()Lnet/minecraft/class_7193;named getGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/WorldCreator;getGeneratorOptionsHolder()Lnet/minecraft/client/world/GeneratorOptionsHolder;
 - 
applyModifier
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lezi$a;)Vintermediary method_48700Lnet/minecraft/class_8100;method_48700(Lnet/minecraft/class_7193$class_7195;)Vnamed applyModifierLnet/minecraft/client/gui/screen/world/WorldCreator;applyModifier(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)V
 - 
updateDataConfiguration
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lcnf;)Zintermediary method_48698Lnet/minecraft/class_8100;method_48698(Lnet/minecraft/class_7712;)Znamed updateDataConfigurationLnet/minecraft/client/gui/screen/world/WorldCreator;updateDataConfiguration(Lnet/minecraft/resource/DataConfiguration;)Z
 - 
isDebug
public boolean isDebug()- Mappings:
 Namespace Name Mixin selector official lLezj;l()Zintermediary method_48729Lnet/minecraft/class_8100;method_48729()Znamed isDebugLnet/minecraft/client/gui/screen/world/WorldCreator;isDebug()Z
 - 
setWorldType
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lezj$b;)Vintermediary method_48705Lnet/minecraft/class_8100;method_48705(Lnet/minecraft/class_8100$class_8101;)Vnamed setWorldTypeLnet/minecraft/client/gui/screen/world/WorldCreator;setWorldType(Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;)V
 - 
getWorldType
- Mappings:
 Namespace Name Mixin selector official mLezj;m()Lezj$b;intermediary method_48730Lnet/minecraft/class_8100;method_48730()Lnet/minecraft/class_8100$class_8101;named getWorldTypeLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldType()Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;
 - 
getLevelScreenProvider
- Mappings:
 Namespace Name Mixin selector official nLezj;n()Lezf;intermediary method_48731Lnet/minecraft/class_8100;method_48731()Lnet/minecraft/class_5293;named getLevelScreenProviderLnet/minecraft/client/gui/screen/world/WorldCreator;getLevelScreenProvider()Lnet/minecraft/client/gui/screen/world/LevelScreenProvider;
 - 
getNormalWorldTypes
- Mappings:
 Namespace Name Mixin selector official oLezj;o()Ljava/util/List;intermediary method_48732Lnet/minecraft/class_8100;method_48732()Ljava/util/List;named getNormalWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;getNormalWorldTypes()Ljava/util/List;
 - 
getExtendedWorldTypes
- Mappings:
 Namespace Name Mixin selector official pLezj;p()Ljava/util/List;intermediary method_48733Lnet/minecraft/class_8100;method_48733()Ljava/util/List;named getExtendedWorldTypesLnet/minecraft/client/gui/screen/world/WorldCreator;getExtendedWorldTypes()Ljava/util/List;
 - 
updateWorldTypeLists
private void updateWorldTypeLists()- Mappings:
 Namespace Name Mixin selector official rLezj;r()Vintermediary method_48735Lnet/minecraft/class_8100;method_48735()Vnamed updateWorldTypeListsLnet/minecraft/client/gui/screen/world/WorldCreator;updateWorldTypeLists()V
 - 
getWorldPreset
private static Optional<RegistryEntry<WorldPreset>> getWorldPreset(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) - Mappings:
 Namespace Name Mixin selector official aLezj;a(Lezi;Ljava/util/Optional;)Ljava/util/Optional;intermediary method_48703Lnet/minecraft/class_8100;method_48703(Lnet/minecraft/class_7193;Ljava/util/Optional;)Ljava/util/Optional;named getWorldPresetLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldPreset(Lnet/minecraft/client/world/GeneratorOptionsHolder;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 official aLezj;a(Lhr;Lanl;)Ljava/util/Optional;intermediary method_48709Lnet/minecraft/class_8100;method_48709(Lnet/minecraft/class_2378;Lnet/minecraft/class_6862;)Ljava/util/Optional;named getWorldPresetListLnet/minecraft/client/gui/screen/world/WorldCreator;getWorldPresetList(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
 - 
setGameRules
- Mappings:
 Namespace Name Mixin selector official aLezj;a(Lcmi;)Vintermediary method_48697Lnet/minecraft/class_8100;method_48697(Lnet/minecraft/class_1928;)Vnamed setGameRulesLnet/minecraft/client/gui/screen/world/WorldCreator;setGameRules(Lnet/minecraft/world/GameRules;)V
 - 
getGameRules
- Mappings:
 Namespace Name Mixin selector official qLezj;q()Lcmi;intermediary method_48734Lnet/minecraft/class_8100;method_48734()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/client/gui/screen/world/WorldCreator;getGameRules()Lnet/minecraft/world/GameRules;
 
 -