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 dyl
intermediary net/minecraft/class_27
named net/minecraft/world/level/UnmodifiableLevelProperties
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SaveProperties
private final ServerWorldProperties
-
Constructor Summary
ConstructorDescriptionUnmodifiableLevelProperties
(SaveProperties saveProperties, ServerWorldProperties worldProperties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
float
int
int
int
int
long
getTime()
long
int
int
boolean
boolean
boolean
boolean
boolean
void
populateCrashReport
(CrashReportSection reportSection, HeightLimitView world) void
setClearWeatherTime
(int clearWeatherTime) void
setGameMode
(GameMode gameMode) void
setInitialized
(boolean initialized) void
setRaining
(boolean raining) void
setRainTime
(int rainTime) void
setSpawnAngle
(float spawnAngle) void
setSpawnPos
(BlockPos pos, float angle) void
setSpawnX
(int spawnX) void
setSpawnY
(int spawnY) void
setSpawnZ
(int spawnZ) void
setThundering
(boolean thundering) void
setThunderTime
(int thunderTime) void
setTime
(long time) void
setTimeOfDay
(long timeOfDay) void
setWanderingTraderId
(UUID wanderingTraderId) void
setWanderingTraderSpawnChance
(int wanderingTraderSpawnChance) void
setWanderingTraderSpawnDelay
(int wanderingTraderSpawnDelay) void
setWorldBorder
(WorldBorder.Properties worldBorder)
-
Field Details
-
saveProperties
- Mappings:
Namespace Name Mixin selector official a
Ldyl;a:Ldyw;
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
Ldyl;b:Ldyv;
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>
Ldyl;<init>(Ldyw;Ldyv;)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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyv;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
Ldyv;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
Ldyv;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
Ldyn;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
Ldyv;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
Ldyn;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
Ldyv;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
Ldyv;m()Lcmc;
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
Ldyx;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
Ldyx;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
Ldyx;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 spawnAngle) - Specified by:
setSpawnAngle
in interfaceMutableWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldyx;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
Ldyv;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
Ldyv;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
Ldyx;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
-
setThundering
public void setThundering(boolean thundering) - Specified by:
setThundering
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldyv;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
Ldyv;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
Ldyn;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
Ldyv;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
Ldyv;a(Lcmc;)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
Ldyn;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
Ldyv;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
Ldyv;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
Ldyv;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
Ldyn;q()Lcmb;
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
Ldyv;r()Lddk$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
Ldyv;a(Lddk$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
Ldyn;s()Lbdr;
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
Ldyn;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
Ldyv;u()Ledm;
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
Ldyv;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
Ldyv;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
Ldyv;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
Ldyv;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:
getWanderingTraderId
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official x
Ldyv;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:
setWanderingTraderId
in interfaceServerWorldProperties
- Mappings:
Namespace Name Mixin selector official a
Ldyv;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
Ldyn;a(Lp;Lcmh;)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
-