Class DerivedLevelData
java.lang.Object
net.minecraft.world.level.storage.DerivedLevelData
- All Implemented Interfaces:
LevelData
,ServerLevelData
,WritableLevelData
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fillCrashReportCategory
(CrashReportCategory p_164852_, LevelHeightAccessor p_164853_) boolean
int
long
long
int
float
int
int
int
int
int
int
boolean
boolean
boolean
boolean
boolean
void
setClearWeatherTime
(int p_78085_) void
setDayTime
(long p_78105_) void
setGameTime
(long p_78087_) void
setGameType
(GameType p_78089_) void
setInitialized
(boolean p_78112_) void
setRaining
(boolean p_78107_) void
setRainTime
(int p_78121_) void
void
setSpawnAngle
(float p_78083_) void
setThundering
(boolean p_78100_) void
setThunderTime
(int p_78118_) void
setWanderingTraderId
(UUID p_78096_) void
setWanderingTraderSpawnChance
(int p_78127_) void
setWanderingTraderSpawnDelay
(int p_78124_) void
setWorldBorder
(WorldBorder.Settings p_78091_) void
setXSpawn
(int p_78103_) void
setYSpawn
(int p_78110_) void
setZSpawn
(int p_78115_)
-
Field Details
-
worldData
-
wrapped
-
-
Constructor Details
-
DerivedLevelData
-
-
Method Details
-
getXSpawn
public int getXSpawn() -
getYSpawn
public int getYSpawn() -
getZSpawn
public int getZSpawn() -
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAngle
in interfaceLevelData
-
getGameTime
public long getGameTime()- Specified by:
getGameTime
in interfaceLevelData
-
getDayTime
public long getDayTime()- Specified by:
getDayTime
in interfaceLevelData
-
getLevelName
- Specified by:
getLevelName
in interfaceServerLevelData
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTime
in interfaceServerLevelData
-
setClearWeatherTime
public void setClearWeatherTime(int p_78085_) - Specified by:
setClearWeatherTime
in interfaceServerLevelData
-
isThundering
public boolean isThundering()- Specified by:
isThundering
in interfaceLevelData
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTime
in interfaceServerLevelData
-
isRaining
public boolean isRaining() -
getRainTime
public int getRainTime()- Specified by:
getRainTime
in interfaceServerLevelData
-
getGameType
- Specified by:
getGameType
in interfaceServerLevelData
-
setXSpawn
public void setXSpawn(int p_78103_) - Specified by:
setXSpawn
in interfaceWritableLevelData
-
setYSpawn
public void setYSpawn(int p_78110_) - Specified by:
setYSpawn
in interfaceWritableLevelData
-
setZSpawn
public void setZSpawn(int p_78115_) - Specified by:
setZSpawn
in interfaceWritableLevelData
-
setSpawnAngle
public void setSpawnAngle(float p_78083_) - Specified by:
setSpawnAngle
in interfaceWritableLevelData
-
setGameTime
public void setGameTime(long p_78087_) - Specified by:
setGameTime
in interfaceServerLevelData
-
setDayTime
public void setDayTime(long p_78105_) - Specified by:
setDayTime
in interfaceServerLevelData
-
setSpawn
- Specified by:
setSpawn
in interfaceWritableLevelData
-
setThundering
public void setThundering(boolean p_78100_) - Specified by:
setThundering
in interfaceServerLevelData
-
setThunderTime
public void setThunderTime(int p_78118_) - Specified by:
setThunderTime
in interfaceServerLevelData
-
setRaining
public void setRaining(boolean p_78107_) - Specified by:
setRaining
in interfaceLevelData
-
setRainTime
public void setRainTime(int p_78121_) - Specified by:
setRainTime
in interfaceServerLevelData
-
setGameType
- Specified by:
setGameType
in interfaceServerLevelData
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcore
in interfaceLevelData
-
getAllowCommands
public boolean getAllowCommands()- Specified by:
getAllowCommands
in interfaceServerLevelData
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceServerLevelData
-
setInitialized
public void setInitialized(boolean p_78112_) - Specified by:
setInitialized
in interfaceServerLevelData
-
getGameRules
- Specified by:
getGameRules
in interfaceLevelData
-
getWorldBorder
- Specified by:
getWorldBorder
in interfaceServerLevelData
-
setWorldBorder
- Specified by:
setWorldBorder
in interfaceServerLevelData
-
getDifficulty
- Specified by:
getDifficulty
in interfaceLevelData
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLocked
in interfaceLevelData
-
getScheduledEvents
- Specified by:
getScheduledEvents
in interfaceServerLevelData
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelay
in interfaceServerLevelData
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int p_78124_) - Specified by:
setWanderingTraderSpawnDelay
in interfaceServerLevelData
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChance
in interfaceServerLevelData
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int p_78127_) - Specified by:
setWanderingTraderSpawnChance
in interfaceServerLevelData
-
getWanderingTraderId
- Specified by:
getWanderingTraderId
in interfaceServerLevelData
-
setWanderingTraderId
- Specified by:
setWanderingTraderId
in interfaceServerLevelData
-
fillCrashReportCategory
- Specified by:
fillCrashReportCategory
in interfaceLevelData
- Specified by:
fillCrashReportCategory
in interfaceServerLevelData
-