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
named net/minecraft/world/level/UnmodifiableLevelProperties
intermediary net/minecraft/class_27
official epq
  • Field Details

    • saveProperties

      private final SaveProperties 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 Lepq;a:Leqd;
    • worldProperties

      private final ServerWorldProperties 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 Lepq;b:Leqc;
  • 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> Lepq;<init>(Leqd;Leqc;)V
  • Method Details

    • getSpawnPos

      public BlockPos getSpawnPos()
      Specified by:
      getSpawnPos in 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 Lept;a()Liz;
    • getSpawnAngle

      public float getSpawnAngle()
      Specified by:
      getSpawnAngle in 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 Lept;b()F
    • getTime

      public long getTime()
      Specified by:
      getTime in 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 Lept;c()J
    • getTimeOfDay

      public long getTimeOfDay()
      Specified by:
      getTimeOfDay in 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 Lept;d()J
    • getLevelName

      public String getLevelName()
      Specified by:
      getLevelName in 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 Leqc;e()Ljava/lang/String;
    • getClearWeatherTime

      public int getClearWeatherTime()
      Specified by:
      getClearWeatherTime in 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 Leqc;f()I
    • setClearWeatherTime

      public void setClearWeatherTime(int clearWeatherTime)
      Specified by:
      setClearWeatherTime in 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 Leqc;a(I)V
    • isThundering

      public boolean isThundering()
      Specified by:
      isThundering in 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 Lept;g()Z
    • getThunderTime

      public int getThunderTime()
      Specified by:
      getThunderTime in 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 Leqc;h()I
    • isRaining

      public boolean isRaining()
      Specified by:
      isRaining in 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 Lept;i()Z
    • getRainTime

      public int getRainTime()
      Specified by:
      getRainTime in 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 Leqc;j()I
    • getGameMode

      public GameMode getGameMode()
      Specified by:
      getGameMode in 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 Leqc;k()Ldbw;
    • setTime

      public void setTime(long time)
      Specified by:
      setTime in 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 Leqc;a(J)V
    • setTimeOfDay

      public void setTimeOfDay(long timeOfDay)
      Specified by:
      setTimeOfDay in 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 Leqc;b(J)V
    • setSpawnPos

      public void setSpawnPos(BlockPos pos, float angle)
      Specified by:
      setSpawnPos in 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 Leqe;a(Liz;F)V
    • setThundering

      public void setThundering(boolean thundering)
      Specified by:
      setThundering in 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 Leqc;a(Z)V
    • setThunderTime

      public void setThunderTime(int thunderTime)
      Specified by:
      setThunderTime in 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 Leqc;b(I)V
    • setRaining

      public void setRaining(boolean raining)
      Specified by:
      setRaining in 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 Lept;b(Z)V
    • setRainTime

      public void setRainTime(int rainTime)
      Specified by:
      setRainTime in 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 Leqc;c(I)V
    • setGameMode

      public void setGameMode(GameMode gameMode)
      Specified by:
      setGameMode in 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 Leqc;a(Ldbw;)V
    • isHardcore

      public boolean isHardcore()
      Specified by:
      isHardcore in 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 Lept;l()Z
    • areCommandsAllowed

      public boolean areCommandsAllowed()
      Specified by:
      areCommandsAllowed in 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 Leqc;m()Z
    • isInitialized

      public boolean isInitialized()
      Specified by:
      isInitialized in 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 Leqc;n()Z
    • setInitialized

      public void setInitialized(boolean initialized)
      Specified by:
      setInitialized in 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 Leqc;c(Z)V
    • getGameRules

      public GameRules getGameRules()
      Specified by:
      getGameRules in interface WorldProperties
      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 Lept;o()Ldbv;
    • getWorldBorder

      public WorldBorder.Properties getWorldBorder()
      Specified by:
      getWorldBorder in 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 Leqc;p()Ldtu$c;
    • setWorldBorder

      public void setWorldBorder(WorldBorder.Properties worldBorder)
      Specified by:
      setWorldBorder in 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 Leqc;a(Ldtu$c;)V
    • getDifficulty

      public Difficulty getDifficulty()
      Specified by:
      getDifficulty in 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 Lept;q()Lbqs;
    • isDifficultyLocked

      public boolean isDifficultyLocked()
      Specified by:
      isDifficultyLocked in 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 Lept;r()Z
    • getScheduledEvents

      public Timer<MinecraftServer> getScheduledEvents()
      Specified by:
      getScheduledEvents in 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 Leqc;s()Levf;
    • getWanderingTraderSpawnDelay

      public int getWanderingTraderSpawnDelay()
      Specified by:
      getWanderingTraderSpawnDelay in 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 Leqc;t()I
    • setWanderingTraderSpawnDelay

      public void setWanderingTraderSpawnDelay(int wanderingTraderSpawnDelay)
      Specified by:
      setWanderingTraderSpawnDelay in 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 Leqc;d(I)V
    • getWanderingTraderSpawnChance

      public int getWanderingTraderSpawnChance()
      Specified by:
      getWanderingTraderSpawnChance in 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 Leqc;u()I
    • setWanderingTraderSpawnChance

      public void setWanderingTraderSpawnChance(int wanderingTraderSpawnChance)
      Specified by:
      setWanderingTraderSpawnChance in 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 Leqc;e(I)V
    • getWanderingTraderId

      public UUID getWanderingTraderId()
      Specified by:
      getWanderingTraderId in 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 Leqc;v()Ljava/util/UUID;
    • setWanderingTraderId

      public void setWanderingTraderId(UUID wanderingTraderId)
      Specified by:
      setWanderingTraderId in 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 Leqc;a(Ljava/util/UUID;)V
    • populateCrashReport

      public void populateCrashReport(CrashReportSection reportSection, HeightLimitView world)
      Specified by:
      populateCrashReport in interface ServerWorldProperties
      Specified by:
      populateCrashReport in 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 Lept;a(Lp;Ldcb;)V