Package net.minecraft.client.multiplayer
Class ClientLevel.ClientLevelData
java.lang.Object
net.minecraft.client.multiplayer.ClientLevel.ClientLevelData
- All Implemented Interfaces:
- LevelData,- WritableLevelData
- Enclosing class:
- ClientLevel
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate longprivate Difficultyprivate booleanprivate final GameRulesprivate longprivate final booleanprivate final booleanprivate booleanprivate floatprivate intprivate intprivate int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfillCrashReportCategory(CrashReportCategory p_171690_, LevelHeightAccessor p_171691_) floatlonglongdoublegetHorizonHeight(LevelHeightAccessor p_171688_) floatintintintbooleanbooleanbooleanbooleanvoidsetDayTime(long p_104864_) voidsetDifficulty(Difficulty p_104852_) voidsetDifficultyLocked(boolean p_104859_) voidsetGameTime(long p_104850_) voidsetRaining(boolean p_104866_) voidvoidsetSpawnAngle(float p_104848_) voidsetXSpawn(int p_104862_) voidsetYSpawn(int p_104869_) voidsetZSpawn(int p_104872_) 
- 
Field Details- 
hardcoreprivate final boolean hardcore
- 
gameRules
- 
isFlatprivate final boolean isFlat
- 
xSpawnprivate int xSpawn
- 
ySpawnprivate int ySpawn
- 
zSpawnprivate int zSpawn
- 
spawnAngleprivate float spawnAngle
- 
gameTimeprivate long gameTime
- 
dayTimeprivate long dayTime
- 
rainingprivate boolean raining
- 
difficulty
- 
difficultyLockedprivate boolean difficultyLocked
 
- 
- 
Constructor Details- 
ClientLevelData
 
- 
- 
Method Details- 
getXSpawnpublic int getXSpawn()
- 
getYSpawnpublic int getYSpawn()
- 
getZSpawnpublic int getZSpawn()
- 
getSpawnAnglepublic float getSpawnAngle()- Specified by:
- getSpawnAnglein interface- LevelData
 
- 
getGameTimepublic long getGameTime()- Specified by:
- getGameTimein interface- LevelData
 
- 
getDayTimepublic long getDayTime()- Specified by:
- getDayTimein interface- LevelData
 
- 
setXSpawnpublic void setXSpawn(int p_104862_) - Specified by:
- setXSpawnin interface- WritableLevelData
 
- 
setYSpawnpublic void setYSpawn(int p_104869_) - Specified by:
- setYSpawnin interface- WritableLevelData
 
- 
setZSpawnpublic void setZSpawn(int p_104872_) - Specified by:
- setZSpawnin interface- WritableLevelData
 
- 
setSpawnAnglepublic void setSpawnAngle(float p_104848_) - Specified by:
- setSpawnAnglein interface- WritableLevelData
 
- 
setGameTimepublic void setGameTime(long p_104850_) 
- 
setDayTimepublic void setDayTime(long p_104864_) 
- 
setSpawn- Specified by:
- setSpawnin interface- WritableLevelData
 
- 
isThunderingpublic boolean isThundering()- Specified by:
- isThunderingin interface- LevelData
 
- 
isRainingpublic boolean isRaining()
- 
setRainingpublic void setRaining(boolean p_104866_) - Specified by:
- setRainingin interface- LevelData
 
- 
isHardcorepublic boolean isHardcore()- Specified by:
- isHardcorein interface- LevelData
 
- 
getGameRules- Specified by:
- getGameRulesin interface- LevelData
 
- 
getDifficulty- Specified by:
- getDifficultyin interface- LevelData
 
- 
isDifficultyLockedpublic boolean isDifficultyLocked()- Specified by:
- isDifficultyLockedin interface- LevelData
 
- 
fillCrashReportCategory- Specified by:
- fillCrashReportCategoryin interface- LevelData
 
- 
setDifficulty
- 
setDifficultyLockedpublic void setDifficultyLocked(boolean p_104859_) 
- 
getHorizonHeight
- 
getClearColorScalepublic float getClearColorScale()
 
-