Interface WorldData
- All Known Implementing Classes:
- PrimaryLevelData
public interface WorldData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final int
- 
Method SummaryModifier 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_IDstatic final int ANVIL_VERSION_ID- See Also:
 
- 
MCREGION_VERSION_IDstatic final int MCREGION_VERSION_ID- See Also:
 
 
- 
- 
Method Details- 
getDataConfigurationWorldDataConfiguration getDataConfiguration()
- 
setDataConfiguration
- 
wasModdedboolean wasModded()
- 
getKnownServerBrands
- 
getRemovedFeatureFlags
- 
setModdedInfo
- 
fillCrashReportCategory
- 
getStorageVersionName
- 
getCustomBossEvents
- 
setCustomBossEvents
- 
overworldDataServerLevelData overworldData()
- 
getLevelSettingsLevelSettings getLevelSettings()
- 
createTag
- 
isHardcoreboolean isHardcore()
- 
getVersionint getVersion()
- 
getLevelNameString getLevelName()
- 
getGameTypeGameType getGameType()
- 
setGameType
- 
getAllowCommandsboolean getAllowCommands()
- 
getDifficultyDifficulty getDifficulty()
- 
setDifficulty
- 
isDifficultyLockedboolean isDifficultyLocked()
- 
setDifficultyLockedvoid setDifficultyLocked(boolean p_78645_) 
- 
getGameRulesGameRules getGameRules()
- 
getLoadedPlayerTag
- 
endDragonFightDataEndDragonFight.Data endDragonFightData()
- 
setEndDragonFightData
- 
worldGenOptionsWorldOptions worldGenOptions()
- 
isFlatWorldboolean isFlatWorld()
- 
isDebugWorldboolean isDebugWorld()
- 
worldGenSettingsLifecyclecom.mojang.serialization.Lifecycle worldGenSettingsLifecycle()
- 
enabledFeatures
 
-