Package net.minecraft.world
Interface SaveProperties
- All Known Implementing Classes:
LevelProperties
public interface SaveProperties
- Mappings:
Namespace Name named net/minecraft/world/SaveProperties
intermediary net/minecraft/class_5219
official erf
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addServerBrand
(String brand, boolean modded) boolean
cloneWorldNbt
(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) default FeatureSet
default String
getFormatName
(int id) com.mojang.serialization.Lifecycle
int
boolean
boolean
boolean
boolean
boolean
isModded()
default void
populateCrashReport
(CrashReportSection section) void
setCustomBossEvents
(@Nullable NbtCompound customBossEvents) void
setDifficulty
(Difficulty difficulty) void
setDifficultyLocked
(boolean difficultyLocked) void
setDragonFight
(EnderDragonFight.Data dragonFight) void
setGameMode
(GameMode gameMode) void
updateLevelInfo
(DataConfiguration dataConfiguration)
-
Field Details
-
ANVIL_FORMAT_ID
static final int ANVIL_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named ANVIL_FORMAT_ID
Lnet/minecraft/world/SaveProperties;ANVIL_FORMAT_ID:I
intermediary field_31844
Lnet/minecraft/class_5219;field_31844:I
official d
Lerf;d:I
-
MCREGION_FORMAT_ID
static final int MCREGION_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named MCREGION_FORMAT_ID
Lnet/minecraft/world/SaveProperties;MCREGION_FORMAT_ID:I
intermediary field_31845
Lnet/minecraft/class_5219;field_31845:I
official e
Lerf;e:I
-
-
Method Details
-
getDataConfiguration
DataConfiguration getDataConfiguration()- Mappings:
Namespace Name Mixin selector named getDataConfiguration
Lnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;
intermediary method_29589
Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;
official D
Lerf;D()Lddp;
-
updateLevelInfo
- Mappings:
Namespace Name Mixin selector named updateLevelInfo
Lnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataConfiguration;)V
intermediary method_29590
Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_7712;)V
official a
Lerf;a(Lddp;)V
-
isModded
boolean isModded()- Mappings:
Namespace Name Mixin selector named isModded
Lnet/minecraft/world/SaveProperties;isModded()Z
intermediary method_27431
Lnet/minecraft/class_5219;method_27431()Z
official F
Lerf;F()Z
-
getServerBrands
- Mappings:
Namespace Name Mixin selector named getServerBrands
Lnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
intermediary method_27432
Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;
official G
Lerf;G()Ljava/util/Set;
-
getRemovedFeatures
- Mappings:
Namespace Name Mixin selector named getRemovedFeatures
Lnet/minecraft/world/SaveProperties;getRemovedFeatures()Ljava/util/Set;
intermediary method_49900
Lnet/minecraft/class_5219;method_49900()Ljava/util/Set;
official H
Lerf;H()Ljava/util/Set;
-
addServerBrand
- Mappings:
Namespace Name Mixin selector named addServerBrand
Lnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)V
intermediary method_24285
Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)V
official a
Lerf;a(Ljava/lang/String;Z)V
-
populateCrashReport
- Mappings:
Namespace Name Mixin selector named populateCrashReport
Lnet/minecraft/world/SaveProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
intermediary method_151
Lnet/minecraft/class_5219;method_151(Lnet/minecraft/class_129;)V
official a
Lerf;a(Lp;)V
-
getFormatName
- Mappings:
Namespace Name Mixin selector named getFormatName
Lnet/minecraft/world/SaveProperties;getFormatName(I)Ljava/lang/String;
intermediary method_27440
Lnet/minecraft/class_5219;method_27440(I)Ljava/lang/String;
official f
Lerf;f(I)Ljava/lang/String;
-
getCustomBossEvents
- Mappings:
Namespace Name Mixin selector named getCustomBossEvents
Lnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/NbtCompound;
intermediary method_228
Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;
official E
Lerf;E()Lua;
-
setCustomBossEvents
- Mappings:
Namespace Name Mixin selector named setCustomBossEvents
Lnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_221
Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)V
official a
Lerf;a(Lua;)V
-
getMainWorldProperties
ServerWorldProperties getMainWorldProperties()- Mappings:
Namespace Name Mixin selector named getMainWorldProperties
Lnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
intermediary method_27859
Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;
official I
Lerf;I()Lere;
-
getLevelInfo
LevelInfo getLevelInfo()- Mappings:
Namespace Name Mixin selector named getLevelInfo
Lnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
intermediary method_27433
Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;
official J
Lerf;J()Ldcy;
-
cloneWorldNbt
NbtCompound cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable @Nullable NbtCompound playerNbt) - Mappings:
Namespace Name Mixin selector named cloneWorldNbt
Lnet/minecraft/world/SaveProperties;cloneWorldNbt(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_163
Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
official a
Lerf;a(Lka;Lua;)Lua;
-
isHardcore
boolean isHardcore()- Mappings:
Namespace Name Mixin selector named isHardcore
Lnet/minecraft/world/SaveProperties;isHardcore()Z
intermediary method_152
Lnet/minecraft/class_5219;method_152()Z
official l
Lerf;l()Z
-
getVersion
int getVersion()- Mappings:
Namespace Name Mixin selector named getVersion
Lnet/minecraft/world/SaveProperties;getVersion()I
intermediary method_168
Lnet/minecraft/class_5219;method_168()I
official x
Lerf;x()I
-
getLevelName
String getLevelName()- Mappings:
Namespace Name Mixin selector named getLevelName
Lnet/minecraft/world/SaveProperties;getLevelName()Ljava/lang/String;
intermediary method_150
Lnet/minecraft/class_5219;method_150()Ljava/lang/String;
official e
Lerf;e()Ljava/lang/String;
-
getGameMode
GameMode getGameMode()- Mappings:
Namespace Name Mixin selector named getGameMode
Lnet/minecraft/world/SaveProperties;getGameMode()Lnet/minecraft/world/GameMode;
intermediary method_210
Lnet/minecraft/class_5219;method_210()Lnet/minecraft/class_1934;
official k
Lerf;k()Ldcr;
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameMode
Lnet/minecraft/world/SaveProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
intermediary method_193
Lnet/minecraft/class_5219;method_193(Lnet/minecraft/class_1934;)V
official a
Lerf;a(Ldcr;)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector named areCommandsAllowed
Lnet/minecraft/world/SaveProperties;areCommandsAllowed()Z
intermediary method_194
Lnet/minecraft/class_5219;method_194()Z
official m
Lerf;m()Z
-
getDifficulty
Difficulty getDifficulty()- Mappings:
Namespace Name Mixin selector named getDifficulty
Lnet/minecraft/world/SaveProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
intermediary method_207
Lnet/minecraft/class_5219;method_207()Lnet/minecraft/class_1267;
official q
Lerf;q()Lbqn;
-
setDifficulty
- Mappings:
Namespace Name Mixin selector named setDifficulty
Lnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
intermediary method_208
Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)V
official a
Lerf;a(Lbqn;)V
-
isDifficultyLocked
boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector named isDifficultyLocked
Lnet/minecraft/world/SaveProperties;isDifficultyLocked()Z
intermediary method_197
Lnet/minecraft/class_5219;method_197()Z
official r
Lerf;r()Z
-
setDifficultyLocked
void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector named setDifficultyLocked
Lnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)V
intermediary method_186
Lnet/minecraft/class_5219;method_186(Z)V
official d
Lerf;d(Z)V
-
getGameRules
GameRules getGameRules()- Mappings:
Namespace Name Mixin selector named getGameRules
Lnet/minecraft/world/SaveProperties;getGameRules()Lnet/minecraft/world/GameRules;
intermediary method_146
Lnet/minecraft/class_5219;method_146()Lnet/minecraft/class_1928;
official o
Lerf;o()Ldcq;
-
getPlayerData
- Mappings:
Namespace Name Mixin selector named getPlayerData
Lnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;
intermediary method_226
Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;
official w
Lerf;w()Lua;
-
getDragonFight
EnderDragonFight.Data getDragonFight()- Mappings:
Namespace Name Mixin selector named getDragonFight
Lnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;
intermediary method_29036
Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2881$class_8576;
official C
Lerf;C()Ldwy$a;
-
setDragonFight
- Mappings:
Namespace Name Mixin selector named setDragonFight
Lnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;)V
intermediary method_29037
Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2881$class_8576;)V
official a
Lerf;a(Ldwy$a;)V
-
getGeneratorOptions
GeneratorOptions getGeneratorOptions()- Mappings:
Namespace Name Mixin selector named getGeneratorOptions
Lnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
intermediary method_28057
Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;
official y
Lerf;y()Ldzt;
-
isFlatWorld
boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector named isFlatWorld
Lnet/minecraft/world/SaveProperties;isFlatWorld()Z
intermediary method_45555
Lnet/minecraft/class_5219;method_45555()Z
official z
Lerf;z()Z
-
isDebugWorld
boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector named isDebugWorld
Lnet/minecraft/world/SaveProperties;isDebugWorld()Z
intermediary method_45556
Lnet/minecraft/class_5219;method_45556()Z
official A
Lerf;A()Z
-
getLifecycle
com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector named getLifecycle
Lnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;
intermediary method_29588
Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;
official B
Lerf;B()Lcom/mojang/serialization/Lifecycle;
-
getEnabledFeatures
- Mappings:
Namespace Name Mixin selector named getEnabledFeatures
Lnet/minecraft/world/SaveProperties;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
intermediary method_45560
Lnet/minecraft/class_5219;method_45560()Lnet/minecraft/class_7699;
official K
Lerf;K()Lcpj;
-