Interface WorldData
- All Known Implementing Classes:
PrimaryLevelData
public interface WorldData
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateTag(RegistryAccess p_78636_, CompoundTag p_78637_)
default void
fillCrashReportCategory(CrashReportCategory p_78640_)
boolean
default String
getStorageVersionName(int p_78647_)
int
boolean
boolean
void
setCustomBossEvents(CompoundTag p_78643_)
void
setDataPackConfig(DataPackConfig p_78634_)
void
setDifficulty(Difficulty p_78633_)
void
setDifficultyLocked(boolean p_78645_)
void
setEndDragonFightData(CompoundTag p_78641_)
void
setGameType(GameType p_78635_)
void
setModdedInfo(String p_78638_, boolean p_78639_)
boolean
com.mojang.serialization.Lifecycle
-
Field Details
-
ANVIL_VERSION_ID
static final int ANVIL_VERSION_ID- See Also:
- Constant Field Values
-
MCREGION_VERSION_ID
static final int MCREGION_VERSION_ID- See Also:
- Constant Field Values
-
-
Method Details
-
getDataPackConfig
DataPackConfig getDataPackConfig() -
setDataPackConfig
-
wasModded
boolean wasModded() -
getKnownServerBrands
-
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
CompoundTag getLoadedPlayerTag() -
endDragonFightData
CompoundTag endDragonFightData() -
setEndDragonFightData
-
worldGenSettings
WorldGenSettings worldGenSettings() -
worldGenSettingsLifecycle
com.mojang.serialization.Lifecycle worldGenSettingsLifecycle()
-