Class WorldCreator
java.lang.Object
net.minecraft.client.gui.screen.world.WorldCreator
- Mappings:
Namespace Name official extintermediary 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 static final Textprivate final Pathprivate Stringprivate WorldCreator.Modeprivate GameRulesprivate booleanprivate GeneratorOptionsHolderprivate final List<Consumer<WorldCreator>>private final List<WorldCreator.WorldType>private Stringprivate Stringprivate WorldCreator.WorldType -
Constructor Summary
ConstructorsConstructorDescriptionWorldCreator(Path path, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> optional, OptionalLong optionalLong) -
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()booleanprivate Stringmethod_49704(String string) voidsetBonusChestEnabled(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) booleanvoidupdate()protected booleanupdateDataConfiguration(DataConfiguration dataConfiguration) private void
-
Field Details
-
field_43104
- Mappings:
Namespace Name Mixin selector official aLext;a:Lti;intermediary field_43104Lnet/minecraft/class_8100;field_43104:Lnet/minecraft/class_2561;named field_43104Lnet/minecraft/client/gui/screen/world/WorldCreator;field_43104:Lnet/minecraft/text/Text;
-
listeners
- Mappings:
Namespace Name Mixin selector official bLext;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 cLext;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 dLext;d:Lext$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 eLext;e:Lbdt;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 fLext;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 gLext;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 hLext;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 iLext;i:Zintermediary field_42218Lnet/minecraft/class_8100;field_42218:Znamed bonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;bonusChestEnabled:Z
-
field_43105
- Mappings:
Namespace Name Mixin selector official jLext;j:Ljava/nio/file/Path;intermediary field_43105Lnet/minecraft/class_8100;field_43105:Ljava/nio/file/Path;named field_43105Lnet/minecraft/client/gui/screen/world/WorldCreator;field_43105:Ljava/nio/file/Path;
-
field_43106
- Mappings:
Namespace Name Mixin selector official kLext;k:Ljava/lang/String;intermediary field_43106Lnet/minecraft/class_8100;field_43106:Ljava/lang/String;named field_43106Lnet/minecraft/client/gui/screen/world/WorldCreator;field_43106:Ljava/lang/String;
-
generatorOptionsHolder
- Mappings:
Namespace Name Mixin selector official lLext;l:Lexs;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 mLext;m:Lext$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 nLext;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 oLext;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 pLext;p:Lcmc;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 path, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> optional, OptionalLong optionalLong)
-
-
Method Details
-
addListener
- Mappings:
Namespace Name Mixin selector official aLext;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 aLext;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 aLext;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
-
method_49704
- Mappings:
Namespace Name Mixin selector official cLext;c(Ljava/lang/String;)Ljava/lang/String;intermediary method_49704Lnet/minecraft/class_8100;method_49704(Ljava/lang/String;)Ljava/lang/String;named method_49704Lnet/minecraft/client/gui/screen/world/WorldCreator;method_49704(Ljava/lang/String;)Ljava/lang/String;
-
getWorldName
- Mappings:
Namespace Name Mixin selector official bLext;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;
-
method_49703
- Mappings:
Namespace Name Mixin selector official cLext;c()Ljava/lang/String;intermediary method_49703Lnet/minecraft/class_8100;method_49703()Ljava/lang/String;named method_49703Lnet/minecraft/client/gui/screen/world/WorldCreator;method_49703()Ljava/lang/String;
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLext;a(Lext$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 dLext;d()Lext$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 aLext;a(Lbdt;)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 eLext;e()Lbdt;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 fLext;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 aLext;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 gLext;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 bLext;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 hLext;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 bLext;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 iLext;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 cLext;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 jLext;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 aLext;a(Lexs;)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 kLext;k()Lexs;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 aLext;a(Lexs$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 aLext;a(Lcmy;)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 lLext;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 aLext;a(Lext$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 mLext;m()Lext$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 nLext;n()Lexp;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 oLext;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 pLext;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 rLext;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 aLext;a(Lexs;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 aLext;a(Lhp;Lanu;)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 aLext;a(Lcmc;)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 qLext;q()Lcmc;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;
-