Package net.minecraft.world
Interface SaveProperties
- All Known Implementing Classes:
LevelProperties
public interface SaveProperties
- Mappings:
Namespace Name named net/minecraft/world/SavePropertiesintermediary net/minecraft/class_5219official fem
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidaddServerBrand(String brand, boolean modded) booleancloneWorldNbt(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) default FeatureSetdefault StringgetFormatName(int id) com.mojang.serialization.LifecycleintbooleanbooleanbooleanbooleanbooleanisModded()method_70218(Random random) booleanmethod_70219(class_11105 class_11105) voidmethod_70220(class_11109 class_11109) voidmethod_70221(Optional<class_11105> optional, boolean bool) voidmethod_70222(class_11105 class_11105) booleanmethod_70223(class_11109 class_11109) voidmethod_70224(int int2) intintvoidmethod_70234(RegistryEntry<DimensionType> registryEntry) default voidpopulateCrashReport(CrashReportSection section) voidsetCustomBossEvents(@Nullable NbtCompound customBossEvents) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetDragonFight(EnderDragonFight.Data dragonFight) voidsetGameMode(GameMode gameMode) voidupdateLevelInfo(DataConfiguration dataConfiguration)
-
Field Details
-
ANVIL_FORMAT_ID
static final int ANVIL_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named ANVIL_FORMAT_IDLnet/minecraft/world/SaveProperties;ANVIL_FORMAT_ID:Iintermediary field_31844Lnet/minecraft/class_5219;field_31844:Iofficial eLfem;e:I
-
MCREGION_FORMAT_ID
static final int MCREGION_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named MCREGION_FORMAT_IDLnet/minecraft/world/SaveProperties;MCREGION_FORMAT_ID:Iintermediary field_31845Lnet/minecraft/class_5219;field_31845:Iofficial fLfem;f:I
-
-
Method Details
-
getDataConfiguration
DataConfiguration getDataConfiguration()- Mappings:
Namespace Name Mixin selector named getDataConfigurationLnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;intermediary method_29589Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;official KLfem;K()Ldnx;
-
updateLevelInfo
- Mappings:
Namespace Name Mixin selector named updateLevelInfoLnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataConfiguration;)Vintermediary method_29590Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_7712;)Vofficial aLfem;a(Ldnx;)V
-
isModded
boolean isModded()- Mappings:
Namespace Name Mixin selector named isModdedLnet/minecraft/world/SaveProperties;isModded()Zintermediary method_27431Lnet/minecraft/class_5219;method_27431()Zofficial MLfem;M()Z
-
getServerBrands
- Mappings:
Namespace Name Mixin selector named getServerBrandsLnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;intermediary method_27432Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;official NLfem;N()Ljava/util/Set;
-
getRemovedFeatures
- Mappings:
Namespace Name Mixin selector named getRemovedFeaturesLnet/minecraft/world/SaveProperties;getRemovedFeatures()Ljava/util/Set;intermediary method_49900Lnet/minecraft/class_5219;method_49900()Ljava/util/Set;official OLfem;O()Ljava/util/Set;
-
addServerBrand
- Mappings:
Namespace Name Mixin selector named addServerBrandLnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)Vintermediary method_24285Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)Vofficial aLfem;a(Ljava/lang/String;Z)V
-
populateCrashReport
- Mappings:
Namespace Name Mixin selector named populateCrashReportLnet/minecraft/world/SaveProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)Vintermediary method_151Lnet/minecraft/class_5219;method_151(Lnet/minecraft/class_129;)Vofficial aLfem;a(Lq;)V
-
getFormatName
- Mappings:
Namespace Name Mixin selector named getFormatNameLnet/minecraft/world/SaveProperties;getFormatName(I)Ljava/lang/String;intermediary method_27440Lnet/minecraft/class_5219;method_27440(I)Ljava/lang/String;official hLfem;h(I)Ljava/lang/String;
-
getCustomBossEvents
- Mappings:
Namespace Name Mixin selector named getCustomBossEventsLnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/NbtCompound;intermediary method_228Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;official LLfem;L()Luc;
-
setCustomBossEvents
- Mappings:
Namespace Name Mixin selector named setCustomBossEventsLnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_221Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)Vofficial aLfem;a(Luc;)V
-
getMainWorldProperties
ServerWorldProperties getMainWorldProperties()- Mappings:
Namespace Name Mixin selector named getMainWorldPropertiesLnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;intermediary method_27859Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;official PLfem;P()Lfel;
-
getLevelInfo
LevelInfo getLevelInfo()- Mappings:
Namespace Name Mixin selector named getLevelInfoLnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;intermediary method_27433Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;official QLfem;Q()Ldnc;
-
cloneWorldNbt
NbtCompound cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable @Nullable NbtCompound playerNbt) - Mappings:
Namespace Name Mixin selector named cloneWorldNbtLnet/minecraft/world/SaveProperties;cloneWorldNbt(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;intermediary method_163Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;official aLfem;a(Ljv;Luc;)Luc;
-
isHardcore
boolean isHardcore()- Mappings:
Namespace Name Mixin selector named isHardcoreLnet/minecraft/world/SaveProperties;isHardcore()Zintermediary method_152Lnet/minecraft/class_5219;method_152()Zofficial lLfem;l()Z
-
getVersion
int getVersion()- Mappings:
Namespace Name Mixin selector named getVersionLnet/minecraft/world/SaveProperties;getVersion()Iintermediary method_168Lnet/minecraft/class_5219;method_168()Iofficial BLfem;B()I
-
getLevelName
String getLevelName()- Mappings:
Namespace Name Mixin selector named getLevelNameLnet/minecraft/world/SaveProperties;getLevelName()Ljava/lang/String;intermediary method_150Lnet/minecraft/class_5219;method_150()Ljava/lang/String;official eLfem;e()Ljava/lang/String;
-
getGameMode
GameMode getGameMode()- Mappings:
Namespace Name Mixin selector named getGameModeLnet/minecraft/world/SaveProperties;getGameMode()Lnet/minecraft/world/GameMode;intermediary method_210Lnet/minecraft/class_5219;method_210()Lnet/minecraft/class_1934;official kLfem;k()Ldmv;
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameModeLnet/minecraft/world/SaveProperties;setGameMode(Lnet/minecraft/world/GameMode;)Vintermediary method_193Lnet/minecraft/class_5219;method_193(Lnet/minecraft/class_1934;)Vofficial aLfem;a(Ldmv;)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector named areCommandsAllowedLnet/minecraft/world/SaveProperties;areCommandsAllowed()Zintermediary method_194Lnet/minecraft/class_5219;method_194()Zofficial mLfem;m()Z
-
getDifficulty
Difficulty getDifficulty()- Mappings:
Namespace Name Mixin selector named getDifficultyLnet/minecraft/world/SaveProperties;getDifficulty()Lnet/minecraft/world/Difficulty;intermediary method_207Lnet/minecraft/class_5219;method_207()Lnet/minecraft/class_1267;official sLfem;s()Lbvy;
-
setDifficulty
- Mappings:
Namespace Name Mixin selector named setDifficultyLnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)Vintermediary method_208Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)Vofficial aLfem;a(Lbvy;)V
-
isDifficultyLocked
boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector named isDifficultyLockedLnet/minecraft/world/SaveProperties;isDifficultyLocked()Zintermediary method_197Lnet/minecraft/class_5219;method_197()Zofficial tLfem;t()Z
-
setDifficultyLocked
void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector named setDifficultyLockedLnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)Vintermediary method_186Lnet/minecraft/class_5219;method_186(Z)Vofficial dLfem;d(Z)V
-
getGameRules
GameRules getGameRules()- Mappings:
Namespace Name Mixin selector named getGameRulesLnet/minecraft/world/SaveProperties;getGameRules()Lnet/minecraft/world/GameRules;intermediary method_146Lnet/minecraft/class_5219;method_146()Lnet/minecraft/class_1928;official oLfem;o()Ldmu;
-
getPlayerData
- Mappings:
Namespace Name Mixin selector named getPlayerDataLnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;intermediary method_226Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;official ALfem;A()Luc;
-
getDragonFight
EnderDragonFight.Data getDragonFight()- Mappings:
Namespace Name Mixin selector named getDragonFightLnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;intermediary method_29036Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2881$class_8576;official JLfem;J()Leiu$a;
-
setDragonFight
- Mappings:
Namespace Name Mixin selector named setDragonFightLnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;)Vintermediary method_29037Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2881$class_8576;)Vofficial aLfem;a(Leiu$a;)V
-
getGeneratorOptions
GeneratorOptions getGeneratorOptions()- Mappings:
Namespace Name Mixin selector named getGeneratorOptionsLnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;intermediary method_28057Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;official FLfem;F()Lels;
-
isFlatWorld
boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector named isFlatWorldLnet/minecraft/world/SaveProperties;isFlatWorld()Zintermediary method_45555Lnet/minecraft/class_5219;method_45555()Zofficial GLfem;G()Z
-
isDebugWorld
boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector named isDebugWorldLnet/minecraft/world/SaveProperties;isDebugWorld()Zintermediary method_45556Lnet/minecraft/class_5219;method_45556()Zofficial HLfem;H()Z
-
getLifecycle
com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector named getLifecycleLnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;intermediary method_29588Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;official ILfem;I()Lcom/mojang/serialization/Lifecycle;
-
getEnabledFeatures
- Mappings:
Namespace Name Mixin selector named getEnabledFeaturesLnet/minecraft/world/SaveProperties;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;intermediary method_45560Lnet/minecraft/class_5219;method_45560()Lnet/minecraft/class_7699;official RLfem;R()Lcxp;
-
method_70220
- Mappings:
Namespace Name Mixin selector named method_70220Lnet/minecraft/world/SaveProperties;method_70220(Lnet/minecraft/class_11109;)Vintermediary method_70220Lnet/minecraft/class_5219;method_70220(Lnet/minecraft/class_11109;)Vofficial aLfem;a(Lfca;)V
-
method_70223
- Mappings:
Namespace Name Mixin selector named method_70223Lnet/minecraft/world/SaveProperties;method_70223(Lnet/minecraft/class_11109;)Zintermediary method_70223Lnet/minecraft/class_5219;method_70223(Lnet/minecraft/class_11109;)Zofficial bLfem;b(Lfca;)Z
-
method_70231
Optional<RegistryEntry<DimensionType>> method_70231()- Mappings:
Namespace Name Mixin selector named method_70231Lnet/minecraft/world/SaveProperties;method_70231()Ljava/util/Optional;intermediary method_70231Lnet/minecraft/class_5219;method_70231()Ljava/util/Optional;official DLfem;D()Ljava/util/Optional;
-
method_70234
- Mappings:
Namespace Name Mixin selector named method_70234Lnet/minecraft/world/SaveProperties;method_70234(Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_70234Lnet/minecraft/class_5219;method_70234(Lnet/minecraft/class_6880;)Vofficial aLfem;a(Ljh;)V
-
method_70230
Iterable<class_11109> method_70230()- Mappings:
Namespace Name Mixin selector named method_70230Lnet/minecraft/world/SaveProperties;method_70230()Ljava/lang/Iterable;intermediary method_70230Lnet/minecraft/class_5219;method_70230()Ljava/lang/Iterable;official CLfem;C()Ljava/lang/Iterable;
-
method_70219
- Mappings:
Namespace Name Mixin selector named method_70219Lnet/minecraft/world/SaveProperties;method_70219(Lnet/minecraft/class_11105;)Zintermediary method_70219Lnet/minecraft/class_5219;method_70219(Lnet/minecraft/class_11105;)Zofficial aLfem;a(Lfbx;)Z
-
method_70222
- Mappings:
Namespace Name Mixin selector named method_70222Lnet/minecraft/world/SaveProperties;method_70222(Lnet/minecraft/class_11105;)Vintermediary method_70222Lnet/minecraft/class_5219;method_70222(Lnet/minecraft/class_11105;)Vofficial bLfem;b(Lfbx;)V
-
method_70221
- Mappings:
Namespace Name Mixin selector named method_70221Lnet/minecraft/world/SaveProperties;method_70221(Ljava/util/Optional;Z)Vintermediary method_70221Lnet/minecraft/class_5219;method_70221(Ljava/util/Optional;Z)Vofficial aLfem;a(Ljava/util/Optional;Z)V
-
method_70218
- Mappings:
Namespace Name Mixin selector named method_70218Lnet/minecraft/world/SaveProperties;method_70218(Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;intermediary method_70218Lnet/minecraft/class_5219;method_70218(Lnet/minecraft/class_5819;)Ljava/util/Optional;official aLfem;a(Lbbg;)Ljava/util/Optional;
-
method_70227
int method_70227()- Mappings:
Namespace Name Mixin selector named method_70227Lnet/minecraft/world/SaveProperties;method_70227()Iintermediary method_70227Lnet/minecraft/class_5219;method_70227()Iofficial uLfem;u()I
-
method_70228
int method_70228()- Mappings:
Namespace Name Mixin selector named method_70228Lnet/minecraft/world/SaveProperties;method_70228()Iintermediary method_70228Lnet/minecraft/class_5219;method_70228()Iofficial vLfem;v()I
-
method_70224
void method_70224(int int2) - Mappings:
Namespace Name Mixin selector named method_70224Lnet/minecraft/world/SaveProperties;method_70224(I)Vintermediary method_70224Lnet/minecraft/class_5219;method_70224(I)Vofficial dLfem;d(I)V
-
method_70232
Map<RegistryKey<World>,class_11101> method_70232()- Mappings:
Namespace Name Mixin selector named method_70232Lnet/minecraft/world/SaveProperties;method_70232()Ljava/util/Map;intermediary method_70232Lnet/minecraft/class_5219;method_70232()Ljava/util/Map;official ELfem;E()Ljava/util/Map;
-