Interface WorldData
- All Known Implementing Classes:
 PrimaryLevelData
public interface WorldData
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int - 
Method Summary
Modifier and TypeMethodDescriptioncreateTag(RegistryAccess p_78636_, CompoundTag p_78637_) default FeatureFlagSetdefault voidfillCrashReportCategory(CrashReportCategory p_78640_) booleandefault StringgetStorageVersionName(int p_78647_) intbooleanbooleanbooleanbooleanvoidsetCustomBossEvents(CompoundTag p_78643_) voidsetDataConfiguration(WorldDataConfiguration p_250014_) voidsetDifficulty(Difficulty p_78633_) voidsetDifficultyLocked(boolean p_78645_) voidsetEndDragonFightData(EndDragonFight.Data p_289783_) voidsetGameType(GameType p_78635_) voidsetModdedInfo(String p_78638_, boolean p_78639_) booleancom.mojang.serialization.Lifecycle 
- 
Field Details
- 
ANVIL_VERSION_ID
static final int ANVIL_VERSION_ID- See Also:
 
 - 
MCREGION_VERSION_ID
static final int MCREGION_VERSION_ID- See Also:
 
 
 - 
 - 
Method Details
- 
getDataConfiguration
WorldDataConfiguration getDataConfiguration() - 
setDataConfiguration
 - 
wasModded
boolean wasModded() - 
getKnownServerBrands
 - 
getRemovedFeatureFlags
 - 
setModdedInfo
 - 
fillCrashReportCategory
 - 
getStorageVersionName
 - 
getCustomBossEvents
 - 
setCustomBossEvents
 - 
overworldData
ServerLevelData overworldData() - 
getLevelSettings
LevelSettings 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_78645_)  - 
getGameRules
GameRules getGameRules() - 
getLoadedPlayerTag
 - 
endDragonFightData
EndDragonFight.Data endDragonFightData() - 
setEndDragonFightData
 - 
worldGenOptions
WorldOptions worldGenOptions() - 
isFlatWorld
boolean isFlatWorld() - 
isDebugWorld
boolean isDebugWorld() - 
worldGenSettingsLifecycle
com.mojang.serialization.Lifecycle worldGenSettingsLifecycle() - 
enabledFeatures
 
 -