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 eqe
-
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(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 dLeqe;d: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 eLeqe;e: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 DLeqe;D()Ldcu;
-
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 aLeqe;a(Ldcu;)V
-
isModded
boolean isModded()- Mappings:
Namespace Name Mixin selector named isModdedLnet/minecraft/world/SaveProperties;isModded()Zintermediary method_27431Lnet/minecraft/class_5219;method_27431()Zofficial FLeqe;F()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 GLeqe;G()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 HLeqe;H()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 aLeqe;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 aLeqe;a(Lp;)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 fLeqe;f(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 ELeqe;E()Lus;
-
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 aLeqe;a(Lus;)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 ILeqe;I()Leqd;
-
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 JLeqe;J()Ldce;
-
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 aLeqe;a(Ljw;Lus;)Lus;
-
isHardcore
boolean isHardcore()- Mappings:
Namespace Name Mixin selector named isHardcoreLnet/minecraft/world/SaveProperties;isHardcore()Zintermediary method_152Lnet/minecraft/class_5219;method_152()Zofficial lLeqe;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 xLeqe;x()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 eLeqe;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 kLeqe;k()Ldbx;
-
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 aLeqe;a(Ldbx;)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector named areCommandsAllowedLnet/minecraft/world/SaveProperties;areCommandsAllowed()Zintermediary method_194Lnet/minecraft/class_5219;method_194()Zofficial mLeqe;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 qLeqe;q()Lbqt;
-
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 aLeqe;a(Lbqt;)V
-
isDifficultyLocked
boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector named isDifficultyLockedLnet/minecraft/world/SaveProperties;isDifficultyLocked()Zintermediary method_197Lnet/minecraft/class_5219;method_197()Zofficial rLeqe;r()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 dLeqe;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 oLeqe;o()Ldbw;
-
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 wLeqe;w()Lus;
-
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 CLeqe;C()Ldvz$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 aLeqe;a(Ldvz$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 yLeqe;y()Ldyu;
-
isFlatWorld
boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector named isFlatWorldLnet/minecraft/world/SaveProperties;isFlatWorld()Zintermediary method_45555Lnet/minecraft/class_5219;method_45555()Zofficial zLeqe;z()Z
-
isDebugWorld
boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector named isDebugWorldLnet/minecraft/world/SaveProperties;isDebugWorld()Zintermediary method_45556Lnet/minecraft/class_5219;method_45556()Zofficial ALeqe;A()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 BLeqe;B()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 KLeqe;K()Lcpn;
-