Class WorldCreator
java.lang.Object
net.minecraft.client.gui.screen.world.WorldCreator
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/WorldCreator
intermediary net/minecraft/class_8100
official fsr
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private Difficulty
private final List
<WorldCreator.WorldType> private WorldCreator.Mode
private GameRules
private boolean
private GeneratorOptionsHolder
private final List
<Consumer<WorldCreator>> private static final Text
private final List
<WorldCreator.WorldType> private final Path
private String
private String
private String
private WorldCreator.WorldType
-
Constructor Summary
ConstructorDescriptionWorldCreator
(Path savesDirectory, GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> defaultWorldType, OptionalLong seed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(Consumer<WorldCreator> listener) void
boolean
getSeed()
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) boolean
boolean
isDebug()
boolean
void
setBonusChestEnabled
(boolean bonusChestEnabled) void
setCheatsEnabled
(boolean cheatsEnabled) void
setDifficulty
(Difficulty difficulty) void
setGameMode
(WorldCreator.Mode gameMode) void
setGameRules
(GameRules gameRules) void
setGenerateStructures
(boolean generateStructures) void
setGeneratorOptionsHolder
(GeneratorOptionsHolder generatorOptionsHolder) void
void
setWorldName
(String worldName) void
setWorldType
(WorldCreator.WorldType worldType) boolean
private String
toDirectoryName
(String worldName) void
update()
protected boolean
updateDataConfiguration
(DataConfiguration dataConfiguration) private void
-
Field Details
-
NEW_WORLD_NAME
- Mappings:
Namespace Name Mixin selector named NEW_WORLD_NAME
Lnet/minecraft/client/gui/screen/world/WorldCreator;NEW_WORLD_NAME:Lnet/minecraft/text/Text;
intermediary field_43104
Lnet/minecraft/class_8100;field_43104:Lnet/minecraft/class_2561;
official a
Lfsr;a:Lwu;
-
listeners
- Mappings:
Namespace Name Mixin selector named listeners
Lnet/minecraft/client/gui/screen/world/WorldCreator;listeners:Ljava/util/List;
intermediary field_42210
Lnet/minecraft/class_8100;field_42210:Ljava/util/List;
official b
Lfsr;b:Ljava/util/List;
-
worldName
- Mappings:
Namespace Name Mixin selector named worldName
Lnet/minecraft/client/gui/screen/world/WorldCreator;worldName:Ljava/lang/String;
intermediary field_42211
Lnet/minecraft/class_8100;field_42211:Ljava/lang/String;
official c
Lfsr;c:Ljava/lang/String;
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameMode
Lnet/minecraft/client/gui/screen/world/WorldCreator;gameMode:Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;
intermediary field_42213
Lnet/minecraft/class_8100;field_42213:Lnet/minecraft/class_8100$class_4539;
official d
Lfsr;d:Lfsr$a;
-
difficulty
- Mappings:
Namespace Name Mixin selector named difficulty
Lnet/minecraft/client/gui/screen/world/WorldCreator;difficulty:Lnet/minecraft/world/Difficulty;
intermediary field_42214
Lnet/minecraft/class_8100;field_42214:Lnet/minecraft/class_1267;
official e
Lfsr;e:Lbqe;
-
cheatsEnabled
- Mappings:
Namespace Name Mixin selector named cheatsEnabled
Lnet/minecraft/client/gui/screen/world/WorldCreator;cheatsEnabled:Ljava/lang/Boolean;
intermediary field_42215
Lnet/minecraft/class_8100;field_42215:Ljava/lang/Boolean;
official f
Lfsr;f:Ljava/lang/Boolean;
-
seed
- Mappings:
Namespace Name Mixin selector named seed
Lnet/minecraft/client/gui/screen/world/WorldCreator;seed:Ljava/lang/String;
intermediary field_42216
Lnet/minecraft/class_8100;field_42216:Ljava/lang/String;
official g
Lfsr;g:Ljava/lang/String;
-
generateStructures
private boolean generateStructures- Mappings:
Namespace Name Mixin selector named generateStructures
Lnet/minecraft/client/gui/screen/world/WorldCreator;generateStructures:Z
intermediary field_42217
Lnet/minecraft/class_8100;field_42217:Z
official h
Lfsr;h:Z
-
bonusChestEnabled
private boolean bonusChestEnabled- Mappings:
Namespace Name Mixin selector named bonusChestEnabled
Lnet/minecraft/client/gui/screen/world/WorldCreator;bonusChestEnabled:Z
intermediary field_42218
Lnet/minecraft/class_8100;field_42218:Z
official i
Lfsr;i:Z
-
savesDirectory
- Mappings:
Namespace Name Mixin selector named savesDirectory
Lnet/minecraft/client/gui/screen/world/WorldCreator;savesDirectory:Ljava/nio/file/Path;
intermediary field_43105
Lnet/minecraft/class_8100;field_43105:Ljava/nio/file/Path;
official j
Lfsr;j:Ljava/nio/file/Path;
-
worldDirectoryName
- Mappings:
Namespace Name Mixin selector named worldDirectoryName
Lnet/minecraft/client/gui/screen/world/WorldCreator;worldDirectoryName:Ljava/lang/String;
intermediary field_43106
Lnet/minecraft/class_8100;field_43106:Ljava/lang/String;
official k
Lfsr;k:Ljava/lang/String;
-
generatorOptionsHolder
- Mappings:
Namespace Name Mixin selector named generatorOptionsHolder
Lnet/minecraft/client/gui/screen/world/WorldCreator;generatorOptionsHolder:Lnet/minecraft/client/world/GeneratorOptionsHolder;
intermediary field_42219
Lnet/minecraft/class_8100;field_42219:Lnet/minecraft/class_7193;
official l
Lfsr;l:Lfsq;
-
worldType
- Mappings:
Namespace Name Mixin selector named worldType
Lnet/minecraft/client/gui/screen/world/WorldCreator;worldType:Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;
intermediary field_42220
Lnet/minecraft/class_8100;field_42220:Lnet/minecraft/class_8100$class_8101;
official m
Lfsr;m:Lfsr$b;
-
normalWorldTypes
- Mappings:
Namespace Name Mixin selector named normalWorldTypes
Lnet/minecraft/client/gui/screen/world/WorldCreator;normalWorldTypes:Ljava/util/List;
intermediary field_42221
Lnet/minecraft/class_8100;field_42221:Ljava/util/List;
official n
Lfsr;n:Ljava/util/List;
-
extendedWorldTypes
- Mappings:
Namespace Name Mixin selector named extendedWorldTypes
Lnet/minecraft/client/gui/screen/world/WorldCreator;extendedWorldTypes:Ljava/util/List;
intermediary field_42222
Lnet/minecraft/class_8100;field_42222:Ljava/util/List;
official o
Lfsr;o:Ljava/util/List;
-
gameRules
- Mappings:
Namespace Name Mixin selector named gameRules
Lnet/minecraft/client/gui/screen/world/WorldCreator;gameRules:Lnet/minecraft/world/GameRules;
intermediary field_42223
Lnet/minecraft/class_8100;field_42223:Lnet/minecraft/class_1928;
official p
Lfsr;p:Ldcc;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_8100;<init>(Ljava/nio/file/Path;Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)V
official <init>
Lfsr;<init>(Ljava/nio/file/Path;Lfsq;Ljava/util/Optional;Ljava/util/OptionalLong;)V
-
-
Method Details
-
addListener
- Mappings:
Namespace Name Mixin selector named addListener
Lnet/minecraft/client/gui/screen/world/WorldCreator;addListener(Ljava/util/function/Consumer;)V
intermediary method_48712
Lnet/minecraft/class_8100;method_48712(Ljava/util/function/Consumer;)V
official a
Lfsr;a(Ljava/util/function/Consumer;)V
-
update
public void update()- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/client/gui/screen/world/WorldCreator;update()V
intermediary method_48695
Lnet/minecraft/class_8100;method_48695()V
official a
Lfsr;a()V
-
setWorldName
- Mappings:
Namespace Name Mixin selector named setWorldName
Lnet/minecraft/client/gui/screen/world/WorldCreator;setWorldName(Ljava/lang/String;)V
intermediary method_48710
Lnet/minecraft/class_8100;method_48710(Ljava/lang/String;)V
official a
Lfsr;a(Ljava/lang/String;)V
-
toDirectoryName
- Mappings:
Namespace Name Mixin selector named toDirectoryName
Lnet/minecraft/client/gui/screen/world/WorldCreator;toDirectoryName(Ljava/lang/String;)Ljava/lang/String;
intermediary method_49704
Lnet/minecraft/class_8100;method_49704(Ljava/lang/String;)Ljava/lang/String;
official c
Lfsr;c(Ljava/lang/String;)Ljava/lang/String;
-
getWorldName
- Mappings:
Namespace Name Mixin selector named getWorldName
Lnet/minecraft/client/gui/screen/world/WorldCreator;getWorldName()Ljava/lang/String;
intermediary method_48715
Lnet/minecraft/class_8100;method_48715()Ljava/lang/String;
official b
Lfsr;b()Ljava/lang/String;
-
getWorldDirectoryName
- Mappings:
Namespace Name Mixin selector named getWorldDirectoryName
Lnet/minecraft/client/gui/screen/world/WorldCreator;getWorldDirectoryName()Ljava/lang/String;
intermediary method_49703
Lnet/minecraft/class_8100;method_49703()Ljava/lang/String;
official c
Lfsr;c()Ljava/lang/String;
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameMode
Lnet/minecraft/client/gui/screen/world/WorldCreator;setGameMode(Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;)V
intermediary method_48704
Lnet/minecraft/class_8100;method_48704(Lnet/minecraft/class_8100$class_4539;)V
official a
Lfsr;a(Lfsr$a;)V
-
getGameMode
- Mappings:
Namespace Name Mixin selector named getGameMode
Lnet/minecraft/client/gui/screen/world/WorldCreator;getGameMode()Lnet/minecraft/client/gui/screen/world/WorldCreator$Mode;
intermediary method_48721
Lnet/minecraft/class_8100;method_48721()Lnet/minecraft/class_8100$class_4539;
official d
Lfsr;d()Lfsr$a;
-
setDifficulty
- Mappings:
Namespace Name Mixin selector named setDifficulty
Lnet/minecraft/client/gui/screen/world/WorldCreator;setDifficulty(Lnet/minecraft/world/Difficulty;)V
intermediary method_48696
Lnet/minecraft/class_8100;method_48696(Lnet/minecraft/class_1267;)V
official a
Lfsr;a(Lbqe;)V
-
getDifficulty
- Mappings:
Namespace Name Mixin selector named getDifficulty
Lnet/minecraft/client/gui/screen/world/WorldCreator;getDifficulty()Lnet/minecraft/world/Difficulty;
intermediary method_48722
Lnet/minecraft/class_8100;method_48722()Lnet/minecraft/class_1267;
official e
Lfsr;e()Lbqe;
-
isHardcore
public boolean isHardcore()- Mappings:
Namespace Name Mixin selector named isHardcore
Lnet/minecraft/client/gui/screen/world/WorldCreator;isHardcore()Z
intermediary method_48723
Lnet/minecraft/class_8100;method_48723()Z
official f
Lfsr;f()Z
-
setCheatsEnabled
public void setCheatsEnabled(boolean cheatsEnabled) - Mappings:
Namespace Name Mixin selector named setCheatsEnabled
Lnet/minecraft/client/gui/screen/world/WorldCreator;setCheatsEnabled(Z)V
intermediary method_48713
Lnet/minecraft/class_8100;method_48713(Z)V
official a
Lfsr;a(Z)V
-
areCheatsEnabled
public boolean areCheatsEnabled()- Mappings:
Namespace Name Mixin selector named areCheatsEnabled
Lnet/minecraft/client/gui/screen/world/WorldCreator;areCheatsEnabled()Z
intermediary method_48724
Lnet/minecraft/class_8100;method_48724()Z
official g
Lfsr;g()Z
-
setSeed
- Mappings:
Namespace Name Mixin selector named setSeed
Lnet/minecraft/client/gui/screen/world/WorldCreator;setSeed(Ljava/lang/String;)V
intermediary method_48716
Lnet/minecraft/class_8100;method_48716(Ljava/lang/String;)V
official b
Lfsr;b(Ljava/lang/String;)V
-
getSeed
- Mappings:
Namespace Name Mixin selector named getSeed
Lnet/minecraft/client/gui/screen/world/WorldCreator;getSeed()Ljava/lang/String;
intermediary method_48725
Lnet/minecraft/class_8100;method_48725()Ljava/lang/String;
official h
Lfsr;h()Ljava/lang/String;
-
setGenerateStructures
public void setGenerateStructures(boolean generateStructures) - Mappings:
Namespace Name Mixin selector named setGenerateStructures
Lnet/minecraft/client/gui/screen/world/WorldCreator;setGenerateStructures(Z)V
intermediary method_48717
Lnet/minecraft/class_8100;method_48717(Z)V
official b
Lfsr;b(Z)V
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Mappings:
Namespace Name Mixin selector named shouldGenerateStructures
Lnet/minecraft/client/gui/screen/world/WorldCreator;shouldGenerateStructures()Z
intermediary method_48726
Lnet/minecraft/class_8100;method_48726()Z
official i
Lfsr;i()Z
-
setBonusChestEnabled
public void setBonusChestEnabled(boolean bonusChestEnabled) - Mappings:
Namespace Name Mixin selector named setBonusChestEnabled
Lnet/minecraft/client/gui/screen/world/WorldCreator;setBonusChestEnabled(Z)V
intermediary method_48720
Lnet/minecraft/class_8100;method_48720(Z)V
official c
Lfsr;c(Z)V
-
isBonusChestEnabled
public boolean isBonusChestEnabled()- Mappings:
Namespace Name Mixin selector named isBonusChestEnabled
Lnet/minecraft/client/gui/screen/world/WorldCreator;isBonusChestEnabled()Z
intermediary method_48727
Lnet/minecraft/class_8100;method_48727()Z
official j
Lfsr;j()Z
-
setGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector named setGeneratorOptionsHolder
Lnet/minecraft/client/gui/screen/world/WorldCreator;setGeneratorOptionsHolder(Lnet/minecraft/client/world/GeneratorOptionsHolder;)V
intermediary method_48701
Lnet/minecraft/class_8100;method_48701(Lnet/minecraft/class_7193;)V
official a
Lfsr;a(Lfsq;)V
-
getGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector named getGeneratorOptionsHolder
Lnet/minecraft/client/gui/screen/world/WorldCreator;getGeneratorOptionsHolder()Lnet/minecraft/client/world/GeneratorOptionsHolder;
intermediary method_48728
Lnet/minecraft/class_8100;method_48728()Lnet/minecraft/class_7193;
official k
Lfsr;k()Lfsq;
-
applyModifier
- Mappings:
Namespace Name Mixin selector named applyModifier
Lnet/minecraft/client/gui/screen/world/WorldCreator;applyModifier(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)V
intermediary method_48700
Lnet/minecraft/class_8100;method_48700(Lnet/minecraft/class_7193$class_7195;)V
official a
Lfsr;a(Lfsq$a;)V
-
updateDataConfiguration
- Mappings:
Namespace Name Mixin selector named updateDataConfiguration
Lnet/minecraft/client/gui/screen/world/WorldCreator;updateDataConfiguration(Lnet/minecraft/resource/DataConfiguration;)Z
intermediary method_48698
Lnet/minecraft/class_8100;method_48698(Lnet/minecraft/class_7712;)Z
official a
Lfsr;a(Lddb;)Z
-
isDebug
public boolean isDebug()- Mappings:
Namespace Name Mixin selector named isDebug
Lnet/minecraft/client/gui/screen/world/WorldCreator;isDebug()Z
intermediary method_48729
Lnet/minecraft/class_8100;method_48729()Z
official l
Lfsr;l()Z
-
setWorldType
- Mappings:
Namespace Name Mixin selector named setWorldType
Lnet/minecraft/client/gui/screen/world/WorldCreator;setWorldType(Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;)V
intermediary method_48705
Lnet/minecraft/class_8100;method_48705(Lnet/minecraft/class_8100$class_8101;)V
official a
Lfsr;a(Lfsr$b;)V
-
getWorldType
- Mappings:
Namespace Name Mixin selector named getWorldType
Lnet/minecraft/client/gui/screen/world/WorldCreator;getWorldType()Lnet/minecraft/client/gui/screen/world/WorldCreator$WorldType;
intermediary method_48730
Lnet/minecraft/class_8100;method_48730()Lnet/minecraft/class_8100$class_8101;
official m
Lfsr;m()Lfsr$b;
-
getLevelScreenProvider
- Mappings:
Namespace Name Mixin selector named getLevelScreenProvider
Lnet/minecraft/client/gui/screen/world/WorldCreator;getLevelScreenProvider()Lnet/minecraft/client/gui/screen/world/LevelScreenProvider;
intermediary method_48731
Lnet/minecraft/class_8100;method_48731()Lnet/minecraft/class_5293;
official n
Lfsr;n()Lfsn;
-
getNormalWorldTypes
- Mappings:
Namespace Name Mixin selector named getNormalWorldTypes
Lnet/minecraft/client/gui/screen/world/WorldCreator;getNormalWorldTypes()Ljava/util/List;
intermediary method_48732
Lnet/minecraft/class_8100;method_48732()Ljava/util/List;
official o
Lfsr;o()Ljava/util/List;
-
getExtendedWorldTypes
- Mappings:
Namespace Name Mixin selector named getExtendedWorldTypes
Lnet/minecraft/client/gui/screen/world/WorldCreator;getExtendedWorldTypes()Ljava/util/List;
intermediary method_48733
Lnet/minecraft/class_8100;method_48733()Ljava/util/List;
official p
Lfsr;p()Ljava/util/List;
-
updateWorldTypeLists
private void updateWorldTypeLists()- Mappings:
Namespace Name Mixin selector named updateWorldTypeLists
Lnet/minecraft/client/gui/screen/world/WorldCreator;updateWorldTypeLists()V
intermediary method_48735
Lnet/minecraft/class_8100;method_48735()V
official r
Lfsr;r()V
-
getWorldPreset
private static Optional<RegistryEntry<WorldPreset>> getWorldPreset(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> key) - Mappings:
Namespace Name Mixin selector named getWorldPreset
Lnet/minecraft/client/gui/screen/world/WorldCreator;getWorldPreset(Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;)Ljava/util/Optional;
intermediary method_48703
Lnet/minecraft/class_8100;method_48703(Lnet/minecraft/class_7193;Ljava/util/Optional;)Ljava/util/Optional;
official a
Lfsr;a(Lfsq;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 getWorldPresetList
Lnet/minecraft/client/gui/screen/world/WorldCreator;getWorldPresetList(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
intermediary method_48709
Lnet/minecraft/class_8100;method_48709(Lnet/minecraft/class_2378;Lnet/minecraft/class_6862;)Ljava/util/Optional;
official a
Lfsr;a(Ljw;Lawm;)Ljava/util/Optional;
-
setGameRules
- Mappings:
Namespace Name Mixin selector named setGameRules
Lnet/minecraft/client/gui/screen/world/WorldCreator;setGameRules(Lnet/minecraft/world/GameRules;)V
intermediary method_48697
Lnet/minecraft/class_8100;method_48697(Lnet/minecraft/class_1928;)V
official a
Lfsr;a(Ldcc;)V
-
getGameRules
- Mappings:
Namespace Name Mixin selector named getGameRules
Lnet/minecraft/client/gui/screen/world/WorldCreator;getGameRules()Lnet/minecraft/world/GameRules;
intermediary method_48734
Lnet/minecraft/class_8100;method_48734()Lnet/minecraft/class_1928;
official q
Lfsr;q()Ldcc;
-