Package net.minecraft.world.level
Class UnmodifiableLevelProperties
java.lang.Object
net.minecraft.world.level.UnmodifiableLevelProperties
- All Implemented Interfaces:
- ServerWorldProperties,- MutableWorldProperties,- WorldProperties
- Mappings:
- Namespace - Name - named - net/minecraft/world/level/UnmodifiableLevelProperties- intermediary - net/minecraft/class_27- official - euz
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final SavePropertiesprivate final ServerWorldProperties
- 
Constructor SummaryConstructorsConstructorDescriptionUnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintintfloatintlonggetTime()longintintbooleanbooleanbooleanbooleanbooleanvoidpopulateCrashReport(CrashReportSection reportSection, HeightLimitView world) voidsetClearWeatherTime(int clearWeatherTime) voidsetGameMode(GameMode gameMode) voidsetInitialized(boolean initialized) voidsetRaining(boolean raining) voidsetRainTime(int rainTime) voidsetSpawnPos(BlockPos pos, float angle) 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 - named - saveProperties- Lnet/minecraft/world/level/UnmodifiableLevelProperties;saveProperties:Lnet/minecraft/world/SaveProperties;- intermediary - field_24179- Lnet/minecraft/class_27;field_24179:Lnet/minecraft/class_5219;- official - a- Leuz;a:Levm;
 
- 
worldProperties- Mappings:
- Namespace - Name - Mixin selector - named - worldProperties- Lnet/minecraft/world/level/UnmodifiableLevelProperties;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;- intermediary - field_139- Lnet/minecraft/class_27;field_139:Lnet/minecraft/class_5268;- official - b- Leuz;b:Levl;
 
 
- 
- 
Constructor Details- 
UnmodifiableLevelPropertiespublic UnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/level/UnmodifiableLevelProperties;<init>(Lnet/minecraft/world/SaveProperties;Lnet/minecraft/world/level/ServerWorldProperties;)V- intermediary - <init>- Lnet/minecraft/class_27;<init>(Lnet/minecraft/class_5219;Lnet/minecraft/class_5268;)V- official - <init>- Leuz;<init>(Levm;Levl;)V
 
 
- 
- 
Method Details- 
getSpawnPos- Specified by:
- getSpawnPosin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getSpawnPos- Lnet/minecraft/world/WorldProperties;getSpawnPos()Lnet/minecraft/util/math/BlockPos;- intermediary - method_56126- Lnet/minecraft/class_5217;method_56126()Lnet/minecraft/class_2338;- official - a- Levc;a()Lji;
 
- 
getSpawnAnglepublic float getSpawnAngle()- Specified by:
- getSpawnAnglein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getSpawnAngle- Lnet/minecraft/world/WorldProperties;getSpawnAngle()F- intermediary - method_30656- Lnet/minecraft/class_5217;method_30656()F- official - b- Levc;b()F
 
- 
getTimepublic long getTime()- Specified by:
- getTimein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getTime- Lnet/minecraft/world/WorldProperties;getTime()J- intermediary - method_188- Lnet/minecraft/class_5217;method_188()J- official - c- Levc;c()J
 
- 
getTimeOfDaypublic long getTimeOfDay()- Specified by:
- getTimeOfDayin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getTimeOfDay- Lnet/minecraft/world/WorldProperties;getTimeOfDay()J- intermediary - method_217- Lnet/minecraft/class_5217;method_217()J- official - d- Levc;d()J
 
- 
getLevelName- Specified by:
- getLevelNamein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getLevelName- Lnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;- intermediary - method_150- Lnet/minecraft/class_5268;method_150()Ljava/lang/String;- official - e- Levl;e()Ljava/lang/String;
 
- 
getClearWeatherTimepublic int getClearWeatherTime()- Specified by:
- getClearWeatherTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getClearWeatherTime- Lnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I- intermediary - method_155- Lnet/minecraft/class_5268;method_155()I- official - f- Levl;f()I
 
- 
setClearWeatherTimepublic void setClearWeatherTime(int clearWeatherTime) - Specified by:
- setClearWeatherTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setClearWeatherTime- Lnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V- intermediary - method_167- Lnet/minecraft/class_5268;method_167(I)V- official - a- Levl;a(I)V
 
- 
isThunderingpublic boolean isThundering()- Specified by:
- isThunderingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - isThundering- Lnet/minecraft/world/WorldProperties;isThundering()Z- intermediary - method_203- Lnet/minecraft/class_5217;method_203()Z- official - g- Levc;g()Z
 
- 
getThunderTimepublic int getThunderTime()- Specified by:
- getThunderTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getThunderTime- Lnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I- intermediary - method_145- Lnet/minecraft/class_5268;method_145()I- official - h- Levl;h()I
 
- 
isRainingpublic boolean isRaining()- Specified by:
- isRainingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - isRaining- Lnet/minecraft/world/WorldProperties;isRaining()Z- intermediary - method_156- Lnet/minecraft/class_5217;method_156()Z- official - i- Levc;i()Z
 
- 
getRainTimepublic int getRainTime()- Specified by:
- getRainTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getRainTime- Lnet/minecraft/world/level/ServerWorldProperties;getRainTime()I- intermediary - method_190- Lnet/minecraft/class_5268;method_190()I- official - j- Levl;j()I
 
- 
getGameMode- Specified by:
- getGameModein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getGameMode- Lnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;- intermediary - method_210- Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;- official - k- Levl;k()Ldgg;
 
- 
setTimepublic void setTime(long time) - Specified by:
- setTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setTime- Lnet/minecraft/world/level/ServerWorldProperties;setTime(J)V- intermediary - method_29034- Lnet/minecraft/class_5268;method_29034(J)V- official - a- Levl;a(J)V
 
- 
setTimeOfDaypublic void setTimeOfDay(long timeOfDay) - Specified by:
- setTimeOfDayin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setTimeOfDay- Lnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)V- intermediary - method_29035- Lnet/minecraft/class_5268;method_29035(J)V- official - b- Levl;b(J)V
 
- 
setSpawnPos- Specified by:
- setSpawnPosin interface- MutableWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setSpawnPos- Lnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V- intermediary - method_187- Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)V- official - a- Levn;a(Lji;F)V
 
- 
setThunderingpublic void setThundering(boolean thundering) - Specified by:
- setThunderingin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setThundering- Lnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V- intermediary - method_147- Lnet/minecraft/class_5268;method_147(Z)V- official - a- Levl;a(Z)V
 
- 
setThunderTimepublic void setThunderTime(int thunderTime) - Specified by:
- setThunderTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setThunderTime- Lnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V- intermediary - method_173- Lnet/minecraft/class_5268;method_173(I)V- official - b- Levl;b(I)V
 
- 
setRainingpublic void setRaining(boolean raining) - Specified by:
- setRainingin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setRaining- Lnet/minecraft/world/WorldProperties;setRaining(Z)V- intermediary - method_157- Lnet/minecraft/class_5217;method_157(Z)V- official - b- Levc;b(Z)V
 
- 
setRainTimepublic void setRainTime(int rainTime) - Specified by:
- setRainTimein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setRainTime- Lnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)V- intermediary - method_164- Lnet/minecraft/class_5268;method_164(I)V- official - c- Levl;c(I)V
 
- 
setGameMode- Specified by:
- setGameModein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setGameMode- Lnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)V- intermediary - method_193- Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)V- official - a- Levl;a(Ldgg;)V
 
- 
isHardcorepublic boolean isHardcore()- Specified by:
- isHardcorein interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - isHardcore- Lnet/minecraft/world/WorldProperties;isHardcore()Z- intermediary - method_152- Lnet/minecraft/class_5217;method_152()Z- official - l- Levc;l()Z
 
- 
areCommandsAllowedpublic boolean areCommandsAllowed()- Specified by:
- areCommandsAllowedin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - areCommandsAllowed- Lnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z- intermediary - method_194- Lnet/minecraft/class_5268;method_194()Z- official - m- Levl;m()Z
 
- 
isInitializedpublic boolean isInitialized()- Specified by:
- isInitializedin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - isInitialized- Lnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z- intermediary - method_222- Lnet/minecraft/class_5268;method_222()Z- official - n- Levl;n()Z
 
- 
setInitializedpublic void setInitialized(boolean initialized) - Specified by:
- setInitializedin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setInitialized- Lnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)V- intermediary - method_223- Lnet/minecraft/class_5268;method_223(Z)V- official - c- Levl;c(Z)V
 
- 
getGameRules- Specified by:
- getGameRulesin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getGameRules- Lnet/minecraft/world/level/ServerWorldProperties;getGameRules()Lnet/minecraft/world/GameRules;- intermediary - method_146- Lnet/minecraft/class_5268;method_146()Lnet/minecraft/class_1928;- official - o- Levl;o()Ldgf;
 
- 
getWorldBorder- Specified by:
- getWorldBorderin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getWorldBorder- Lnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;- intermediary - method_27422- Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;- official - p- Levl;p()Ldyo$c;
 
- 
setWorldBorder- Specified by:
- setWorldBorderin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setWorldBorder- Lnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)V- intermediary - method_27415- Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)V- official - a- Levl;a(Ldyo$c;)V
 
- 
getDifficulty- Specified by:
- getDifficultyin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getDifficulty- Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;- intermediary - method_207- Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;- official - q- Levc;q()Lbsi;
 
- 
isDifficultyLockedpublic boolean isDifficultyLocked()- Specified by:
- isDifficultyLockedin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - isDifficultyLocked- Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z- intermediary - method_197- Lnet/minecraft/class_5217;method_197()Z- official - r- Levc;r()Z
 
- 
getScheduledEvents- Specified by:
- getScheduledEventsin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getScheduledEvents- Lnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;- intermediary - method_143- Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;- official - s- Levl;s()Lfao;
 
- 
getWanderingTraderSpawnDelaypublic int getWanderingTraderSpawnDelay()- Specified by:
- getWanderingTraderSpawnDelayin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getWanderingTraderSpawnDelay- Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I- intermediary - method_18038- Lnet/minecraft/class_5268;method_18038()I- official - t- Levl;t()I
 
- 
setWanderingTraderSpawnDelaypublic void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Specified by:
- setWanderingTraderSpawnDelayin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setWanderingTraderSpawnDelay- Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V- intermediary - method_18041- Lnet/minecraft/class_5268;method_18041(I)V- official - d- Levl;d(I)V
 
- 
getWanderingTraderSpawnChancepublic int getWanderingTraderSpawnChance()- Specified by:
- getWanderingTraderSpawnChancein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getWanderingTraderSpawnChance- Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I- intermediary - method_18039- Lnet/minecraft/class_5268;method_18039()I- official - u- Levl;u()I
 
- 
setWanderingTraderSpawnChancepublic void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Specified by:
- setWanderingTraderSpawnChancein interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setWanderingTraderSpawnChance- Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V- intermediary - method_18042- Lnet/minecraft/class_5268;method_18042(I)V- official - e- Levl;e(I)V
 
- 
getWanderingTraderId- Specified by:
- getWanderingTraderIdin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - getWanderingTraderId- Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;- intermediary - method_35506- Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;- official - v- Levl;v()Ljava/util/UUID;
 
- 
setWanderingTraderId- Specified by:
- setWanderingTraderIdin interface- ServerWorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - setWanderingTraderId- Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)V- intermediary - method_18040- Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)V- official - a- Levl;a(Ljava/util/UUID;)V
 
- 
populateCrashReport- Specified by:
- populateCrashReportin interface- ServerWorldProperties
- Specified by:
- populateCrashReportin interface- WorldProperties
- Mappings:
- Namespace - Name - Mixin selector - named - populateCrashReport- Lnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)V- intermediary - method_151- Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)V- official - a- Levc;a(Lp;Ldgl;)V
 
 
-