Package net.minecraft.world
Interface WorldProperties
- All Known Subinterfaces:
MutableWorldProperties
,ServerWorldProperties
- All Known Implementing Classes:
ClientWorld.Properties
,LevelProperties
,UnmodifiableLevelProperties
public interface WorldProperties
-
Method Summary
Modifier and Type Method Description Difficulty
getDifficulty()
GameRules
getGameRules()
float
getSpawnAngle()
int
getSpawnX()
int
getSpawnY()
int
getSpawnZ()
long
getTime()
long
getTimeOfDay()
boolean
isDifficultyLocked()
boolean
isHardcore()
boolean
isRaining()
boolean
isThundering()
default void
populateCrashReport(CrashReportSection reportSection)
void
setRaining(boolean raining)
-
Method Details
-
getSpawnX
int getSpawnX() -
getSpawnY
int getSpawnY() -
getSpawnZ
int getSpawnZ() -
getSpawnAngle
float getSpawnAngle() -
getTime
long getTime() -
getTimeOfDay
long getTimeOfDay() -
isThundering
boolean isThundering() -
isRaining
boolean isRaining() -
setRaining
void setRaining(boolean raining) -
isHardcore
boolean isHardcore() -
getGameRules
GameRules getGameRules() -
getDifficulty
Difficulty getDifficulty() -
isDifficultyLocked
boolean isDifficultyLocked() -
populateCrashReport
-