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 voidfillCrashReportCategory(CrashReportCategory p_85118_1_) booleandefault StringgetStorageVersionName(int p_237379_1_) intbooleanbooleanvoidsetCustomBossEvents(CompoundNBT p_230414_1_) voidsetDataPackConfig(DatapackCodec p_230410_1_) voidsetDifficulty(Difficulty p_230409_1_) voidsetDifficultyLocked(boolean p_230415_1_) voidsetEndDragonFightData(CompoundNBT p_230413_1_) voidsetGameType(GameType p_230392_1_) voidsetModdedInfo(String p_230412_1_, boolean p_230412_2_) booleancom.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()
-