接口 LevelData
- 所有已知子接口:
ServerLevelData
,WritableLevelData
public interface LevelData
-
方法概要
修饰符和类型方法说明default void
fillCrashReportCategory
(CrashReportCategory pCrashReportCategory, LevelHeightAccessor pLevel) long
long
float
int
int
int
boolean
boolean
boolean
boolean
void
setRaining
(boolean pRaining)
-
方法详细资料
-
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 pRaining) -
isHardcore
boolean isHardcore() -
getGameRules
GameRules getGameRules() -
getDifficulty
Difficulty getDifficulty() -
isDifficultyLocked
boolean isDifficultyLocked() -
fillCrashReportCategory
default void fillCrashReportCategory(CrashReportCategory pCrashReportCategory, LevelHeightAccessor pLevel)
-