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 epr
-
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
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
setSpawnPos
(BlockPos pos, float angle) 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 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
Lepr;a:Leqe;
-
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
Lepr;b:Leqd;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_27;<init>(Lnet/minecraft/class_5219;Lnet/minecraft/class_5268;)V
official <init>
Lepr;<init>(Leqe;Leqd;)V
-
-
Method Details
-
getSpawnPos
- Specified by:
getSpawnPos
in interfaceWorldProperties
- 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
Lepu;a()Liz;
-
getSpawnAngle
public float getSpawnAngle()- Specified by:
getSpawnAngle
in interfaceWorldProperties
- 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
Lepu;b()F
-
getTime
public long getTime()- Specified by:
getTime
in interfaceWorldProperties
- 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
Lepu;c()J
-
getTimeOfDay
public long getTimeOfDay()- Specified by:
getTimeOfDay
in interfaceWorldProperties
- 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
Lepu;d()J
-
getLevelName
- Specified by:
getLevelName
in interfaceServerWorldProperties
- 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
Leqd;e()Ljava/lang/String;
-
getClearWeatherTime
public int getClearWeatherTime()- Specified by:
getClearWeatherTime
in interfaceServerWorldProperties
- 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
Leqd;f()I
-
setClearWeatherTime
public void setClearWeatherTime(int clearWeatherTime) - Specified by:
setClearWeatherTime
in interfaceServerWorldProperties
- 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
Leqd;a(I)V
-
isThundering
public boolean isThundering()- Specified by:
isThundering
in interfaceWorldProperties
- 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
Lepu;g()Z
-
getThunderTime
public int getThunderTime()- Specified by:
getThunderTime
in interfaceServerWorldProperties
- 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
Leqd;h()I
-
isRaining
public boolean isRaining()- Specified by:
isRaining
in interfaceWorldProperties
- 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
Lepu;i()Z
-
getRainTime
public int getRainTime()- Specified by:
getRainTime
in interfaceServerWorldProperties
- 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
Leqd;j()I
-
getGameMode
- Specified by:
getGameMode
in interfaceServerWorldProperties
- 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
Leqd;k()Ldbx;
-
setTime
public void setTime(long time) - Specified by:
setTime
in interfaceServerWorldProperties
- 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
Leqd;a(J)V
-
setTimeOfDay
public void setTimeOfDay(long timeOfDay) - Specified by:
setTimeOfDay
in interfaceServerWorldProperties
- 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
Leqd;b(J)V
-
setSpawnPos
- Specified by:
setSpawnPos
in interfaceMutableWorldProperties
- 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
Leqf;a(Liz;F)V
-
setThundering
public void setThundering(boolean thundering) - Specified by:
setThundering
in interfaceServerWorldProperties
- 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
Leqd;a(Z)V
-
setThunderTime
public void setThunderTime(int thunderTime) - Specified by:
setThunderTime
in interfaceServerWorldProperties
- 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
Leqd;b(I)V
-
setRaining
public void setRaining(boolean raining) - Specified by:
setRaining
in interfaceWorldProperties
- 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
Lepu;b(Z)V
-
setRainTime
public void setRainTime(int rainTime) - Specified by:
setRainTime
in interfaceServerWorldProperties
- 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
Leqd;c(I)V
-
setGameMode
- Specified by:
setGameMode
in interfaceServerWorldProperties
- 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
Leqd;a(Ldbx;)V
-
isHardcore
public boolean isHardcore()- Specified by:
isHardcore
in interfaceWorldProperties
- 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
Lepu;l()Z
-
areCommandsAllowed
public boolean areCommandsAllowed()- Specified by:
areCommandsAllowed
in interfaceServerWorldProperties
- 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
Leqd;m()Z
-
isInitialized
public boolean isInitialized()- Specified by:
isInitialized
in interfaceServerWorldProperties
- 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
Leqd;n()Z
-
setInitialized
public void setInitialized(boolean initialized) - Specified by:
setInitialized
in interfaceServerWorldProperties
- 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
Leqd;c(Z)V
-
getGameRules
- Specified by:
getGameRules
in interfaceWorldProperties
- Mappings:
Namespace Name Mixin selector named getGameRules
Lnet/minecraft/world/WorldProperties;getGameRules()Lnet/minecraft/world/GameRules;
intermediary method_146
Lnet/minecraft/class_5217;method_146()Lnet/minecraft/class_1928;
official o
Lepu;o()Ldbw;
-
getWorldBorder
- Specified by:
getWorldBorder
in interfaceServerWorldProperties
- 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
Leqd;p()Ldtv$c;
-
setWorldBorder
- Specified by:
setWorldBorder
in interfaceServerWorldProperties
- 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
Leqd;a(Ldtv$c;)V
-
getDifficulty
- Specified by:
getDifficulty
in interfaceWorldProperties
- 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
Lepu;q()Lbqt;
-
isDifficultyLocked
public boolean isDifficultyLocked()- Specified by:
isDifficultyLocked
in interfaceWorldProperties
- 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
Lepu;r()Z
-
getScheduledEvents
- Specified by:
getScheduledEvents
in interfaceServerWorldProperties
- 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
Leqd;s()Levg;
-
getWanderingTraderSpawnDelay
public int getWanderingTraderSpawnDelay()- Specified by:
getWanderingTraderSpawnDelay
in interfaceServerWorldProperties
- 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
Leqd;t()I
-
setWanderingTraderSpawnDelay
public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay) - Specified by:
setWanderingTraderSpawnDelay
in interfaceServerWorldProperties
- 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
Leqd;d(I)V
-
getWanderingTraderSpawnChance
public int getWanderingTraderSpawnChance()- Specified by:
getWanderingTraderSpawnChance
in interfaceServerWorldProperties
- 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
Leqd;u()I
-
setWanderingTraderSpawnChance
public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance) - Specified by:
setWanderingTraderSpawnChance
in interfaceServerWorldProperties
- 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
Leqd;e(I)V
-
getWanderingTraderId
- Specified by:
getWanderingTraderId
in interfaceServerWorldProperties
- 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
Leqd;v()Ljava/util/UUID;
-
setWanderingTraderId
- Specified by:
setWanderingTraderId
in interfaceServerWorldProperties
- 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
Leqd;a(Ljava/util/UUID;)V
-
populateCrashReport
- Specified by:
populateCrashReport
in interfaceServerWorldProperties
- Specified by:
populateCrashReport
in interfaceWorldProperties
- 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
Lepu;a(Lp;Ldcc;)V
-