Package net.minecraft.world
Interface SaveProperties
- All Known Implementing Classes:
LevelProperties
public interface SaveProperties
- Mappings:
Namespace Name official dvk
intermediary net/minecraft/class_5219
named net/minecraft/world/SaveProperties
-
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
(NbtCompound 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 official c
Ldvk;c:I
intermediary field_31844
Lnet/minecraft/class_5219;field_31844:I
named ANVIL_FORMAT_ID
Lnet/minecraft/world/SaveProperties;ANVIL_FORMAT_ID:I
-
MCREGION_FORMAT_ID
static final int MCREGION_FORMAT_ID- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ldvk;d:I
intermediary field_31845
Lnet/minecraft/class_5219;field_31845:I
named MCREGION_FORMAT_ID
Lnet/minecraft/world/SaveProperties;MCREGION_FORMAT_ID:I
-
-
Method Details
-
getDataConfiguration
DataConfiguration getDataConfiguration()- Mappings:
Namespace Name Mixin selector official F
Ldvk;F()Lcko;
intermediary method_29589
Lnet/minecraft/class_5219;method_29589()Lnet/minecraft/class_7712;
named getDataConfiguration
Lnet/minecraft/world/SaveProperties;getDataConfiguration()Lnet/minecraft/resource/DataConfiguration;
-
updateLevelInfo
- Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Lcko;)V
intermediary method_29590
Lnet/minecraft/class_5219;method_29590(Lnet/minecraft/class_7712;)V
named updateLevelInfo
Lnet/minecraft/world/SaveProperties;updateLevelInfo(Lnet/minecraft/resource/DataConfiguration;)V
-
isModded
boolean isModded()- Mappings:
Namespace Name Mixin selector official H
Ldvk;H()Z
intermediary method_27431
Lnet/minecraft/class_5219;method_27431()Z
named isModded
Lnet/minecraft/world/SaveProperties;isModded()Z
-
getServerBrands
- Mappings:
Namespace Name Mixin selector official I
Ldvk;I()Ljava/util/Set;
intermediary method_27432
Lnet/minecraft/class_5219;method_27432()Ljava/util/Set;
named getServerBrands
Lnet/minecraft/world/SaveProperties;getServerBrands()Ljava/util/Set;
-
addServerBrand
- Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Ljava/lang/String;Z)V
intermediary method_24285
Lnet/minecraft/class_5219;method_24285(Ljava/lang/String;Z)V
named addServerBrand
Lnet/minecraft/world/SaveProperties;addServerBrand(Ljava/lang/String;Z)V
-
populateCrashReport
- Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Lo;)V
intermediary method_151
Lnet/minecraft/class_5219;method_151(Lnet/minecraft/class_129;)V
named populateCrashReport
Lnet/minecraft/world/SaveProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
-
getFormatName
- Mappings:
Namespace Name Mixin selector official i
Ldvk;i(I)Ljava/lang/String;
intermediary method_27440
Lnet/minecraft/class_5219;method_27440(I)Ljava/lang/String;
named getFormatName
Lnet/minecraft/world/SaveProperties;getFormatName(I)Ljava/lang/String;
-
getCustomBossEvents
- Mappings:
Namespace Name Mixin selector official G
Ldvk;G()Lqp;
intermediary method_228
Lnet/minecraft/class_5219;method_228()Lnet/minecraft/class_2487;
named getCustomBossEvents
Lnet/minecraft/world/SaveProperties;getCustomBossEvents()Lnet/minecraft/nbt/NbtCompound;
-
setCustomBossEvents
- Mappings:
Namespace Name Mixin selector official b
Ldvk;b(Lqp;)V
intermediary method_221
Lnet/minecraft/class_5219;method_221(Lnet/minecraft/class_2487;)V
named setCustomBossEvents
Lnet/minecraft/world/SaveProperties;setCustomBossEvents(Lnet/minecraft/nbt/NbtCompound;)V
-
getMainWorldProperties
ServerWorldProperties getMainWorldProperties()- Mappings:
Namespace Name Mixin selector official J
Ldvk;J()Ldvj;
intermediary method_27859
Lnet/minecraft/class_5219;method_27859()Lnet/minecraft/class_5268;
named getMainWorldProperties
Lnet/minecraft/world/SaveProperties;getMainWorldProperties()Lnet/minecraft/world/level/ServerWorldProperties;
-
getLevelInfo
LevelInfo getLevelInfo()- Mappings:
Namespace Name Mixin selector official K
Ldvk;K()Lcka;
intermediary method_27433
Lnet/minecraft/class_5219;method_27433()Lnet/minecraft/class_1940;
named getLevelInfo
Lnet/minecraft/world/SaveProperties;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
-
cloneWorldNbt
NbtCompound cloneWorldNbt(DynamicRegistryManager registryManager, @Nullable @Nullable NbtCompound playerNbt) - Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Lhn;Lqp;)Lqp;
intermediary method_163
Lnet/minecraft/class_5219;method_163(Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named cloneWorldNbt
Lnet/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 n
Ldvk;n()Z
intermediary method_152
Lnet/minecraft/class_5219;method_152()Z
named isHardcore
Lnet/minecraft/world/SaveProperties;isHardcore()Z
-
getVersion
int getVersion()- Mappings:
Namespace Name Mixin selector official z
Ldvk;z()I
intermediary method_168
Lnet/minecraft/class_5219;method_168()I
named getVersion
Lnet/minecraft/world/SaveProperties;getVersion()I
-
getLevelName
String getLevelName()- Mappings:
Namespace Name Mixin selector official g
Ldvk;g()Ljava/lang/String;
intermediary method_150
Lnet/minecraft/class_5219;method_150()Ljava/lang/String;
named getLevelName
Lnet/minecraft/world/SaveProperties;getLevelName()Ljava/lang/String;
-
getGameMode
GameMode getGameMode()- Mappings:
Namespace Name Mixin selector official m
Ldvk;m()Lcjt;
intermediary method_210
Lnet/minecraft/class_5219;method_210()Lnet/minecraft/class_1934;
named getGameMode
Lnet/minecraft/world/SaveProperties;getGameMode()Lnet/minecraft/world/GameMode;
-
setGameMode
- Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Lcjt;)V
intermediary method_193
Lnet/minecraft/class_5219;method_193(Lnet/minecraft/class_1934;)V
named setGameMode
Lnet/minecraft/world/SaveProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector official o
Ldvk;o()Z
intermediary method_194
Lnet/minecraft/class_5219;method_194()Z
named areCommandsAllowed
Lnet/minecraft/world/SaveProperties;areCommandsAllowed()Z
-
getDifficulty
Difficulty getDifficulty()- Mappings:
Namespace Name Mixin selector official s
Ldvk;s()Lbcj;
intermediary method_207
Lnet/minecraft/class_5219;method_207()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/world/SaveProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
setDifficulty
- Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Lbcj;)V
intermediary method_208
Lnet/minecraft/class_5219;method_208(Lnet/minecraft/class_1267;)V
named setDifficulty
Lnet/minecraft/world/SaveProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
-
isDifficultyLocked
boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector official t
Ldvk;t()Z
intermediary method_197
Lnet/minecraft/class_5219;method_197()Z
named isDifficultyLocked
Lnet/minecraft/world/SaveProperties;isDifficultyLocked()Z
-
setDifficultyLocked
void setDifficultyLocked(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector official d
Ldvk;d(Z)V
intermediary method_186
Lnet/minecraft/class_5219;method_186(Z)V
named setDifficultyLocked
Lnet/minecraft/world/SaveProperties;setDifficultyLocked(Z)V
-
getGameRules
GameRules getGameRules()- Mappings:
Namespace Name Mixin selector official q
Ldvk;q()Lcjs;
intermediary method_146
Lnet/minecraft/class_5219;method_146()Lnet/minecraft/class_1928;
named getGameRules
Lnet/minecraft/world/SaveProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getPlayerData
- Mappings:
Namespace Name Mixin selector official y
Ldvk;y()Lqp;
intermediary method_226
Lnet/minecraft/class_5219;method_226()Lnet/minecraft/class_2487;
named getPlayerData
Lnet/minecraft/world/SaveProperties;getPlayerData()Lnet/minecraft/nbt/NbtCompound;
-
getDragonFight
NbtCompound getDragonFight()- Mappings:
Namespace Name Mixin selector official E
Ldvk;E()Lqp;
intermediary method_29036
Lnet/minecraft/class_5219;method_29036()Lnet/minecraft/class_2487;
named getDragonFight
Lnet/minecraft/world/SaveProperties;getDragonFight()Lnet/minecraft/nbt/NbtCompound;
-
setDragonFight
- Mappings:
Namespace Name Mixin selector official a
Ldvk;a(Lqp;)V
intermediary method_29037
Lnet/minecraft/class_5219;method_29037(Lnet/minecraft/class_2487;)V
named setDragonFight
Lnet/minecraft/world/SaveProperties;setDragonFight(Lnet/minecraft/nbt/NbtCompound;)V
-
getGeneratorOptions
GeneratorOptions getGeneratorOptions()- Mappings:
Namespace Name Mixin selector official A
Ldvk;A()Ldez;
intermediary method_28057
Lnet/minecraft/class_5219;method_28057()Lnet/minecraft/class_5285;
named getGeneratorOptions
Lnet/minecraft/world/SaveProperties;getGeneratorOptions()Lnet/minecraft/world/gen/GeneratorOptions;
-
isFlatWorld
boolean isFlatWorld()- Mappings:
Namespace Name Mixin selector official B
Ldvk;B()Z
intermediary method_45555
Lnet/minecraft/class_5219;method_45555()Z
named isFlatWorld
Lnet/minecraft/world/SaveProperties;isFlatWorld()Z
-
isDebugWorld
boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official C
Ldvk;C()Z
intermediary method_45556
Lnet/minecraft/class_5219;method_45556()Z
named isDebugWorld
Lnet/minecraft/world/SaveProperties;isDebugWorld()Z
-
getLifecycle
com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector official D
Ldvk;D()Lcom/mojang/serialization/Lifecycle;
intermediary method_29588
Lnet/minecraft/class_5219;method_29588()Lcom/mojang/serialization/Lifecycle;
named getLifecycle
Lnet/minecraft/world/SaveProperties;getLifecycle()Lcom/mojang/serialization/Lifecycle;
-
getEnabledFeatures
- Mappings:
Namespace Name Mixin selector official L
Ldvk;L()Lbyx;
intermediary method_45560
Lnet/minecraft/class_5219;method_45560()Lnet/minecraft/class_7699;
named getEnabledFeatures
Lnet/minecraft/world/SaveProperties;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
-