Package net.minecraft.world.storage
Interface IWorldInfo
-
- All Known Subinterfaces:
IServerWorldInfo,ISpawnWorldInfo
- All Known Implementing Classes:
ClientWorld.ClientWorldInfo,DerivedWorldInfo,ServerWorldInfo
public interface IWorldInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidfillCrashReportCategory(CrashReportCategory p_85118_1_)longgetDayTime()DifficultygetDifficulty()GameRulesgetGameRules()longgetGameTime()floatgetSpawnAngle()intgetXSpawn()intgetYSpawn()intgetZSpawn()booleanisDifficultyLocked()booleanisHardcore()booleanisRaining()booleanisThundering()voidsetRaining(boolean p_76084_1_)
-
-
-
Method Detail
-
getXSpawn
int getXSpawn()
-
getYSpawn
int getYSpawn()
-
getZSpawn
int getZSpawn()
-
getSpawnAngle
float getSpawnAngle()
-
getGameTime
long getGameTime()
-
getDayTime
long getDayTime()
-
isThundering
boolean isThundering()
-
isRaining
boolean isRaining()
-
setRaining
void setRaining(boolean p_76084_1_)
-
isHardcore
boolean isHardcore()
-
getGameRules
GameRules getGameRules()
-
getDifficulty
Difficulty getDifficulty()
-
isDifficultyLocked
boolean isDifficultyLocked()
-
fillCrashReportCategory
default void fillCrashReportCategory(CrashReportCategory p_85118_1_)
-
-