Interface ServerLevelData
- All Superinterfaces:
LevelData, WritableLevelData
- All Known Implementing Classes:
DerivedLevelData, PrimaryLevelData
-
Nested Class Summary
Nested classes/interfaces inherited from interface LevelData
LevelData.RespawnData -
Method Summary
Modifier and TypeMethodDescriptiondefault voidfillCrashReportCategory(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor) floatfloatbooleanbooleanvoidsetDayTimeFraction(float dayTimeFraction) voidsetDayTimePerTick(float dayTimePerTick) voidsetGameTime(long time) voidsetGameType(GameType gameType) voidsetInitialized(boolean initialized) Sets the initialization status of the World.Methods inherited from interface LevelData
getDifficulty, getGameTime, getRespawnData, isDifficultyLocked, isHardcoreMethods inherited from interface WritableLevelData
setSpawn
-
Method Details
-
getLevelName
String getLevelName() -
fillCrashReportCategory
default void fillCrashReportCategory(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor) - Specified by:
fillCrashReportCategoryin interfaceLevelData
-
getGameType
GameType getGameType() -
isInitialized
boolean isInitialized() -
setInitialized
void setInitialized(boolean initialized) Sets the initialization status of the World. -
isAllowCommands
boolean isAllowCommands() -
setGameType
-
setGameTime
void setGameTime(long time) -
getDayTimeFraction
float getDayTimeFraction() -
getDayTimePerTick
float getDayTimePerTick() -
setDayTimeFraction
void setDayTimeFraction(float dayTimeFraction) -
setDayTimePerTick
void setDayTimePerTick(float dayTimePerTick)
-