Package net.minecraft.world.level
Class UnmodifiableLevelProperties
java.lang.Object
net.minecraft.world.level.UnmodifiableLevelProperties
- All Implemented Interfaces:
- ServerWorldProperties,- MutableWorldProperties,- WorldProperties
- Mappings:
- Namespace - Name - official - dyt- intermediary - net/minecraft/class_27- named - net/minecraft/world/level/UnmodifiableLevelProperties
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final SavePropertiesprivate final ServerWorldProperties
- 
Constructor SummaryConstructorsConstructorDescriptionUnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) 
- 
Method SummaryModifier 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 - official - a- Ldyt;a:Ldze;- intermediary - field_24179- Lnet/minecraft/class_27;field_24179:Lnet/minecraft/class_5219;- named - saveProperties- Lnet/minecraft/world/level/UnmodifiableLevelProperties;saveProperties:Lnet/minecraft/world/SaveProperties;
 
- 
worldProperties- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldyt;b:Ldzd;- intermediary - field_139- Lnet/minecraft/class_27;field_139:Lnet/minecraft/class_5268;- named - worldProperties- Lnet/minecraft/world/level/UnmodifiableLevelProperties;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;
 
 
- 
- 
Constructor Details- 
UnmodifiableLevelPropertiespublic UnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldyt;<init>(Ldze;Ldzd;)V- intermediary - <init>- Lnet/minecraft/class_27;<init>(Lnet/minecraft/class_5219;Lnet/minecraft/class_5268;)V- named - <init>- Lnet/minecraft/world/level/UnmodifiableLevelProperties;<init>(Lnet/minecraft/world/SaveProperties;Lnet/minecraft/world/level/ServerWorldProperties;)V
 
 
- 
- 
Method Details- 
getSpawnXpublic int getSpawnX()- Specified by:
- getSpawnXin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldyv;a()I- intermediary - method_215- Lnet/minecraft/class_5217;method_215()I- named - getSpawnX- Lnet/minecraft/world/WorldProperties;getSpawnX()I
 
- 
getSpawnYpublic int getSpawnY()- Specified by:
- getSpawnYin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldyv;b()I- intermediary - method_144- Lnet/minecraft/class_5217;method_144()I- named - getSpawnY- Lnet/minecraft/world/WorldProperties;getSpawnY()I
 
- 
getSpawnZpublic int getSpawnZ()- Specified by:
- getSpawnZin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldyv;c()I- intermediary - method_166- Lnet/minecraft/class_5217;method_166()I- named - getSpawnZ- Lnet/minecraft/world/WorldProperties;getSpawnZ()I
 
- 
getSpawnAnglepublic float getSpawnAngle()- Specified by:
- getSpawnAnglein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldyv;d()F- intermediary - method_30656- Lnet/minecraft/class_5217;method_30656()F- named - getSpawnAngle- Lnet/minecraft/world/WorldProperties;getSpawnAngle()F
 
- 
getTimepublic long getTime()- Specified by:
- getTimein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldyv;e()J- intermediary - method_188- Lnet/minecraft/class_5217;method_188()J- named - getTime- Lnet/minecraft/world/WorldProperties;getTime()J
 
- 
getTimeOfDaypublic long getTimeOfDay()- Specified by:
- getTimeOfDayin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldyv;f()J- intermediary - method_217- Lnet/minecraft/class_5217;method_217()J- named - getTimeOfDay- Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
 
- 
getLevelName- Specified by:
- getLevelNamein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldzd;g()Ljava/lang/String;- intermediary - method_150- Lnet/minecraft/class_5268;method_150()Ljava/lang/String;- named - getLevelName- Lnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;
 
- 
getClearWeatherTimepublic int getClearWeatherTime()- Specified by:
- getClearWeatherTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - h- Ldzd;h()I- intermediary - method_155- Lnet/minecraft/class_5268;method_155()I- named - getClearWeatherTime- Lnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I
 
- 
setClearWeatherTimepublic void setClearWeatherTime(int clearWeatherTime) - Specified by:
- setClearWeatherTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzd;a(I)V- intermediary - method_167- Lnet/minecraft/class_5268;method_167(I)V- named - setClearWeatherTime- Lnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V
 
- 
isThunderingpublic boolean isThundering()- Specified by:
- isThunderingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - i- Ldyv;i()Z- intermediary - method_203- Lnet/minecraft/class_5217;method_203()Z- named - isThundering- Lnet/minecraft/world/WorldProperties;isThundering()Z
 
- 
getThunderTimepublic int getThunderTime()- Specified by:
- getThunderTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - j- Ldzd;j()I- intermediary - method_145- Lnet/minecraft/class_5268;method_145()I- named - getThunderTime- Lnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I
 
- 
isRainingpublic boolean isRaining()- Specified by:
- isRainingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - k- Ldyv;k()Z- intermediary - method_156- Lnet/minecraft/class_5217;method_156()Z- named - isRaining- Lnet/minecraft/world/WorldProperties;isRaining()Z
 
- 
getRainTimepublic int getRainTime()- Specified by:
- getRainTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - l- Ldzd;l()I- intermediary - method_190- Lnet/minecraft/class_5268;method_190()I- named - getRainTime- Lnet/minecraft/world/level/ServerWorldProperties;getRainTime()I
 
- 
getGameMode- Specified by:
- getGameModein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - m- Ldzd;m()Lcmj;- intermediary - method_210- Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;- named - getGameMode- Lnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;
 
- 
setSpawnXpublic void setSpawnX(int spawnX) - Specified by:
- setSpawnXin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldzf;b(I)V- intermediary - method_27416- Lnet/minecraft/class_5269;method_27416(I)V- named - setSpawnX- Lnet/minecraft/world/MutableWorldProperties;setSpawnX(I)V
 
- 
setSpawnYpublic void setSpawnY(int spawnY) - Specified by:
- setSpawnYin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldzf;c(I)V- intermediary - method_27417- Lnet/minecraft/class_5269;method_27417(I)V- named - setSpawnY- Lnet/minecraft/world/MutableWorldProperties;setSpawnY(I)V
 
- 
setSpawnZpublic void setSpawnZ(int spawnZ) - Specified by:
- setSpawnZin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldzf;d(I)V- intermediary - method_27419- Lnet/minecraft/class_5269;method_27419(I)V- named - setSpawnZ- Lnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
 
- 
setSpawnAnglepublic void setSpawnAngle(float spawnAngle) - Specified by:
- setSpawnAnglein interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzf;a(F)V- intermediary - method_30657- Lnet/minecraft/class_5269;method_30657(F)V- named - setSpawnAngle- Lnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
 
- 
setTimepublic void setTime(long time) - Specified by:
- setTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzd;a(J)V- intermediary - method_29034- Lnet/minecraft/class_5268;method_29034(J)V- named - setTime- Lnet/minecraft/world/level/ServerWorldProperties;setTime(J)V
 
- 
setTimeOfDaypublic void setTimeOfDay(long timeOfDay) - Specified by:
- setTimeOfDayin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldzd;b(J)V- intermediary - method_29035- Lnet/minecraft/class_5268;method_29035(J)V- named - setTimeOfDay- Lnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V
 
- 
setSpawnPos- Specified by:
- setSpawnPosin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzf;a(Lgu;F)V- intermediary - method_187- Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)V- named - setSpawnPos- Lnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
 
- 
setThunderingpublic void setThundering(boolean thundering) - Specified by:
- setThunderingin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzd;a(Z)V- intermediary - method_147- Lnet/minecraft/class_5268;method_147(Z)V- named - setThundering- Lnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V
 
- 
setThunderTimepublic void setThunderTime(int thunderTime) - Specified by:
- setThunderTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldzd;e(I)V- intermediary - method_173- Lnet/minecraft/class_5268;method_173(I)V- named - setThunderTime- Lnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V
 
- 
setRainingpublic void setRaining(boolean raining) - Specified by:
- setRainingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldyv;b(Z)V- intermediary - method_157- Lnet/minecraft/class_5217;method_157(Z)V- named - setRaining- Lnet/minecraft/world/WorldProperties;setRaining(Z)V
 
- 
setRainTimepublic void setRainTime(int rainTime) - Specified by:
- setRainTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldzd;f(I)V- intermediary - method_164- Lnet/minecraft/class_5268;method_164(I)V- named - setRainTime- Lnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)V
 
- 
setGameMode- Specified by:
- setGameModein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzd;a(Lcmj;)V- intermediary - method_193- Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)V- named - setGameMode- Lnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)V
 
- 
isHardcorepublic boolean isHardcore()- Specified by:
- isHardcorein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - n- Ldyv;n()Z- intermediary - method_152- Lnet/minecraft/class_5217;method_152()Z- named - isHardcore- Lnet/minecraft/world/WorldProperties;isHardcore()Z
 
- 
areCommandsAllowedpublic boolean areCommandsAllowed()- Specified by:
- areCommandsAllowedin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - o- Ldzd;o()Z- intermediary - method_194- Lnet/minecraft/class_5268;method_194()Z- named - areCommandsAllowed- Lnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
 
- 
isInitializedpublic boolean isInitialized()- Specified by:
- isInitializedin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - p- Ldzd;p()Z- intermediary - method_222- Lnet/minecraft/class_5268;method_222()Z- named - isInitialized- Lnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z
 
- 
setInitializedpublic void setInitialized(boolean initialized) - Specified by:
- setInitializedin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldzd;c(Z)V- intermediary - method_223- Lnet/minecraft/class_5268;method_223(Z)V- named - setInitialized- Lnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)V
 
- 
getGameRules- Specified by:
- getGameRulesin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - q- Ldyv;q()Lcmi;- intermediary - method_146- Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;- named - getGameRules- Lnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
 
- 
getWorldBorder- Specified by:
- getWorldBorderin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - r- Ldzd;r()Ldds$c;- intermediary - method_27422- Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;- named - getWorldBorder- Lnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;
 
- 
setWorldBorder- Specified by:
- setWorldBorderin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzd;a(Ldds$c;)V- intermediary - method_27415- Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)V- named - setWorldBorder- Lnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)V
 
- 
getDifficulty- Specified by:
- getDifficultyin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - s- Ldyv;s()Lbdu;- intermediary - method_207- Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;- named - getDifficulty- Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
 
- 
isDifficultyLockedpublic boolean isDifficultyLocked()- Specified by:
- isDifficultyLockedin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - t- Ldyv;t()Z- intermediary - method_197- Lnet/minecraft/class_5217;method_197()Z- named - isDifficultyLocked- Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
 
- 
getScheduledEvents- Specified by:
- getScheduledEventsin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - u- Ldzd;u()Ledv;- intermediary - method_143- Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;- named - getScheduledEvents- Lnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;
 
- 
getWanderingTraderSpawnDelaypublic int getWanderingTraderSpawnDelay()- Specified by:
- getWanderingTraderSpawnDelayin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - v- Ldzd;v()I- intermediary - method_18038- Lnet/minecraft/class_5268;method_18038()I- named - getWanderingTraderSpawnDelay- Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I
 
- 
setWanderingTraderSpawnDelaypublic void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Specified by:
- setWanderingTraderSpawnDelayin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldzd;g(I)V- intermediary - method_18041- Lnet/minecraft/class_5268;method_18041(I)V- named - setWanderingTraderSpawnDelay- Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V
 
- 
getWanderingTraderSpawnChancepublic int getWanderingTraderSpawnChance()- Specified by:
- getWanderingTraderSpawnChancein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - w- Ldzd;w()I- intermediary - method_18039- Lnet/minecraft/class_5268;method_18039()I- named - getWanderingTraderSpawnChance- Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I
 
- 
setWanderingTraderSpawnChancepublic void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Specified by:
- setWanderingTraderSpawnChancein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - h- Ldzd;h(I)V- intermediary - method_18042- Lnet/minecraft/class_5268;method_18042(I)V- named - setWanderingTraderSpawnChance- Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
 
- 
getWanderingTraderId- Specified by:
- getWanderingTraderIdin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - x- Ldzd;x()Ljava/util/UUID;- intermediary - method_35506- Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;- named - getWanderingTraderId- Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;
 
- 
setWanderingTraderId- Specified by:
- setWanderingTraderIdin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldzd;a(Ljava/util/UUID;)V- intermediary - method_18040- Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)V- named - setWanderingTraderId- Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)V
 
- 
populateCrashReport- Specified by:
- populateCrashReportin interface- ServerWorldProperties
- Specified by:
- populateCrashReportin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldyv;a(Lp;Lcmo;)V- intermediary - method_151- Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)V- named - populateCrashReport- Lnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V
 
 
-