Package net.minecraft.world.level
Interface ServerWorldProperties
- All Superinterfaces:
MutableWorldProperties,WorldProperties
- All Known Implementing Classes:
LevelProperties,UnmodifiableLevelProperties
- Mappings:
Namespace Name named net/minecraft/world/level/ServerWorldPropertiesintermediary net/minecraft/class_5268official fim
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.WorldProperties
WorldProperties.SpawnPoint -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintintintDeprecated.booleandefault voidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world) voidsetClearWeatherTime(int clearWeatherTime) voidsetGameMode(GameMode gameMode) voidsetInitialized(boolean initialized) voidsetRainTime(int rainTime) voidsetThundering(boolean thundering) voidsetThunderTime(int thunderTime) voidsetTime(long time) voidsetTimeOfDay(long timeOfDay) voidsetWanderingTraderId(UUID wanderingTraderId) voidsetWanderingTraderSpawnChance(int wanderingTraderSpawnChance) voidsetWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) voidsetWorldBorder(Optional<WorldBorder.Properties> worldBorder) Deprecated.Methods inherited from interface net.minecraft.world.MutableWorldProperties
setSpawnPointMethods inherited from interface net.minecraft.world.WorldProperties
getDifficulty, getSpawnPoint, getTime, getTimeOfDay, isDifficultyLocked, isHardcore, isRaining, isThundering, setRaining
-
Method Details
-
getLevelName
String getLevelName()- Mappings:
Namespace Name Mixin selector named getLevelNameLnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;intermediary method_150Lnet/minecraft/class_5268;method_150()Ljava/lang/String;official dLfim;d()Ljava/lang/String;
-
setThundering
void setThundering(boolean thundering) - Mappings:
Namespace Name Mixin selector named setThunderingLnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)Vintermediary method_147Lnet/minecraft/class_5268;method_147(Z)Vofficial aLfim;a(Z)V
-
getRainTime
int getRainTime()- Mappings:
Namespace Name Mixin selector named getRainTimeLnet/minecraft/world/level/ServerWorldProperties;getRainTime()Iintermediary method_190Lnet/minecraft/class_5268;method_190()Iofficial iLfim;i()I
-
setRainTime
void setRainTime(int rainTime) - Mappings:
Namespace Name Mixin selector named setRainTimeLnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)Vintermediary method_164Lnet/minecraft/class_5268;method_164(I)Vofficial cLfim;c(I)V
-
setThunderTime
void setThunderTime(int thunderTime) - Mappings:
Namespace Name Mixin selector named setThunderTimeLnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)Vintermediary method_173Lnet/minecraft/class_5268;method_173(I)Vofficial bLfim;b(I)V
-
getThunderTime
int getThunderTime()- Mappings:
Namespace Name Mixin selector named getThunderTimeLnet/minecraft/world/level/ServerWorldProperties;getThunderTime()Iintermediary method_145Lnet/minecraft/class_5268;method_145()Iofficial gLfim;g()I
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named populateCrashReportLnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)Vintermediary method_151Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)Vofficial aLfid;a(Lq;Ldrs;)V
-
getClearWeatherTime
int getClearWeatherTime()- Mappings:
Namespace Name Mixin selector named getClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()Iintermediary method_155Lnet/minecraft/class_5268;method_155()Iofficial eLfim;e()I
-
setClearWeatherTime
void setClearWeatherTime(int clearWeatherTime) - Mappings:
Namespace Name Mixin selector named setClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)Vintermediary method_167Lnet/minecraft/class_5268;method_167(I)Vofficial aLfim;a(I)V
-
getWanderingTraderSpawnDelay
int getWanderingTraderSpawnDelay()- Mappings:
Namespace Name Mixin selector named getWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()Iintermediary method_18038Lnet/minecraft/class_5268;method_18038()Iofficial sLfim;s()I
-
setWanderingTraderSpawnDelay
void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Mappings:
Namespace Name Mixin selector named setWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)Vintermediary method_18041Lnet/minecraft/class_5268;method_18041(I)Vofficial dLfim;d(I)V
-
getWanderingTraderSpawnChance
int getWanderingTraderSpawnChance()- Mappings:
Namespace Name Mixin selector named getWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()Iintermediary method_18039Lnet/minecraft/class_5268;method_18039()Iofficial tLfim;t()I
-
setWanderingTraderSpawnChance
void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Mappings:
Namespace Name Mixin selector named setWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)Vintermediary method_18042Lnet/minecraft/class_5268;method_18042(I)Vofficial eLfim;e(I)V
-
getWanderingTraderId
- Mappings:
Namespace Name Mixin selector named getWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;intermediary method_35506Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;official uLfim;u()Ljava/util/UUID;
-
setWanderingTraderId
- Mappings:
Namespace Name Mixin selector named setWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)Vintermediary method_18040Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)Vofficial aLfim;a(Ljava/util/UUID;)V
-
getGameMode
GameMode getGameMode()- Mappings:
Namespace Name Mixin selector named getGameModeLnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;intermediary method_210Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;official jLfim;j()Ldrn;
-
getWorldBorder
Deprecated.- Mappings:
Namespace Name Mixin selector named getWorldBorderLnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Ljava/util/Optional;intermediary method_27422Lnet/minecraft/class_5268;method_27422()Ljava/util/Optional;official oLfim;o()Ljava/util/Optional;
-
setWorldBorder
Deprecated.- Mappings:
Namespace Name Mixin selector named setWorldBorderLnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Ljava/util/Optional;)Vintermediary method_27415Lnet/minecraft/class_5268;method_27415(Ljava/util/Optional;)Vofficial aLfim;a(Ljava/util/Optional;)V
-
isInitialized
boolean isInitialized()- Mappings:
Namespace Name Mixin selector named isInitializedLnet/minecraft/world/level/ServerWorldProperties;isInitialized()Zintermediary method_222Lnet/minecraft/class_5268;method_222()Zofficial mLfim;m()Z
-
setInitialized
void setInitialized(boolean initialized) - Mappings:
Namespace Name Mixin selector named setInitializedLnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)Vintermediary method_223Lnet/minecraft/class_5268;method_223(Z)Vofficial cLfim;c(Z)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector named areCommandsAllowedLnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Zintermediary method_194Lnet/minecraft/class_5268;method_194()Zofficial lLfim;l()Z
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameModeLnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)Vintermediary method_193Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)Vofficial aLfim;a(Ldrn;)V
-
getScheduledEvents
Timer<MinecraftServer> getScheduledEvents()- Mappings:
Namespace Name Mixin selector named getScheduledEventsLnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;intermediary method_143Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;official rLfim;r()Lfnu;
-
setTime
void setTime(long time) - Mappings:
Namespace Name Mixin selector named setTimeLnet/minecraft/world/level/ServerWorldProperties;setTime(J)Vintermediary method_29034Lnet/minecraft/class_5268;method_29034(J)Vofficial aLfim;a(J)V
-
setTimeOfDay
void setTimeOfDay(long timeOfDay) - Mappings:
Namespace Name Mixin selector named setTimeOfDayLnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)Vintermediary method_29035Lnet/minecraft/class_5268;method_29035(J)Vofficial bLfim;b(J)V
-
getGameRules
GameRules getGameRules()- Mappings:
Namespace Name Mixin selector named getGameRulesLnet/minecraft/world/level/ServerWorldProperties;getGameRules()Lnet/minecraft/world/GameRules;intermediary method_146Lnet/minecraft/class_5268;method_146()Lnet/minecraft/class_1928;official nLfim;n()Ldrm;
-