Package net.minecraft.world.level
Class UnmodifiableLevelProperties
java.lang.Object
net.minecraft.world.level.UnmodifiableLevelProperties
- All Implemented Interfaces:
ServerWorldProperties,MutableWorldProperties,WorldProperties
- Mappings:
Namespace Name intermediary net/minecraft/class_27official dyqnamed net/minecraft/world/level/UnmodifiableLevelProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SavePropertiesprivate final ServerWorldProperties -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintfloatintintintintlonggetTime()longintintbooleanbooleanbooleanbooleanbooleanvoidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world) voidsetClearWeatherTime(int clearWeatherTime) voidsetGameMode(GameMode gameMode) voidsetInitialized(boolean initialized) voidsetRaining(boolean raining) voidsetRainTime(int rainTime) voidsetSpawnAngle(float spawnAngle) voidsetSpawnPos(BlockPos pos, float angle) voidsetSpawnX(int spawnX) voidsetSpawnY(int spawnY) voidsetSpawnZ(int spawnZ) 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)
-
Field Details
-
saveProperties
- Mappings:
Namespace Name Mixin selector intermediary field_24179Lnet/minecraft/class_27;field_24179:Lnet/minecraft/class_5219;official aLdyq;a:Ldzb;named savePropertiesLnet/minecraft/world/level/UnmodifiableLevelProperties;saveProperties:Lnet/minecraft/world/SaveProperties;
-
worldProperties
- Mappings:
Namespace Name Mixin selector intermediary field_139Lnet/minecraft/class_27;field_139:Lnet/minecraft/class_5268;official bLdyq;b:Ldza;named worldPropertiesLnet/minecraft/world/level/UnmodifiableLevelProperties;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;
-
-
Constructor Details
-
UnmodifiableLevelProperties
public UnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_27;<init>(Lnet/minecraft/class_5219;Lnet/minecraft/class_5268;)Vofficial <init>Ldyq;<init>(Ldzb;Ldza;)Vnamed <init>Lnet/minecraft/world/level/UnmodifiableLevelProperties;<init>(Lnet/minecraft/world/SaveProperties;Lnet/minecraft/world/level/ServerWorldProperties;)V
-
-
Method Details
-
getSpawnX
public int getSpawnX()- Specified by:
getSpawnXin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_215Lnet/minecraft/class_5217;method_215()Iofficial aLdys;a()Inamed getSpawnXLnet/minecraft/world/WorldProperties;getSpawnX()I
-
getSpawnY
public int getSpawnY()- Specified by:
getSpawnYin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_144Lnet/minecraft/class_5217;method_144()Iofficial bLdys;b()Inamed getSpawnYLnet/minecraft/world/WorldProperties;getSpawnY()I
-
getSpawnZ
public int getSpawnZ()- Specified by:
getSpawnZin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_166Lnet/minecraft/class_5217;method_166()Iofficial cLdys;c()Inamed getSpawnZLnet/minecraft/world/WorldProperties;getSpawnZ()I
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAnglein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_30656Lnet/minecraft/class_5217;method_30656()Fofficial dLdys;d()Fnamed getSpawnAngleLnet/minecraft/world/WorldProperties;getSpawnAngle()F
-
getTime
public long getTime()- Specified by:
getTimein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_188Lnet/minecraft/class_5217;method_188()Jofficial eLdys;e()Jnamed getTimeLnet/minecraft/world/WorldProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDayin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_217Lnet/minecraft/class_5217;method_217()Jofficial fLdys;f()Jnamed getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
getLevelName
- Specified by:
getLevelNamein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_150Lnet/minecraft/class_5268;method_150()Ljava/lang/String;official gLdza;g()Ljava/lang/String;named getLevelNameLnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_155Lnet/minecraft/class_5268;method_155()Iofficial hLdza;h()Inamed getClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I
-
setClearWeatherTime
public void setClearWeatherTime(int clearWeatherTime) - Specified by:
setClearWeatherTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_167Lnet/minecraft/class_5268;method_167(I)Vofficial aLdza;a(I)Vnamed setClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V
-
isThundering
public boolean isThundering()- Specified by:
isThunderingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_203Lnet/minecraft/class_5217;method_203()Zofficial iLdys;i()Znamed isThunderingLnet/minecraft/world/WorldProperties;isThundering()Z
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_145Lnet/minecraft/class_5268;method_145()Iofficial jLdza;j()Inamed getThunderTimeLnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I
-
isRaining
public boolean isRaining()- Specified by:
isRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_156Lnet/minecraft/class_5217;method_156()Zofficial kLdys;k()Znamed isRainingLnet/minecraft/world/WorldProperties;isRaining()Z
-
getRainTime
public int getRainTime()- Specified by:
getRainTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_190Lnet/minecraft/class_5268;method_190()Iofficial lLdza;l()Inamed getRainTimeLnet/minecraft/world/level/ServerWorldProperties;getRainTime()I
-
getGameMode
- Specified by:
getGameModein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_210Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;official mLdza;m()Lcmh;named getGameModeLnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;
-
setSpawnX
public void setSpawnX(int spawnX) - Specified by:
setSpawnXin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_27416Lnet/minecraft/class_5269;method_27416(I)Vofficial bLdzc;b(I)Vnamed setSpawnXLnet/minecraft/world/MutableWorldProperties;setSpawnX(I)V
-
setSpawnY
public void setSpawnY(int spawnY) - Specified by:
setSpawnYin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_27417Lnet/minecraft/class_5269;method_27417(I)Vofficial cLdzc;c(I)Vnamed setSpawnYLnet/minecraft/world/MutableWorldProperties;setSpawnY(I)V
-
setSpawnZ
public void setSpawnZ(int spawnZ) - Specified by:
setSpawnZin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_27419Lnet/minecraft/class_5269;method_27419(I)Vofficial dLdzc;d(I)Vnamed setSpawnZLnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
-
setSpawnAngle
public void setSpawnAngle(float spawnAngle) - Specified by:
setSpawnAnglein interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_30657Lnet/minecraft/class_5269;method_30657(F)Vofficial aLdzc;a(F)Vnamed setSpawnAngleLnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
-
setTime
public void setTime(long time) - Specified by:
setTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_29034Lnet/minecraft/class_5268;method_29034(J)Vofficial aLdza;a(J)Vnamed setTimeLnet/minecraft/world/level/ServerWorldProperties;setTime(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Specified by:
setTimeOfDayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_29035Lnet/minecraft/class_5268;method_29035(J)Vofficial bLdza;b(J)Vnamed setTimeOfDayLnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V
-
setSpawnPos
- Specified by:
setSpawnPosin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_187Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)Vofficial aLdzc;a(Lgu;F)Vnamed setSpawnPosLnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
-
setThundering
public void setThundering(boolean thundering) - Specified by:
setThunderingin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_147Lnet/minecraft/class_5268;method_147(Z)Vofficial aLdza;a(Z)Vnamed setThunderingLnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V
-
setThunderTime
public void setThunderTime(int thunderTime) - Specified by:
setThunderTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_173Lnet/minecraft/class_5268;method_173(I)Vofficial eLdza;e(I)Vnamed setThunderTimeLnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V
-
setRaining
public void setRaining(boolean raining) - Specified by:
setRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_157Lnet/minecraft/class_5217;method_157(Z)Vofficial bLdys;b(Z)Vnamed setRainingLnet/minecraft/world/WorldProperties;setRaining(Z)V
-
setRainTime
public void setRainTime(int rainTime) - Specified by:
setRainTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_164Lnet/minecraft/class_5268;method_164(I)Vofficial fLdza;f(I)Vnamed setRainTimeLnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)V
-
setGameMode
- Specified by:
setGameModein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_193Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)Vofficial aLdza;a(Lcmh;)Vnamed setGameModeLnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_152Lnet/minecraft/class_5217;method_152()Zofficial nLdys;n()Znamed isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Z
-
areCommandsAllowed
public boolean areCommandsAllowed()- Specified by:
areCommandsAllowedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_194Lnet/minecraft/class_5268;method_194()Zofficial oLdza;o()Znamed areCommandsAllowedLnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_222Lnet/minecraft/class_5268;method_222()Zofficial pLdza;p()Znamed isInitializedLnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z
-
setInitialized
public void setInitialized(boolean initialized) - Specified by:
setInitializedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_223Lnet/minecraft/class_5268;method_223(Z)Vofficial cLdza;c(Z)Vnamed setInitializedLnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)V
-
getGameRules
- Specified by:
getGameRulesin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_146Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;official qLdys;q()Lcmg;named getGameRulesLnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_27422Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;official rLdza;r()Lddp$c;named getWorldBorderLnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;
-
setWorldBorder
- Specified by:
setWorldBorderin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_27415Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)Vofficial aLdza;a(Lddp$c;)Vnamed setWorldBorderLnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)V
-
getDifficulty
- Specified by:
getDifficultyin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_207Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;official sLdys;s()Lbdt;named getDifficultyLnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLockedin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_197Lnet/minecraft/class_5217;method_197()Zofficial tLdys;t()Znamed isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
getScheduledEvents
- Specified by:
getScheduledEventsin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_143Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;official uLdza;u()Leds;named getScheduledEventsLnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_18038Lnet/minecraft/class_5268;method_18038()Iofficial vLdza;v()Inamed getWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Specified by:
setWanderingTraderSpawnDelayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_18041Lnet/minecraft/class_5268;method_18041(I)Vofficial gLdza;g(I)Vnamed setWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChancein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_18039Lnet/minecraft/class_5268;method_18039()Iofficial wLdza;w()Inamed getWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Specified by:
setWanderingTraderSpawnChancein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_18042Lnet/minecraft/class_5268;method_18042(I)Vofficial hLdza;h(I)Vnamed setWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
-
getWanderingTraderId
- Specified by:
getWanderingTraderIdin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_35506Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;official xLdza;x()Ljava/util/UUID;named getWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;
-
setWanderingTraderId
- Specified by:
setWanderingTraderIdin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_18040Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)Vofficial aLdza;a(Ljava/util/UUID;)Vnamed setWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)V
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceServerWorldProperties- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector intermediary method_151Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)Vofficial aLdys;a(Lp;Lcmm;)Vnamed populateCrashReportLnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
-