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 DifficultygetDifficulty()GameRulesgetGameRules()floatgetSpawnAngle()intgetSpawnX()intgetSpawnY()intgetSpawnZ()longgetTime()longgetTimeOfDay()booleanisDifficultyLocked()booleanisHardcore()booleanisRaining()booleanisThundering()default voidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView heightLimitView)voidsetRaining(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
default void populateCrashReport(CrashReportSection reportSection, HeightLimitView heightLimitView)
-