Package net.minecraft.world.level
Class UnmodifiableLevelProperties
java.lang.Object
net.minecraft.world.level.UnmodifiableLevelProperties
- All Implemented Interfaces:
ServerWorldProperties
,MutableWorldProperties
,WorldProperties
public class UnmodifiableLevelProperties extends Object implements ServerWorldProperties
- Mappings:
Namespace Name official ddp
intermediary net/minecraft/class_27
named net/minecraft/world/level/UnmodifiableLevelProperties
-
Field Summary
Fields Modifier and Type Field Description private SaveProperties
saveProperties
private ServerWorldProperties
worldProperties
-
Constructor Summary
Constructors Constructor Description UnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties)
-
Method Summary
-
Field Details
-
saveProperties
- Mappings:
Namespace Name Mixin selector official a
Lddp;a:Ldeb;
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
Lddp;b:Ldea;
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
-
UnmodifiableLevelProperties
public UnmodifiableLevelProperties(SaveProperties saveProperties, ServerWorldProperties worldProperties)- Mappings:
Namespace Name Mixin selector official <init>
Lddp;<init>(Ldeb;Ldea;)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
-
getSpawnX
public int getSpawnX()- Specified by:
getSpawnX
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Lddr;a()I
intermediary method_215
Lnet/minecraft/class_5217;method_215()I
named getSpawnX
Lnet/minecraft/world/WorldProperties;getSpawnX()I
-
getSpawnY
public int getSpawnY()- Specified by:
getSpawnY
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official b
Lddr;b()I
intermediary method_144
Lnet/minecraft/class_5217;method_144()I
named getSpawnY
Lnet/minecraft/world/WorldProperties;getSpawnY()I
-
getSpawnZ
public int getSpawnZ()- Specified by:
getSpawnZ
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official c
Lddr;c()I
intermediary method_166
Lnet/minecraft/class_5217;method_166()I
named getSpawnZ
Lnet/minecraft/world/WorldProperties;getSpawnZ()I
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAngle
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official d
Lddr;d()F
intermediary method_30656
Lnet/minecraft/class_5217;method_30656()F
named getSpawnAngle
Lnet/minecraft/world/WorldProperties;getSpawnAngle()F
-
getTime
public long getTime()- Specified by:
getTime
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official e
Lddr;e()J
intermediary method_188
Lnet/minecraft/class_5217;method_188()J
named getTime
Lnet/minecraft/world/WorldProperties;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDay
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official f
Lddr;f()J
intermediary method_217
Lnet/minecraft/class_5217;method_217()J
named getTimeOfDay
Lnet/minecraft/world/WorldProperties;getTimeOfDay()J
-
getLevelName
- Specified by:
getLevelName
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official g
Ldea;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;
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official h
Ldea;h()I
intermediary method_155
Lnet/minecraft/class_5268;method_155()I
named getClearWeatherTime
Lnet/minecraft/world/level/ServerWorldProperties;getClearWeatherTime()I
-
setClearWeatherTime
public void setClearWeatherTime(int clearWeatherTime)- Specified by:
setClearWeatherTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldea;a(I)V
intermediary method_167
Lnet/minecraft/class_5268;method_167(I)V
named setClearWeatherTime
Lnet/minecraft/world/level/ServerWorldProperties;setClearWeatherTime(I)V
-
isThundering
public boolean isThundering()- Specified by:
isThundering
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official i
Lddr;i()Z
intermediary method_203
Lnet/minecraft/class_5217;method_203()Z
named isThundering
Lnet/minecraft/world/WorldProperties;isThundering()Z
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official j
Ldea;j()I
intermediary method_145
Lnet/minecraft/class_5268;method_145()I
named getThunderTime
Lnet/minecraft/world/level/ServerWorldProperties;getThunderTime()I
-
isRaining
public boolean isRaining()- Specified by:
isRaining
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official k
Lddr;k()Z
intermediary method_156
Lnet/minecraft/class_5217;method_156()Z
named isRaining
Lnet/minecraft/world/WorldProperties;isRaining()Z
-
getRainTime
public int getRainTime()- Specified by:
getRainTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official l
Ldea;l()I
intermediary method_190
Lnet/minecraft/class_5268;method_190()I
named getRainTime
Lnet/minecraft/world/level/ServerWorldProperties;getRainTime()I
-
getGameMode
- Specified by:
getGameMode
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official m
Ldea;m()Lbts;
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;
-
setSpawnX
public void setSpawnX(int spawnX)- Specified by:
setSpawnX
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official b
Ldec;b(I)V
intermediary method_27416
Lnet/minecraft/class_5269;method_27416(I)V
named setSpawnX
Lnet/minecraft/world/MutableWorldProperties;setSpawnX(I)V
-
setSpawnY
public void setSpawnY(int spawnY)- Specified by:
setSpawnY
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official c
Ldec;c(I)V
intermediary method_27417
Lnet/minecraft/class_5269;method_27417(I)V
named setSpawnY
Lnet/minecraft/world/MutableWorldProperties;setSpawnY(I)V
-
setSpawnZ
public void setSpawnZ(int spawnZ)- Specified by:
setSpawnZ
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official d
Ldec;d(I)V
intermediary method_27419
Lnet/minecraft/class_5269;method_27419(I)V
named setSpawnZ
Lnet/minecraft/world/MutableWorldProperties;setSpawnZ(I)V
-
setSpawnAngle
public void setSpawnAngle(float angle)- Specified by:
setSpawnAngle
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldec;a(F)V
intermediary method_30657
Lnet/minecraft/class_5269;method_30657(F)V
named setSpawnAngle
Lnet/minecraft/world/MutableWorldProperties;setSpawnAngle(F)V
-
setTime
public void setTime(long time)- Specified by:
setTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldea;a(J)V
intermediary method_29034
Lnet/minecraft/class_5268;method_29034(J)V
named setTime
Lnet/minecraft/world/level/ServerWorldProperties;setTime(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay)- Specified by:
setTimeOfDay
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official b
Ldea;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:
setSpawnPos
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldec;a(Lfx;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
-
setThundering
public void setThundering(boolean thundering)- Specified by:
setThundering
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldea;a(Z)V
intermediary method_147
Lnet/minecraft/class_5268;method_147(Z)V
named setThundering
Lnet/minecraft/world/level/ServerWorldProperties;setThundering(Z)V
-
setThunderTime
public void setThunderTime(int thunderTime)- Specified by:
setThunderTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official e
Ldea;e(I)V
intermediary method_173
Lnet/minecraft/class_5268;method_173(I)V
named setThunderTime
Lnet/minecraft/world/level/ServerWorldProperties;setThunderTime(I)V
-
setRaining
public void setRaining(boolean raining)- Specified by:
setRaining
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official b
Lddr;b(Z)V
intermediary method_157
Lnet/minecraft/class_5217;method_157(Z)V
named setRaining
Lnet/minecraft/world/WorldProperties;setRaining(Z)V
-
setRainTime
public void setRainTime(int rainTime)- Specified by:
setRainTime
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official f
Ldea;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:
setGameMode
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldea;a(Lbts;)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
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcore
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official n
Lddr;n()Z
intermediary method_152
Lnet/minecraft/class_5217;method_152()Z
named isHardcore
Lnet/minecraft/world/WorldProperties;isHardcore()Z
-
areCommandsAllowed
public boolean areCommandsAllowed()- Specified by:
areCommandsAllowed
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official o
Ldea;o()Z
intermediary method_194
Lnet/minecraft/class_5268;method_194()Z
named areCommandsAllowed
Lnet/minecraft/world/level/ServerWorldProperties;areCommandsAllowed()Z
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official p
Ldea;p()Z
intermediary method_222
Lnet/minecraft/class_5268;method_222()Z
named isInitialized
Lnet/minecraft/world/level/ServerWorldProperties;isInitialized()Z
-
setInitialized
public void setInitialized(boolean initialized)- Specified by:
setInitialized
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official c
Ldea;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:
getGameRules
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official q
Lddr;q()Lbtr;
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:
getWorldBorder
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official r
Ldea;r()Lcjj$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:
setWorldBorder
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldea;a(Lcjj$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:
getDifficulty
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official s
Lddr;s()Lapn;
intermediary method_207
Lnet/minecraft/class_5217;method_207()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/world/WorldProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLocked
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official t
Lddr;t()Z
intermediary method_197
Lnet/minecraft/class_5217;method_197()Z
named isDifficultyLocked
Lnet/minecraft/world/WorldProperties;isDifficultyLocked()Z
-
getScheduledEvents
- Specified by:
getScheduledEvents
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official u
Ldea;u()Ldim;
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;
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelay
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official v
Ldea;v()I
intermediary method_18038
Lnet/minecraft/class_5268;method_18038()I
named getWanderingTraderSpawnDelay
Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnDelay()I
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay)- Specified by:
setWanderingTraderSpawnDelay
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official g
Ldea;g(I)V
intermediary method_18041
Lnet/minecraft/class_5268;method_18041(I)V
named setWanderingTraderSpawnDelay
Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnDelay(I)V
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChance
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official w
Ldea;w()I
intermediary method_18039
Lnet/minecraft/class_5268;method_18039()I
named getWanderingTraderSpawnChance
Lnet/minecraft/world/level/ServerWorldProperties;getWanderingTraderSpawnChance()I
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance)- Specified by:
setWanderingTraderSpawnChance
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official h
Ldea;h(I)V
intermediary method_18042
Lnet/minecraft/class_5268;method_18042(I)V
named setWanderingTraderSpawnChance
Lnet/minecraft/world/level/ServerWorldProperties;setWanderingTraderSpawnChance(I)V
-
setWanderingTraderId
- Specified by:
setWanderingTraderId
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldea;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:
populateCrashReport
in interfaceServerWorldProperties
- Specified by:
populateCrashReport
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Lddr;a(Lm;Lbtx;)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
-