Package net.minecraft.world.storage
Class DerivedWorldInfo
java.lang.Object
net.minecraft.world.storage.DerivedWorldInfo
- All Implemented Interfaces:
IServerWorldInfo
,ISpawnWorldInfo
,IWorldInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IServerConfiguration
private final IServerWorldInfo
-
Constructor Summary
ConstructorDescriptionDerivedWorldInfo
(IServerConfiguration p_i232150_1_, IServerWorldInfo p_i232150_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fillCrashReportCategory
(CrashReportCategory p_85118_1_) boolean
int
long
long
int
float
int
int
int
int
int
int
boolean
boolean
boolean
boolean
boolean
void
setClearWeatherTime
(int p_230391_1_) void
setDayTime
(long p_76068_1_) void
setGameTime
(long p_82572_1_) void
setGameType
(GameType p_230392_1_) void
setInitialized
(boolean p_76091_1_) void
setRaining
(boolean p_76084_1_) void
setRainTime
(int p_76080_1_) void
void
setSpawnAngle
(float p_241859_1_) void
setThundering
(boolean p_76069_1_) void
setThunderTime
(int p_76090_1_) void
setWanderingTraderId
(UUID p_230394_1_) void
setWanderingTraderSpawnChance
(int p_230397_1_) void
setWanderingTraderSpawnDelay
(int p_230396_1_) void
setWorldBorder
(WorldBorder.Serializer p_230393_1_) void
setXSpawn
(int p_76058_1_) void
setYSpawn
(int p_76056_1_) void
setZSpawn
(int p_76087_1_)
-
Field Details
-
worldData
-
wrapped
-
-
Constructor Details
-
DerivedWorldInfo
-
-
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
-
getLevelName
- Specified by:
getLevelName
in interfaceIServerWorldInfo
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTime
in interfaceIServerWorldInfo
-
setClearWeatherTime
public void setClearWeatherTime(int p_230391_1_) - Specified by:
setClearWeatherTime
in interfaceIServerWorldInfo
-
isThundering
public boolean isThundering()- Specified by:
isThundering
in interfaceIWorldInfo
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTime
in interfaceIServerWorldInfo
-
isRaining
public boolean isRaining()- Specified by:
isRaining
in interfaceIWorldInfo
-
getRainTime
public int getRainTime()- Specified by:
getRainTime
in interfaceIServerWorldInfo
-
getGameType
- Specified by:
getGameType
in interfaceIServerWorldInfo
-
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_82572_1_) - Specified by:
setGameTime
in interfaceIServerWorldInfo
-
setDayTime
public void setDayTime(long p_76068_1_) - Specified by:
setDayTime
in interfaceIServerWorldInfo
-
setSpawn
- Specified by:
setSpawn
in interfaceISpawnWorldInfo
-
setThundering
public void setThundering(boolean p_76069_1_) - Specified by:
setThundering
in interfaceIServerWorldInfo
-
setThunderTime
public void setThunderTime(int p_76090_1_) - Specified by:
setThunderTime
in interfaceIServerWorldInfo
-
setRaining
public void setRaining(boolean p_76084_1_) - Specified by:
setRaining
in interfaceIWorldInfo
-
setRainTime
public void setRainTime(int p_76080_1_) - Specified by:
setRainTime
in interfaceIServerWorldInfo
-
setGameType
- Specified by:
setGameType
in interfaceIServerWorldInfo
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcore
in interfaceIWorldInfo
-
getAllowCommands
public boolean getAllowCommands()- Specified by:
getAllowCommands
in interfaceIServerWorldInfo
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceIServerWorldInfo
-
setInitialized
public void setInitialized(boolean p_76091_1_) - Specified by:
setInitialized
in interfaceIServerWorldInfo
-
getGameRules
- Specified by:
getGameRules
in interfaceIWorldInfo
-
getWorldBorder
- Specified by:
getWorldBorder
in interfaceIServerWorldInfo
-
setWorldBorder
- Specified by:
setWorldBorder
in interfaceIServerWorldInfo
-
getDifficulty
- Specified by:
getDifficulty
in interfaceIWorldInfo
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLocked
in interfaceIWorldInfo
-
getScheduledEvents
- Specified by:
getScheduledEvents
in interfaceIServerWorldInfo
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelay
in interfaceIServerWorldInfo
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int p_230396_1_) - Specified by:
setWanderingTraderSpawnDelay
in interfaceIServerWorldInfo
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChance
in interfaceIServerWorldInfo
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int p_230397_1_) - Specified by:
setWanderingTraderSpawnChance
in interfaceIServerWorldInfo
-
setWanderingTraderId
- Specified by:
setWanderingTraderId
in interfaceIServerWorldInfo
-
fillCrashReportCategory
- Specified by:
fillCrashReportCategory
in interfaceIServerWorldInfo
- Specified by:
fillCrashReportCategory
in interfaceIWorldInfo
-