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 evl
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintintintbooleandefault 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(WorldBorder.Properties worldBorder) Methods inherited from interface net.minecraft.world.MutableWorldProperties
setSpawnPosMethods inherited from interface net.minecraft.world.WorldProperties
getDifficulty, getSpawnAngle, getSpawnPos, 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 eLevl;e()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 aLevl;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 jLevl;j()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 cLevl;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 bLevl;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 hLevl;h()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 aLevc;a(Lp;Ldgl;)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 fLevl;f()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 aLevl;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 tLevl;t()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 dLevl;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 uLevl;u()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 eLevl;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 vLevl;v()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 aLevl;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 kLevl;k()Ldgg;
-
setWorldBorder
- Mappings:
Namespace Name Mixin selector named setWorldBorderLnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)Vintermediary method_27415Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)Vofficial aLevl;a(Ldyo$c;)V
-
getWorldBorder
WorldBorder.Properties getWorldBorder()- Mappings:
Namespace Name Mixin selector named getWorldBorderLnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;intermediary method_27422Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;official pLevl;p()Ldyo$c;
-
isInitialized
boolean isInitialized()- Mappings:
Namespace Name Mixin selector named isInitializedLnet/minecraft/world/level/ServerWorldProperties;isInitialized()Zintermediary method_222Lnet/minecraft/class_5268;method_222()Zofficial nLevl;n()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 cLevl;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 mLevl;m()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 aLevl;a(Ldgg;)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 sLevl;s()Lfao;
-
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 aLevl;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 bLevl;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 oLevl;o()Ldgf;
-