Interface ServerLevelData
- All Superinterfaces:
LevelData
,WritableLevelData
- All Known Implementing Classes:
DerivedLevelData
,PrimaryLevelData
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
fillCrashReportCategory
(CrashReportCategory p_164976_, LevelHeightAccessor p_164977_) int
int
int
int
int
boolean
boolean
void
setClearWeatherTime
(int p_78616_) void
setDayTime
(long p_78624_) void
setGameTime
(long p_78617_) void
setGameType
(GameType p_78618_) void
setInitialized
(boolean p_78625_) void
setRainTime
(int p_78627_) void
setThundering
(boolean p_78623_) void
setThunderTime
(int p_78626_) void
setWanderingTraderId
(UUID p_78620_) void
setWanderingTraderSpawnChance
(int p_78629_) void
setWanderingTraderSpawnDelay
(int p_78628_) void
setWorldBorder
(WorldBorder.Settings p_78619_) Methods inherited from interface net.minecraft.world.level.storage.LevelData
getDayTime, getDifficulty, getGameRules, getGameTime, getSpawnAngle, getSpawnPos, isDifficultyLocked, isHardcore, isRaining, isThundering, setRaining
Methods inherited from interface net.minecraft.world.level.storage.WritableLevelData
setSpawn
-
Method Details
-
getLevelName
String getLevelName() -
setThundering
void setThundering(boolean p_78623_) -
getRainTime
int getRainTime() -
setRainTime
void setRainTime(int p_78627_) -
setThunderTime
void setThunderTime(int p_78626_) -
getThunderTime
int getThunderTime() -
fillCrashReportCategory
- Specified by:
fillCrashReportCategory
in interfaceLevelData
-
getClearWeatherTime
int getClearWeatherTime() -
setClearWeatherTime
void setClearWeatherTime(int p_78616_) -
getWanderingTraderSpawnDelay
int getWanderingTraderSpawnDelay() -
setWanderingTraderSpawnDelay
void setWanderingTraderSpawnDelay(int p_78628_) -
getWanderingTraderSpawnChance
int getWanderingTraderSpawnChance() -
setWanderingTraderSpawnChance
void setWanderingTraderSpawnChance(int p_78629_) -
getWanderingTraderId
-
setWanderingTraderId
-
getGameType
GameType getGameType() -
setWorldBorder
-
getWorldBorder
WorldBorder.Settings getWorldBorder() -
isInitialized
boolean isInitialized() -
setInitialized
void setInitialized(boolean p_78625_) -
isAllowCommands
boolean isAllowCommands() -
setGameType
-
getScheduledEvents
TimerQueue<MinecraftServer> getScheduledEvents() -
setGameTime
void setGameTime(long p_78617_) -
setDayTime
void setDayTime(long p_78624_)
-