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_) int
long
long
int
float
int
int
int
boolean
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
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_)
-
Field Details
-
worldData
-
wrapped
-
-
Constructor Details
-
DerivedLevelData
-
-
Method Details
-
getSpawnPos
- Specified by:
getSpawnPos
in interfaceLevelData
-
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
-
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
-
isAllowCommands
public boolean isAllowCommands()- Specified by:
isAllowCommands
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
-