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/UnmodifiableLevelPropertiesintermediary net/minecraft/class_27official fdz
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SavePropertiesprivate final ServerWorldProperties -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintfloatintlonggetTime()longintintbooleanbooleanbooleanbooleanbooleanmethod_70218(Random random) booleanmethod_70219(class_11105 class_11105) voidmethod_70220(class_11109 class_11109) voidmethod_70221(Optional<class_11105> optional, boolean bool) voidmethod_70222(class_11105 class_11105) booleanmethod_70223(class_11109 class_11109) voidmethod_70224(int int2) intintintintvoidpopulateCrashReport(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 savePropertiesLnet/minecraft/world/level/UnmodifiableLevelProperties;saveProperties:Lnet/minecraft/world/SaveProperties;intermediary field_24179Lnet/minecraft/class_27;field_24179:Lnet/minecraft/class_5219;official aLfdz;a:Lfem;
-
worldProperties
- Mappings:
Namespace Name Mixin selector named worldPropertiesLnet/minecraft/world/level/UnmodifiableLevelProperties;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;intermediary field_139Lnet/minecraft/class_27;field_139:Lnet/minecraft/class_5268;official bLfdz;b:Lfel;
-
-
Constructor Details
-
UnmodifiableLevelProperties
public 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;)Vintermediary <init>Lnet/minecraft/class_27;<init>(Lnet/minecraft/class_5219;Lnet/minecraft/class_5268;)Vofficial <init>Lfdz;<init>(Lfem;Lfel;)V
-
-
Method Details
-
getSpawnPos
- Specified by:
getSpawnPosin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getSpawnPosLnet/minecraft/world/WorldProperties;getSpawnPos()Lnet/minecraft/util/math/BlockPos;intermediary method_56126Lnet/minecraft/class_5217;method_56126()Lnet/minecraft/class_2338;official aLfec;a()Lix;
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAnglein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getSpawnAngleLnet/minecraft/world/WorldProperties;getSpawnAngle()Fintermediary method_30656Lnet/minecraft/class_5217;method_30656()Fofficial bLfec;b()F
-
getTime
public long getTime()- Specified by:
getTimein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getTimeLnet/minecraft/world/WorldProperties;getTime()Jintermediary method_188Lnet/minecraft/class_5217;method_188()Jofficial cLfec;c()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDayin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getTimeOfDayLnet/minecraft/world/WorldProperties;getTimeOfDay()Jintermediary method_217Lnet/minecraft/class_5217;method_217()Jofficial dLfec;d()J
-
getLevelName
- Specified by:
getLevelNamein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getLevelNameLnet/minecraft/world/level/ServerWorldProperties;getLevelName()Ljava/lang/String;intermediary method_150Lnet/minecraft/class_5268;method_150()Ljava/lang/String;official eLfel;e()Ljava/lang/String;
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()Iintermediary method_155Lnet/minecraft/class_5268;method_155()Iofficial fLfel;f()I
-
setClearWeatherTime
public void setClearWeatherTime(int clearWeatherTime) - Specified by:
setClearWeatherTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setClearWeatherTimeLnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)Vintermediary method_167Lnet/minecraft/class_5268;method_167(I)Vofficial aLfel;a(I)V
-
isThundering
public boolean isThundering()- Specified by:
isThunderingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isThunderingLnet/minecraft/world/WorldProperties;isThundering()Zintermediary method_203Lnet/minecraft/class_5217;method_203()Zofficial gLfec;g()Z
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getThunderTimeLnet/minecraft/world/level/ServerWorldProperties;getThunderTime()Iintermediary method_145Lnet/minecraft/class_5268;method_145()Iofficial hLfel;h()I
-
isRaining
public boolean isRaining()- Specified by:
isRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isRainingLnet/minecraft/world/WorldProperties;isRaining()Zintermediary method_156Lnet/minecraft/class_5217;method_156()Zofficial iLfec;i()Z
-
getRainTime
public int getRainTime()- Specified by:
getRainTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getRainTimeLnet/minecraft/world/level/ServerWorldProperties;getRainTime()Iintermediary method_190Lnet/minecraft/class_5268;method_190()Iofficial jLfel;j()I
-
getGameMode
- Specified by:
getGameModein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getGameModeLnet/minecraft/world/level/ServerWorldProperties;getGameMode()Lnet/minecraft/world/GameMode;intermediary method_210Lnet/minecraft/class_5268;method_210()Lnet/minecraft/class_1934;official kLfel;k()Ldmv;
-
setTime
public void setTime(long time) - Specified by:
setTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setTimeLnet/minecraft/world/level/ServerWorldProperties;setTime(J)Vintermediary method_29034Lnet/minecraft/class_5268;method_29034(J)Vofficial aLfel;a(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Specified by:
setTimeOfDayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setTimeOfDayLnet/minecraft/world/level/ServerWorldProperties;setTimeOfDay(J)Vintermediary method_29035Lnet/minecraft/class_5268;method_29035(J)Vofficial bLfel;b(J)V
-
setSpawnPos
- Specified by:
setSpawnPosin interfaceMutableWorldProperties- Mappings:
Namespace Name Mixin selector named setSpawnPosLnet/minecraft/world/MutableWorldProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)Vintermediary method_187Lnet/minecraft/class_5269;method_187(Lnet/minecraft/class_2338;F)Vofficial aLfen;a(Lix;F)V
-
setThundering
public void setThundering(boolean thundering) - Specified by:
setThunderingin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setThunderingLnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)Vintermediary method_147Lnet/minecraft/class_5268;method_147(Z)Vofficial aLfel;a(Z)V
-
setThunderTime
public void setThunderTime(int thunderTime) - Specified by:
setThunderTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setThunderTimeLnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)Vintermediary method_173Lnet/minecraft/class_5268;method_173(I)Vofficial bLfel;b(I)V
-
setRaining
public void setRaining(boolean raining) - Specified by:
setRainingin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named setRainingLnet/minecraft/world/WorldProperties;setRaining(Z)Vintermediary method_157Lnet/minecraft/class_5217;method_157(Z)Vofficial bLfec;b(Z)V
-
setRainTime
public void setRainTime(int rainTime) - Specified by:
setRainTimein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setRainTimeLnet/minecraft/world/level/ServerWorldProperties;setRainTime(I)Vintermediary method_164Lnet/minecraft/class_5268;method_164(I)Vofficial cLfel;c(I)V
-
setGameMode
- Specified by:
setGameModein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setGameModeLnet/minecraft/world/level/ServerWorldProperties;setGameMode(Lnet/minecraft/world/GameMode;)Vintermediary method_193Lnet/minecraft/class_5268;method_193(Lnet/minecraft/class_1934;)Vofficial aLfel;a(Ldmv;)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcorein interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isHardcoreLnet/minecraft/world/WorldProperties;isHardcore()Zintermediary method_152Lnet/minecraft/class_5217;method_152()Zofficial lLfec;l()Z
-
areCommandsAllowed
public boolean areCommandsAllowed()- Specified by:
areCommandsAllowedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named areCommandsAllowedLnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Zintermediary method_194Lnet/minecraft/class_5268;method_194()Zofficial mLfel;m()Z
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named isInitializedLnet/minecraft/world/level/ServerWorldProperties;isInitialized()Zintermediary method_222Lnet/minecraft/class_5268;method_222()Zofficial nLfel;n()Z
-
setInitialized
public void setInitialized(boolean initialized) - Specified by:
setInitializedin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setInitializedLnet/minecraft/world/level/ServerWorldProperties;setInitialized(Z)Vintermediary method_223Lnet/minecraft/class_5268;method_223(Z)Vofficial cLfel;c(Z)V
-
getGameRules
- Specified by:
getGameRulesin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getGameRulesLnet/minecraft/world/level/ServerWorldProperties;getGameRules()Lnet/minecraft/world/GameRules;intermediary method_146Lnet/minecraft/class_5268;method_146()Lnet/minecraft/class_1928;official oLfel;o()Ldmu;
-
method_70225
public int method_70225()- Specified by:
method_70225in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70225Lnet/minecraft/world/level/ServerWorldProperties;method_70225()Iintermediary method_70225Lnet/minecraft/class_5268;method_70225()Iofficial pLfel;p()I
-
method_70226
public int method_70226()- Specified by:
method_70226in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70226Lnet/minecraft/world/level/ServerWorldProperties;method_70226()Iintermediary method_70226Lnet/minecraft/class_5268;method_70226()Iofficial qLfel;q()I
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getWorldBorderLnet/minecraft/world/level/ServerWorldProperties;getWorldBorder()Lnet/minecraft/world/border/WorldBorder$Properties;intermediary method_27422Lnet/minecraft/class_5268;method_27422()Lnet/minecraft/class_2784$class_5200;official rLfel;r()Legk$d;
-
setWorldBorder
- Specified by:
setWorldBorderin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setWorldBorderLnet/minecraft/world/level/ServerWorldProperties;setWorldBorder(Lnet/minecraft/world/border/WorldBorder$Properties;)Vintermediary method_27415Lnet/minecraft/class_5268;method_27415(Lnet/minecraft/class_2784$class_5200;)Vofficial aLfel;a(Legk$d;)V
-
getDifficulty
- Specified by:
getDifficultyin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named getDifficultyLnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;intermediary method_207Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;official sLfec;s()Lbvy;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLockedin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named isDifficultyLockedLnet/minecraft/world/WorldProperties;isDifficultyLocked()Zintermediary method_197Lnet/minecraft/class_5217;method_197()Zofficial tLfec;t()Z
-
method_70220
- Specified by:
method_70220in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70220Lnet/minecraft/world/level/ServerWorldProperties;method_70220(Lnet/minecraft/class_11109;)Vintermediary method_70220Lnet/minecraft/class_5268;method_70220(Lnet/minecraft/class_11109;)Vofficial aLfel;a(Lfca;)V
-
method_70223
- Specified by:
method_70223in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70223Lnet/minecraft/world/level/ServerWorldProperties;method_70223(Lnet/minecraft/class_11109;)Zintermediary method_70223Lnet/minecraft/class_5268;method_70223(Lnet/minecraft/class_11109;)Zofficial bLfel;b(Lfca;)Z
-
method_70219
- Specified by:
method_70219in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70219Lnet/minecraft/world/level/ServerWorldProperties;method_70219(Lnet/minecraft/class_11105;)Zintermediary method_70219Lnet/minecraft/class_5268;method_70219(Lnet/minecraft/class_11105;)Zofficial aLfel;a(Lfbx;)Z
-
method_70222
- Specified by:
method_70222in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70222Lnet/minecraft/world/level/ServerWorldProperties;method_70222(Lnet/minecraft/class_11105;)Vintermediary method_70222Lnet/minecraft/class_5268;method_70222(Lnet/minecraft/class_11105;)Vofficial bLfel;b(Lfbx;)V
-
method_70221
- Specified by:
method_70221in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70221Lnet/minecraft/world/level/ServerWorldProperties;method_70221(Ljava/util/Optional;Z)Vintermediary method_70221Lnet/minecraft/class_5268;method_70221(Ljava/util/Optional;Z)Vofficial aLfel;a(Ljava/util/Optional;Z)V
-
method_70218
- Specified by:
method_70218in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70218Lnet/minecraft/world/level/ServerWorldProperties;method_70218(Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;intermediary method_70218Lnet/minecraft/class_5268;method_70218(Lnet/minecraft/class_5819;)Ljava/util/Optional;official aLfel;a(Lbbg;)Ljava/util/Optional;
-
method_70227
public int method_70227()- Specified by:
method_70227in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70227Lnet/minecraft/world/level/ServerWorldProperties;method_70227()Iintermediary method_70227Lnet/minecraft/class_5268;method_70227()Iofficial uLfel;u()I
-
method_70228
public int method_70228()- Specified by:
method_70228in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70228Lnet/minecraft/world/level/ServerWorldProperties;method_70228()Iintermediary method_70228Lnet/minecraft/class_5268;method_70228()Iofficial vLfel;v()I
-
method_70224
public void method_70224(int int2) - Specified by:
method_70224in interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named method_70224Lnet/minecraft/world/level/ServerWorldProperties;method_70224(I)Vintermediary method_70224Lnet/minecraft/class_5268;method_70224(I)Vofficial dLfel;d(I)V
-
getScheduledEvents
- Specified by:
getScheduledEventsin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getScheduledEventsLnet/minecraft/world/level/ServerWorldProperties;getScheduledEvents()Lnet/minecraft/world/timer/Timer;intermediary method_143Lnet/minecraft/class_5268;method_143()Lnet/minecraft/class_236;official wLfel;w()Lfjo;
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()Iintermediary method_18038Lnet/minecraft/class_5268;method_18038()Iofficial xLfel;x()I
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Specified by:
setWanderingTraderSpawnDelayin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setWanderingTraderSpawnDelayLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)Vintermediary method_18041Lnet/minecraft/class_5268;method_18041(I)Vofficial eLfel;e(I)V
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChancein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()Iintermediary method_18039Lnet/minecraft/class_5268;method_18039()Iofficial yLfel;y()I
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Specified by:
setWanderingTraderSpawnChancein interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setWanderingTraderSpawnChanceLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)Vintermediary method_18042Lnet/minecraft/class_5268;method_18042(I)Vofficial fLfel;f(I)V
-
getWanderingTraderId
- Specified by:
getWanderingTraderIdin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named getWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderId()Ljava/util/UUID;intermediary method_35506Lnet/minecraft/class_5268;method_35506()Ljava/util/UUID;official zLfel;z()Ljava/util/UUID;
-
setWanderingTraderId
- Specified by:
setWanderingTraderIdin interfaceServerWorldProperties- Mappings:
Namespace Name Mixin selector named setWanderingTraderIdLnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderId(Ljava/util/UUID;)Vintermediary method_18040Lnet/minecraft/class_5268;method_18040(Ljava/util/UUID;)Vofficial aLfel;a(Ljava/util/UUID;)V
-
populateCrashReport
- Specified by:
populateCrashReportin interfaceServerWorldProperties- Specified by:
populateCrashReportin interfaceWorldProperties- Mappings:
Namespace Name Mixin selector named populateCrashReportLnet/minecraft/world/WorldProperties;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;)Vintermediary method_151Lnet/minecraft/class_5217;method_151(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;)Vofficial aLfec;a(Lq;Ldna;)V
-