Package net.minecraft.world.level
Interface ServerWorldProperties
- All Superinterfaces:
MutableWorldProperties,WorldProperties
- All Known Implementing Classes:
LevelProperties,UnmodifiableLevelProperties
- Mappings:
Namespace Name official djsintermediary net/minecraft/class_5268named net/minecraft/world/level/ServerWorldProperties
-
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 uuid) voidsetWanderingTraderSpawnChance(int wanderingTraderSpawnChance) voidsetWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) voidsetWorldBorder(WorldBorder.Properties properties) Methods inherited from interface net.minecraft.world.MutableWorldProperties
setSpawnAngle, setSpawnPos, setSpawnX, setSpawnY, setSpawnZMethods inherited from interface net.minecraft.world.WorldProperties
getDifficulty, getGameRules, getSpawnAngle, getSpawnX, getSpawnY, getSpawnZ, getTime, getTimeOfDay, isDifficultyLocked, isHardcore, isRaining, isThundering, setRaining
-
Method Details
-
getLevelName
String getLevelName()- Mappings:
Namespace Name Mixin selector official gLdjs;g()Ljava/lang/String;intermediary method_150Lnet/minecraft/class_5268;method_150()Ljava/lang/String;named getLevelNameLnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;
-
setThundering
void setThundering(boolean thundering) - Mappings:
Namespace Name Mixin selector official aLdjs;a(Z)Vintermediary method_147Lnet/minecraft/class_5268;method_147(Z)Vnamed setThunderingLnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V
-
getRainTime
int getRainTime()- Mappings:
Namespace Name Mixin selector official lLdjs;l()Iintermediary method_190Lnet/minecraft/class_5268;method_190()Inamed getRainTimeLnet/minecraft/world/level/ServerWorldProperties;getRainTime()I
-
setRainTime
void setRainTime(int rainTime) - Mappings:
Namespace Name Mixin selector official fLdjs;f(I)Vintermediary method_164Lnet/minecraft/class_5268;method_164(I)Vnamed setRainTimeLnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)V
-
setThunderTime
void setThunderTime(int thunderTime) - Mappings:
Namespace Name Mixin selector official eLdjs;e(I)Vintermediary method_173Lnet/minecraft/class_5268;method_173(I)Vnamed setThunderTimeLnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V
-
getThunderTime
int getThunderTime()- Mappings:
Namespace Name Mixin selector official jLdjs;j()Iintermediary method_145Lnet/minecraft/class_5268;method_145()Inamed getThunderTimeLnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector official aLdjk;a(Lr;Lcaf;)Vintermediary method_151Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)Vnamed populateCrashReportLnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
-
getClearWeatherTime
int getClearWeatherTime()- Mappings:
Namespace Name Mixin selector official hLdjs;h()Iintermediary method_155Lnet/minecraft/class_5268;method_155()Inamed getClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I
-
setClearWeatherTime
void setClearWeatherTime(int clearWeatherTime) - Mappings:
Namespace Name Mixin selector official aLdjs;a(I)Vintermediary method_167Lnet/minecraft/class_5268;method_167(I)Vnamed setClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V
-
getWanderingTraderSpawnDelay
int getWanderingTraderSpawnDelay()- Mappings:
Namespace Name Mixin selector official vLdjs;v()Iintermediary method_18038Lnet/minecraft/class_5268;method_18038()Inamed getWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I
-
setWanderingTraderSpawnDelay
void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Mappings:
Namespace Name Mixin selector official gLdjs;g(I)Vintermediary method_18041Lnet/minecraft/class_5268;method_18041(I)Vnamed setWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V
-
getWanderingTraderSpawnChance
int getWanderingTraderSpawnChance()- Mappings:
Namespace Name Mixin selector official wLdjs;w()Iintermediary method_18039Lnet/minecraft/class_5268;method_18039()Inamed getWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I
-
setWanderingTraderSpawnChance
void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Mappings:
Namespace Name Mixin selector official hLdjs;h(I)Vintermediary method_18042Lnet/minecraft/class_5268;method_18042(I)Vnamed setWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
-
getWanderingTraderId
- Mappings:
Namespace Name Mixin selector official xLdjs;x()Ljava/util/UUID;intermediary method_35506Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;named getWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;
-
setWanderingTraderId
- Mappings:
Namespace Name Mixin selector official aLdjs;a(Ljava/util/UUID;)Vintermediary method_18040Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)Vnamed setWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)V
-
getGameMode
GameMode getGameMode()- Mappings:
Namespace Name Mixin selector official mLdjs;m()Lcaa;intermediary method_210Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;named getGameModeLnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;
-
setWorldBorder
- Mappings:
Namespace Name Mixin selector official aLdjs;a(Lcpt$c;)Vintermediary method_27415Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)Vnamed setWorldBorderLnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)V
-
getWorldBorder
WorldBorder.Properties getWorldBorder()- Mappings:
Namespace Name Mixin selector official rLdjs;r()Lcpt$c;intermediary method_27422Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;named getWorldBorderLnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;
-
isInitialized
boolean isInitialized()- Mappings:
Namespace Name Mixin selector official pLdjs;p()Zintermediary method_222Lnet/minecraft/class_5268;method_222()Znamed isInitializedLnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z
-
setInitialized
void setInitialized(boolean initialized) - Mappings:
Namespace Name Mixin selector official cLdjs;c(Z)Vintermediary method_223Lnet/minecraft/class_5268;method_223(Z)Vnamed setInitializedLnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)V
-
areCommandsAllowed
boolean areCommandsAllowed()- Mappings:
Namespace Name Mixin selector official oLdjs;o()Zintermediary method_194Lnet/minecraft/class_5268;method_194()Znamed areCommandsAllowedLnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLdjs;a(Lcaa;)Vintermediary method_193Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)Vnamed setGameModeLnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
-
getScheduledEvents
Timer<MinecraftServer> getScheduledEvents()- Mappings:
Namespace Name Mixin selector official uLdjs;u()Ldoe;intermediary method_143Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;named getScheduledEventsLnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;
-
setTime
void setTime(long time) - Mappings:
Namespace Name Mixin selector official aLdjs;a(J)Vintermediary method_29034Lnet/minecraft/class_5268;method_29034(J)Vnamed setTimeLnet/minecraft/world/level/ServerWorldProperties;setTime(J)V
-
setTimeOfDay
void setTimeOfDay(long timeOfDay) - Mappings:
Namespace Name Mixin selector official bLdjs;b(J)Vintermediary method_29035Lnet/minecraft/class_5268;method_29035(J)Vnamed setTimeOfDayLnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V
-