Package net.minecraft.world
Interface SaveProperties
- All Known Implementing Classes:
LevelProperties
public interface SaveProperties
- Mappings:
Namespace Name official dqzintermediary 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 StringgetFormatName(int id) com.mojang.serialization.LifecycleintbooleanbooleanbooleanisModded()default voidpopulateCrashReport(CrashReportSection section) voidsetCustomBossEvents(@Nullable NbtCompound customBossEvents) voidsetDifficulty(Difficulty difficulty) voidsetDifficultyLocked(boolean difficultyLocked) voidsetDragonFight(NbtCompound dragonFight) voidsetGameMode(GameMode gameMode) voidupdateLevelInfo(DataPackSettings dataPackSettings)
-
Field Details
-
ANVIL_FORMAT_ID
static final int ANVIL_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector official cLdqz;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 dLdqz;d:Iintermediary field_31845Lnet/minecraft/class_5219;field_31845:Inamed MCREGION_FORMAT_IDLnet/minecraft/world/SaveProperties;MCREGION_FORMAT_ID:I
-
-
Method Details
-
getDataPackSettings
DataPackSettings getDataPackSettings()- Mappings:
Namespace Name Mixin selector official DLdqz;D()Lcfo;intermediary method_29589Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_5359;named getDataPackSettingsLnet/minecraft/world/SaveProperties;getDataPackSettings()Lnet/minecraft/resource/DataPackSettings;
-
updateLevelInfo
- Mappings:
Namespace Name Mixin selector official aLdqz;a(Lcfo;)Vintermediary method_29590Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_5359;)Vnamed updateLevelInfoLnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataPackSettings;)V
-
isModded
boolean isModded()- Mappings:
Namespace Name Mixin selector official FLdqz;F()Zintermediary method_27431Lnet/minecraft/class_5219;method_27431()Znamed isModdedLnet/minecraft/world/SaveProperties;isModded()Z
-
getServerBrands
- Mappings:
Namespace Name Mixin selector official GLdqz;G()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 aLdqz;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 aLdqz;a(Lr;)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 iLdqz;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 ELdqz;E()Lpj;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 bLdqz;b(Lpj;)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 HLdqz;H()Ldqy;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 ILdqz;I()Lcge;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 aLdqz;a(Lhn;Lpj;)Lpj;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/util/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
isHardcore
boolean isHardcore()- Mappings:
Namespace Name Mixin selector official nLdqz;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 zLdqz;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 gLdqz;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 mLdqz;m()Lcfx;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 aLdqz;a(Lcfx;)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 oLdqz;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 sLdqz;s()Lazj;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 aLdqz;a(Lazj;)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 tLdqz;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 dLdqz;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 qLdqz;q()Lcfw;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 yLdqz;y()Lpj;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 CLdqz;C()Lpj;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 aLdqz;a(Lpj;)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 ALdqz;A()Ldap;intermediary method_28057Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;named getGeneratorOptionsLnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
-
getLifecycle
com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector official BLdqz;B()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;
-