Class WorldCreator
java.lang.Object
net.minecraft.client.gui.screen.world.WorldCreator
- Mappings:
Namespace Name official ewmintermediary 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 booleanprivate final List<WorldCreator.WorldType>private Stringprivate Stringprivate WorldCreator.WorldType -
Constructor Summary
ConstructorsConstructorDescriptionWorldCreator(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> worldType, 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()booleanbooleanisNamed()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
-
listeners
- Mappings:
Namespace Name Mixin selector official aLewm;a: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 bLewm;b: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;
-
named
private boolean named- Mappings:
Namespace Name Mixin selector official cLewm;c:Zintermediary field_42212Lnet/minecraft/class_8100;field_42212:Znamed namedLnet/minecraft/client/gui/screen/world/WorldCreator;named:Z
-
gameMode
- Mappings:
Namespace Name Mixin selector official dLewm;d:Lewm$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 eLewm;e:Lbdn;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 fLewm;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 gLewm;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 hLewm;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 iLewm;i:Zintermediary field_42218Lnet/minecraft/class_8100;field_42218:Znamed bonusChestEnabledLnet/minecraft/client/gui/screen/world/WorldCreator;bonusChestEnabled:Z
-
generatorOptionsHolder
- Mappings:
Namespace Name Mixin selector official jLewm;j:Lewl;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 kLewm;k:Lewm$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 lLewm;l: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 mLewm;m: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 nLewm;n:Lclp;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(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> worldType, OptionalLong seed) - Mappings:
Namespace Name Mixin selector official <init>Lewm;<init>(Lewl;Ljava/util/Optional;Ljava/util/OptionalLong;)Vintermediary <init>Lnet/minecraft/class_8100;<init>(Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/WorldCreator;<init>(Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;Ljava/util/OptionalLong;)V
-
-
Method Details
-
addListener
- Mappings:
Namespace Name Mixin selector official aLewm;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 aLewm;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 aLewm;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
-
getWorldName
- Mappings:
Namespace Name Mixin selector official bLewm;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;
-
isNamed
public boolean isNamed()- Mappings:
Namespace Name Mixin selector official cLewm;c()Zintermediary method_48719Lnet/minecraft/class_8100;method_48719()Znamed isNamedLnet/minecraft/client/gui/screen/world/WorldCreator;isNamed()Z
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLewm;a(Lewm$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 dLewm;d()Lewm$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 aLewm;a(Lbdn;)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 eLewm;e()Lbdn;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 fLewm;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 aLewm;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 gLewm;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 bLewm;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 hLewm;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 bLewm;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 iLewm;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 cLewm;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 jLewm;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 aLewm;a(Lewl;)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 kLewm;k()Lewl;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 aLewm;a(Lewl$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 aLewm;a(Lcml;)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 lLewm;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 aLewm;a(Lewm$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 mLewm;m()Lewm$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 nLewm;n()Lewi;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 oLewm;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 pLewm;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 rLewm;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 aLewm;a(Lewl;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 aLewm;a(Lho;Lano;)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 aLewm;a(Lclp;)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 qLewm;q()Lclp;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;
-