Package net.minecraft.world.storage
Interface IServerConfiguration
- All Known Implementing Classes:
ServerWorldInfo
public interface IServerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncreateTag
(DynamicRegistries p_230411_1_, CompoundNBT p_230411_2_) default void
fillCrashReportCategory
(CrashReportCategory p_85118_1_) boolean
default String
getStorageVersionName
(int p_237379_1_) int
boolean
boolean
void
setCustomBossEvents
(CompoundNBT p_230414_1_) void
setDataPackConfig
(DatapackCodec p_230410_1_) void
setDifficulty
(Difficulty p_230409_1_) void
setDifficultyLocked
(boolean p_230415_1_) void
setEndDragonFightData
(CompoundNBT p_230413_1_) void
setGameType
(GameType p_230392_1_) void
setModdedInfo
(String p_230412_1_, boolean p_230412_2_) boolean
com.mojang.serialization.Lifecycle
-
Method Details
-
getDataPackConfig
DatapackCodec getDataPackConfig() -
setDataPackConfig
-
wasModded
boolean wasModded() -
getKnownServerBrands
-
setModdedInfo
-
fillCrashReportCategory
-
getStorageVersionName
-
getCustomBossEvents
-
setCustomBossEvents
-
overworldData
IServerWorldInfo overworldData() -
getLevelSettings
WorldSettings getLevelSettings() -
createTag
-
isHardcore
boolean isHardcore() -
getVersion
int getVersion() -
getLevelName
String getLevelName() -
getGameType
GameType getGameType() -
setGameType
-
getAllowCommands
boolean getAllowCommands() -
getDifficulty
Difficulty getDifficulty() -
setDifficulty
-
isDifficultyLocked
boolean isDifficultyLocked() -
setDifficultyLocked
void setDifficultyLocked(boolean p_230415_1_) -
getGameRules
GameRules getGameRules() -
getLoadedPlayerTag
CompoundNBT getLoadedPlayerTag() -
endDragonFightData
CompoundNBT endDragonFightData() -
setEndDragonFightData
-
worldGenSettings
DimensionGeneratorSettings worldGenSettings() -
worldGenSettingsLifecycle
com.mojang.serialization.Lifecycle worldGenSettingsLifecycle()
-