Package net.minecraft.client.world
Class ClientWorld.ClientWorldInfo
java.lang.Object
net.minecraft.client.world.ClientWorld.ClientWorldInfo
- All Implemented Interfaces:
ISpawnWorldInfo
,IWorldInfo
- Enclosing class:
- ClientWorld
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private Difficulty
private boolean
private final GameRules
private long
private final boolean
private final boolean
private boolean
private float
private int
private int
private int
-
Constructor Summary
ConstructorDescriptionClientWorldInfo
(Difficulty p_i232338_1_, boolean p_i232338_2_, boolean p_i232338_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fillCrashReportCategory
(CrashReportCategory p_85118_1_) double
long
long
double
float
int
int
int
boolean
boolean
boolean
boolean
void
setDayTime
(long p_239158_1_) void
setDifficulty
(Difficulty p_239156_1_) void
setDifficultyLocked
(boolean p_239157_1_) void
setGameTime
(long p_239155_1_) void
setRaining
(boolean p_76084_1_) void
void
setSpawnAngle
(float p_241859_1_) void
setXSpawn
(int p_76058_1_) void
setYSpawn
(int p_76056_1_) void
setZSpawn
(int p_76087_1_)
-
Field Details
-
hardcore
private final boolean hardcore -
gameRules
-
isFlat
private final boolean isFlat -
xSpawn
private int xSpawn -
ySpawn
private int ySpawn -
zSpawn
private int zSpawn -
spawnAngle
private float spawnAngle -
gameTime
private long gameTime -
dayTime
private long dayTime -
raining
private boolean raining -
difficulty
-
difficultyLocked
private boolean difficultyLocked
-
-
Constructor Details
-
ClientWorldInfo
-
-
Method Details
-
getXSpawn
public int getXSpawn()- Specified by:
getXSpawn
in interfaceIWorldInfo
-
getYSpawn
public int getYSpawn()- Specified by:
getYSpawn
in interfaceIWorldInfo
-
getZSpawn
public int getZSpawn()- Specified by:
getZSpawn
in interfaceIWorldInfo
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAngle
in interfaceIWorldInfo
-
getGameTime
public long getGameTime()- Specified by:
getGameTime
in interfaceIWorldInfo
-
getDayTime
public long getDayTime()- Specified by:
getDayTime
in interfaceIWorldInfo
-
setXSpawn
public void setXSpawn(int p_76058_1_) - Specified by:
setXSpawn
in interfaceISpawnWorldInfo
-
setYSpawn
public void setYSpawn(int p_76056_1_) - Specified by:
setYSpawn
in interfaceISpawnWorldInfo
-
setZSpawn
public void setZSpawn(int p_76087_1_) - Specified by:
setZSpawn
in interfaceISpawnWorldInfo
-
setSpawnAngle
public void setSpawnAngle(float p_241859_1_) - Specified by:
setSpawnAngle
in interfaceISpawnWorldInfo
-
setGameTime
public void setGameTime(long p_239155_1_) -
setDayTime
public void setDayTime(long p_239158_1_) -
setSpawn
- Specified by:
setSpawn
in interfaceISpawnWorldInfo
-
isThundering
public boolean isThundering()- Specified by:
isThundering
in interfaceIWorldInfo
-
isRaining
public boolean isRaining()- Specified by:
isRaining
in interfaceIWorldInfo
-
setRaining
public void setRaining(boolean p_76084_1_) - Specified by:
setRaining
in interfaceIWorldInfo
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcore
in interfaceIWorldInfo
-
getGameRules
- Specified by:
getGameRules
in interfaceIWorldInfo
-
getDifficulty
- Specified by:
getDifficulty
in interfaceIWorldInfo
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLocked
in interfaceIWorldInfo
-
fillCrashReportCategory
- Specified by:
fillCrashReportCategory
in interfaceIWorldInfo
-
setDifficulty
-
setDifficultyLocked
public void setDifficultyLocked(boolean p_239157_1_) -
getHorizonHeight
public double getHorizonHeight() -
getClearColorScale
public double getClearColorScale()
-