Package net.minecraft.world
Interface SaveProperties
- All Known Implementing Classes:
LevelProperties
public interface SaveProperties
- Mappings:
Namespace Name official diiintermediary net/minecraft/class_5219named net/minecraft/world/SaveProperties
-
Field Summary
Fields -
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 crashReportSection)voidvoidsetDifficulty(Difficulty difficulty)voidsetDifficultyLocked(boolean locked)voidsetDragonFight(NbtCompound nbt)voidsetGameMode(GameMode gameMode)voidupdateLevelInfo(DataPackSettings dataPackSettings)
-
Field Details
-
ANVIL_FORMAT_ID
static final int ANVIL_FORMAT_ID- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLdii;b: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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLdii;c: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 DLdii;D()Lbwc;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 aLdii;a(Lbwc;)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 FLdii;F()Zintermediary method_27431Lnet/minecraft/class_5219;method_27431()Znamed isModdedLnet/minecraft/world/SaveProperties;isModded()Z
-
getServerBrands
- Mappings:
Namespace Name Mixin selector official GLdii;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 aLdii;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 aLdii;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 iLdii;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 ELdii;E()Lna;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 bLdii;b(Lna;)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 HLdii;H()Ldih;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 ILdii;I()Lbwt;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 aLdii;a(Lgx;Lna;)Lna;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 nLdii;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 zLdii;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 gLdii;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 mLdii;m()Lbwm;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 aLdii;a(Lbwm;)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 oLdii;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 sLdii;s()Larx;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 aLdii;a(Larx;)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 tLdii;t()Zintermediary method_197Lnet/minecraft/class_5219;method_197()Znamed isDifficultyLockedLnet/minecraft/world/SaveProperties;isDifficultyLocked()Z
-
setDifficultyLocked
void setDifficultyLocked(boolean locked)- Mappings:
Namespace Name Mixin selector official dLdii;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 qLdii;q()Lbwl;intermediary method_146Lnet/minecraft/class_5219;method_146()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/world/SaveProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getPlayerData
NbtCompound getPlayerData()- Mappings:
Namespace Name Mixin selector official yLdii;y()Lna;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 CLdii;C()Lna;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 aLdii;a(Lna;)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 ALdii;A()Lcqk;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 BLdii;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;
-