Interface LevelData
- All Known Subinterfaces:
ServerLevelData
,WritableLevelData
- All Known Implementing Classes:
ClientLevel.ClientLevelData
,DerivedLevelData
,PrimaryLevelData
public interface LevelData
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
fillCrashReportCategory
(CrashReportCategory pCrashReportCategory, LevelHeightAccessor pLevel) long
long
float
boolean
boolean
boolean
boolean
void
setRaining
(boolean pRaining) Sets whether it is raining or not.
-
Method Details
-
getSpawnPos
BlockPos getSpawnPos() -
getSpawnAngle
float getSpawnAngle() -
getGameTime
long getGameTime() -
getDayTime
long getDayTime() -
isThundering
boolean isThundering() -
isRaining
boolean isRaining() -
setRaining
void setRaining(boolean pRaining) Sets whether it is raining or not. -
isHardcore
boolean isHardcore() -
getGameRules
GameRules getGameRules() -
getDifficulty
Difficulty getDifficulty() -
isDifficultyLocked
boolean isDifficultyLocked() -
fillCrashReportCategory
default void fillCrashReportCategory(CrashReportCategory pCrashReportCategory, LevelHeightAccessor pLevel)
-