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 pRegistries, CompoundTag pHostPlayerNBT) default FeatureFlagSetdefault voidfillCrashReportCategory(CrashReportCategory pCategory) default StringgetStorageVersionName(int pStorageVersionId) intbooleanbooleanbooleanbooleanbooleanvoidvoidsetDataConfiguration(WorldDataConfiguration pDataConfiguration) voidsetDifficulty(Difficulty pDifficulty) voidsetDifficultyLocked(boolean pLocked) voidsetEndDragonFightData(EndDragonFight.Data pEndDragonFightData) voidsetGameType(GameType pType) voidsetModdedInfo(String pName, boolean pIsModded) 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
-
isAllowCommands
boolean isAllowCommands() -
getDifficulty
Difficulty getDifficulty() -
setDifficulty
-
isDifficultyLocked
boolean isDifficultyLocked() -
setDifficultyLocked
void setDifficultyLocked(boolean pLocked) -
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
-