Package net.minecraft.world.level
Interface ServerWorldProperties
- All Superinterfaces:
MutableWorldProperties,WorldProperties
- All Known Implementing Classes:
LevelProperties,UnmodifiableLevelProperties
public interface ServerWorldProperties extends MutableWorldProperties
- Mappings:
Namespace Name official deaintermediary net/minecraft/class_5268named net/minecraft/world/level/ServerWorldProperties
-
Method Summary
Modifier and Type Method Description booleanareCommandsAllowed()intgetClearWeatherTime()GameModegetGameMode()StringgetLevelName()intgetRainTime()Timer<MinecraftServer>getScheduledEvents()intgetThunderTime()intgetWanderingTraderSpawnChance()intgetWanderingTraderSpawnDelay()WorldBorder.PropertiesgetWorldBorder()booleanisInitialized()default 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 gLdea;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 aLdea;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 lLdea;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 fLdea;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 eLdea;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 jLdea;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 aLddr;a(Lm;Lbtx;)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 hLdea;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 aLdea;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 vLdea;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 gLdea;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 wLdea;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 hLdea;h(I)Vintermediary method_18042Lnet/minecraft/class_5268;method_18042(I)Vnamed setWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
-
setWanderingTraderId
- Mappings:
Namespace Name Mixin selector official aLdea;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 mLdea;m()Lbts;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 aLdea;a(Lcjj$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 rLdea;r()Lcjj$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 pLdea;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 cLdea;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 oLdea;o()Zintermediary method_194Lnet/minecraft/class_5268;method_194()Znamed areCommandsAllowedLnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
-
setGameMode
- Mappings:
Namespace Name Mixin selector official aLdea;a(Lbts;)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 uLdea;u()Ldim;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 aLdea;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 bLdea;b(J)Vintermediary method_29035Lnet/minecraft/class_5268;method_29035(J)Vnamed setTimeOfDayLnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V
-