Package net.minecraft.world
Interface SaveProperties
- All Known Implementing Classes:
LevelProperties
public interface SaveProperties
- Mappings:
Namespace Name official dwsintermediary net/minecraft/class_5219named net/minecraft/world/SaveProperties
-
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()default voidpopulateCrashReport(CrashReportSection section) voidsetCustomBossEvents(@Nullable NbtCompound customBossEvents) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetDragonFight(NbtCompound 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 official cLdws;c:Iintermediary field_31844Lnet/minecraft/class_5219;field_31844:Inamed ANVIL_FORMAT_IDLnet/minecraft/world/SaveProperties;ANVIL_FORMAT_ID:I
-
MCREGION_FORMAT_ID
static final int MCREGION_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector official dLdws;d:Iintermediary field_31845Lnet/minecraft/class_5219;field_31845:Inamed MCREGION_FORMAT_IDLnet/minecraft/world/SaveProperties;MCREGION_FORMAT_ID:I
-
-
Method Details
-
getDataConfiguration
DataConfiguration getDataConfiguration()- Mappings:
Namespace Name Mixin selector official FLdws;F()Lclw;intermediary method_29589Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;named getDataConfigurationLnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;
-
updateLevelInfo
- Mappings:
Namespace Name Mixin selector official aLdws;a(Lclw;)Vintermediary method_29590Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_7712;)Vnamed updateLevelInfoLnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataConfiguration;)V
-
isModded
boolean isModded()- Mappings:
Namespace Name Mixin selector official HLdws;H()Zintermediary method_27431Lnet/minecraft/class_5219;method_27431()Znamed isModdedLnet/minecraft/world/SaveProperties;isModded()Z
-
getServerBrands
- Mappings:
Namespace Name Mixin selector official ILdws;I()Ljava/util/Set;intermediary method_27432Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;named getServerBrandsLnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
-
addServerBrand
- Mappings:
Namespace Name Mixin selector official aLdws;a(Ljava/lang/String;Z)Vintermediary method_24285Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)Vnamed addServerBrandLnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)V
-
populateCrashReport
- Mappings:
Namespace Name Mixin selector official aLdws;a(Lo;)Vintermediary method_151Lnet/minecraft/class_5219;method_151(Lnet/minecraft/class_129;)Vnamed populateCrashReportLnet/minecraft/world/SaveProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
-
getFormatName
- Mappings:
Namespace Name Mixin selector official iLdws;i(I)Ljava/lang/String;intermediary method_27440Lnet/minecraft/class_5219;method_27440(I)Ljava/lang/String;named getFormatNameLnet/minecraft/world/SaveProperties;getFormatName(I)Ljava/lang/String;
-
getCustomBossEvents
- Mappings:
Namespace Name Mixin selector official GLdws;G()Lqv;intermediary method_228Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;named getCustomBossEventsLnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/NbtCompound;
-
setCustomBossEvents
- Mappings:
Namespace Name Mixin selector official bLdws;b(Lqv;)Vintermediary method_221Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)Vnamed setCustomBossEventsLnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/NbtCompound;)V
-
getMainWorldProperties
ServerWorldProperties getMainWorldProperties()- Mappings:
Namespace Name Mixin selector official JLdws;J()Ldwr;intermediary method_27859Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;named getMainWorldPropertiesLnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
-
getLevelInfo
LevelInfo getLevelInfo()- Mappings:
Namespace Name Mixin selector official KLdws;K()Lcli;intermediary method_27433Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;named getLevelInfoLnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
-
cloneWorldNbt
NbtCompound cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable @Nullable NbtCompound playerNbt) - Mappings:
Namespace Name Mixin selector official aLdws;a(Lhn;Lqv;)Lqv;intermediary method_163Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named cloneWorldNbtLnet/minecraft/world/SaveProperties;cloneWorldNbt(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
isHardcore
boolean isHardcore()- Mappings:
Namespace Name Mixin selector official nLdws;n()Zintermediary method_152Lnet/minecraft/class_5219;method_152()Znamed isHardcoreLnet/minecraft/world/SaveProperties;isHardcore()Z
-
getVersion
int getVersion()- Mappings:
Namespace Name Mixin selector official zLdws;z()Iintermediary method_168Lnet/minecraft/class_5219;method_168()Inamed getVersionLnet/minecraft/world/SaveProperties;getVersion()I
-
getLevelName
String getLevelName()- Mappings:
Namespace Name Mixin selector official gLdws;g()Ljava/lang/String;intermediary method_150Lnet/minecraft/class_5219;method_150()Ljava/lang/String;named getLevelNameLnet/minecraft/world/SaveProperties;getLevelName()Ljava/lang/String;
-
getGameMode
GameMode getGameMode()- Mappings:
Namespace Name Mixin selector official mLdws;m()Lclb;intermediary method_210Lnet/minecraft/class_5219;method_210()Lnet/minecraft/class_1934;named getGameModeLnet/minecraft/world/SaveProperties;getGameMode()Lnet/minecraft/world/GameMode;
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLdws;a(Lclb;)Vintermediary method_193Lnet/minecraft/class_5219;method_193(Lnet/minecraft/class_1934;)Vnamed setGameModeLnet/minecraft/world/SaveProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector official oLdws;o()Zintermediary method_194Lnet/minecraft/class_5219;method_194()Znamed areCommandsAllowedLnet/minecraft/world/SaveProperties;areCommandsAllowed()Z
-
getDifficulty
Difficulty getDifficulty()- Mappings:
Namespace Name Mixin selector official sLdws;s()Lbdd;intermediary method_207Lnet/minecraft/class_5219;method_207()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/world/SaveProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
setDifficulty
- Mappings:
Namespace Name Mixin selector official aLdws;a(Lbdd;)Vintermediary method_208Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)Vnamed setDifficultyLnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
isDifficultyLocked
boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector official tLdws;t()Zintermediary method_197Lnet/minecraft/class_5219;method_197()Znamed isDifficultyLockedLnet/minecraft/world/SaveProperties;isDifficultyLocked()Z
-
setDifficultyLocked
void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector official dLdws;d(Z)Vintermediary method_186Lnet/minecraft/class_5219;method_186(Z)Vnamed setDifficultyLockedLnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)V
-
getGameRules
GameRules getGameRules()- Mappings:
Namespace Name Mixin selector official qLdws;q()Lcla;intermediary method_146Lnet/minecraft/class_5219;method_146()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/world/SaveProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getPlayerData
- Mappings:
Namespace Name Mixin selector official yLdws;y()Lqv;intermediary method_226Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;named getPlayerDataLnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;
-
getDragonFight
NbtCompound getDragonFight()- Mappings:
Namespace Name Mixin selector official ELdws;E()Lqv;intermediary method_29036Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2487;named getDragonFightLnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/nbt/NbtCompound;
-
setDragonFight
- Mappings:
Namespace Name Mixin selector official aLdws;a(Lqv;)Vintermediary method_29037Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2487;)Vnamed setDragonFightLnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/nbt/NbtCompound;)V
-
getGeneratorOptions
GeneratorOptions getGeneratorOptions()- Mappings:
Namespace Name Mixin selector official ALdws;A()Ldgh;intermediary method_28057Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;named getGeneratorOptionsLnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
-
isFlatWorld
boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector official BLdws;B()Zintermediary method_45555Lnet/minecraft/class_5219;method_45555()Znamed isFlatWorldLnet/minecraft/world/SaveProperties;isFlatWorld()Z
-
isDebugWorld
boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official CLdws;C()Zintermediary method_45556Lnet/minecraft/class_5219;method_45556()Znamed isDebugWorldLnet/minecraft/world/SaveProperties;isDebugWorld()Z
-
getLifecycle
com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector official DLdws;D()Lcom/mojang/serialization/Lifecycle;intermediary method_29588Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;named getLifecycleLnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;
-
getEnabledFeatures
- Mappings:
Namespace Name Mixin selector official LLdws;L()Lbzt;intermediary method_45560Lnet/minecraft/class_5219;method_45560()Lnet/minecraft/class_7699;named getEnabledFeaturesLnet/minecraft/world/SaveProperties;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
-