Class ReadOnlyLevelProperties

java.lang.Object
net.minecraft.world.level.LevelProperties
net.minecraft.world.level.ReadOnlyLevelProperties

public class ReadOnlyLevelProperties extends LevelProperties
Mappings:
Namespace Name
official atl
intermediary net/minecraft/class_97
named net/minecraft/world/level/ReadOnlyLevelProperties
  • Field Details

    • levelProperties

      private final LevelProperties levelProperties
      Mappings:
      Namespace Name Mixin selector
      official b Latl;b:Lato;
      intermediary field_225 Lnet/minecraft/class_97;field_225:Lnet/minecraft/class_100;
      named levelProperties Lnet/minecraft/world/level/ReadOnlyLevelProperties;levelProperties:Lnet/minecraft/world/level/LevelProperties;
  • Constructor Details

    • ReadOnlyLevelProperties

      public ReadOnlyLevelProperties(LevelProperties copy)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lato;<init>(Lato;)V
      intermediary <init> Lnet/minecraft/class_100;<init>(Lnet/minecraft/class_100;)V
      named <init> Lnet/minecraft/world/level/LevelProperties;<init>(Lnet/minecraft/world/level/LevelProperties;)V
  • Method Details

    • toNbt

      public NbtCompound toNbt()
      Overrides:
      toNbt in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a()Ldn;
      intermediary method_201 Lnet/minecraft/class_100;method_201()Lnet/minecraft/class_322;
      named toNbt Lnet/minecraft/world/level/LevelProperties;toNbt()Lnet/minecraft/nbt/NbtCompound;
    • toNbt

      public NbtCompound toNbt(NbtCompound nbt)
      Overrides:
      toNbt in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Ldn;)Ldn;
      intermediary method_204 Lnet/minecraft/class_100;method_204(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named toNbt Lnet/minecraft/world/level/LevelProperties;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • getSeed

      public long getSeed()
      Overrides:
      getSeed in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official b Lato;b()J
      intermediary method_210 Lnet/minecraft/class_100;method_210()J
      named getSeed Lnet/minecraft/world/level/LevelProperties;getSeed()J
    • getSpawnX

      public int getSpawnX()
      Overrides:
      getSpawnX in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official c Lato;c()I
      intermediary method_214 Lnet/minecraft/class_100;method_214()I
      named getSpawnX Lnet/minecraft/world/level/LevelProperties;getSpawnX()I
    • getSpawnY

      public int getSpawnY()
      Overrides:
      getSpawnY in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official d Lato;d()I
      intermediary method_216 Lnet/minecraft/class_100;method_216()I
      named getSpawnY Lnet/minecraft/world/level/LevelProperties;getSpawnY()I
    • getSpawnZ

      public int getSpawnZ()
      Overrides:
      getSpawnZ in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official e Lato;e()I
      intermediary method_218 Lnet/minecraft/class_100;method_218()I
      named getSpawnZ Lnet/minecraft/world/level/LevelProperties;getSpawnZ()I
    • getTime

      public long getTime()
      Overrides:
      getTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official f Lato;f()J
      intermediary method_4136 Lnet/minecraft/class_100;method_4136()J
      named getTime Lnet/minecraft/world/level/LevelProperties;getTime()J
    • getTimeOfDay

      public long getTimeOfDay()
      Overrides:
      getTimeOfDay in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official g Lato;g()J
      intermediary method_220 Lnet/minecraft/class_100;method_220()J
      named getTimeOfDay Lnet/minecraft/world/level/LevelProperties;getTimeOfDay()J
    • getSizeOnDisk

      @Environment(CLIENT) public long getSizeOnDisk()
      Overrides:
      getSizeOnDisk in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official h Lato;h()J
      intermediary method_222 Lnet/minecraft/class_100;method_222()J
      named getSizeOnDisk Lnet/minecraft/world/level/LevelProperties;getSizeOnDisk()J
    • getNbt

      public NbtCompound getNbt()
      Overrides:
      getNbt in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official i Lato;i()Ldn;
      intermediary method_224 Lnet/minecraft/class_100;method_224()Lnet/minecraft/class_322;
      named getNbt Lnet/minecraft/world/level/LevelProperties;getNbt()Lnet/minecraft/nbt/NbtCompound;
    • getLevelName

      public String getLevelName()
      Overrides:
      getLevelName in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official k Lato;k()Ljava/lang/String;
      intermediary method_226 Lnet/minecraft/class_100;method_226()Ljava/lang/String;
      named getLevelName Lnet/minecraft/world/level/LevelProperties;getLevelName()Ljava/lang/String;
    • getVersion

      public int getVersion()
      Overrides:
      getVersion in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official l Lato;l()I
      intermediary method_227 Lnet/minecraft/class_100;method_227()I
      named getVersion Lnet/minecraft/world/level/LevelProperties;getVersion()I
    • getLastPlayed

      @Environment(CLIENT) public long getLastPlayed()
      Overrides:
      getLastPlayed in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official m Lato;m()J
      intermediary method_228 Lnet/minecraft/class_100;method_228()J
      named getLastPlayed Lnet/minecraft/world/level/LevelProperties;getLastPlayed()J
    • isThundering

      public boolean isThundering()
      Overrides:
      isThundering in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official n Lato;n()Z
      intermediary method_229 Lnet/minecraft/class_100;method_229()Z
      named isThundering Lnet/minecraft/world/level/LevelProperties;isThundering()Z
    • getThunderTime

      public int getThunderTime()
      Overrides:
      getThunderTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official o Lato;o()I
      intermediary method_230 Lnet/minecraft/class_100;method_230()I
      named getThunderTime Lnet/minecraft/world/level/LevelProperties;getThunderTime()I
    • isRaining

      public boolean isRaining()
      Overrides:
      isRaining in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official p Lato;p()Z
      intermediary method_231 Lnet/minecraft/class_100;method_231()Z
      named isRaining Lnet/minecraft/world/level/LevelProperties;isRaining()Z
    • getRainTime

      public int getRainTime()
      Overrides:
      getRainTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official q Lato;q()I
      intermediary method_232 Lnet/minecraft/class_100;method_232()I
      named getRainTime Lnet/minecraft/world/level/LevelProperties;getRainTime()I
    • getGameMode

      public LevelInfo.GameMode getGameMode()
      Overrides:
      getGameMode in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official r Lato;r()Ladp$a;
      intermediary method_233 Lnet/minecraft/class_100;method_233()Lnet/minecraft/class_1156$class_1157;
      named getGameMode Lnet/minecraft/world/level/LevelProperties;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • setSpawnX

      @Environment(CLIENT) public void setSpawnX(int spawnX)
      Overrides:
      setSpawnX in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(I)V
      intermediary method_202 Lnet/minecraft/class_100;method_202(I)V
      named setSpawnX Lnet/minecraft/world/level/LevelProperties;setSpawnX(I)V
    • setSpawnY

      @Environment(CLIENT) public void setSpawnY(int spawnY)
      Overrides:
      setSpawnY in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official b Lato;b(I)V
      intermediary method_211 Lnet/minecraft/class_100;method_211(I)V
      named setSpawnY Lnet/minecraft/world/level/LevelProperties;setSpawnY(I)V
    • setSpawnZ

      @Environment(CLIENT) public void setSpawnZ(int spawnZ)
      Overrides:
      setSpawnZ in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official c Lato;c(I)V
      intermediary method_215 Lnet/minecraft/class_100;method_215(I)V
      named setSpawnZ Lnet/minecraft/world/level/LevelProperties;setSpawnZ(I)V
    • setTime

      public void setTime(long time)
      Overrides:
      setTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official b Lato;b(J)V
      intermediary method_4131 Lnet/minecraft/class_100;method_4131(J)V
      named setTime Lnet/minecraft/world/level/LevelProperties;setTime(J)V
    • setDayTime

      public void setDayTime(long time)
      Overrides:
      setDayTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official c Lato;c(J)V
      intermediary method_212 Lnet/minecraft/class_100;method_212(J)V
      named setDayTime Lnet/minecraft/world/level/LevelProperties;setDayTime(J)V
    • setSpawnPos

      public void setSpawnPos(BlockPos pos)
      Overrides:
      setSpawnPos in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Lcj;)V
      intermediary method_9324 Lnet/minecraft/class_100;method_9324(Lnet/minecraft/class_2552;)V
      named setSpawnPos Lnet/minecraft/world/level/LevelProperties;setSpawnPos(Lnet/minecraft/util/math/BlockPos;)V
    • setLevelName

      public void setLevelName(String name)
      Overrides:
      setLevelName in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Ljava/lang/String;)V
      intermediary method_206 Lnet/minecraft/class_100;method_206(Ljava/lang/String;)V
      named setLevelName Lnet/minecraft/world/level/LevelProperties;setLevelName(Ljava/lang/String;)V
    • setVersion

      public void setVersion(int version)
      Overrides:
      setVersion in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official e Lato;e(I)V
      intermediary method_219 Lnet/minecraft/class_100;method_219(I)V
      named setVersion Lnet/minecraft/world/level/LevelProperties;setVersion(I)V
    • setThundering

      public void setThundering(boolean thundering)
      Overrides:
      setThundering in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Z)V
      intermediary method_209 Lnet/minecraft/class_100;method_209(Z)V
      named setThundering Lnet/minecraft/world/level/LevelProperties;setThundering(Z)V
    • setThunderTime

      public void setThunderTime(int time)
      Overrides:
      setThunderTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official f Lato;f(I)V
      intermediary method_221 Lnet/minecraft/class_100;method_221(I)V
      named setThunderTime Lnet/minecraft/world/level/LevelProperties;setThunderTime(I)V
    • setRaining

      public void setRaining(boolean raining)
      Overrides:
      setRaining in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official b Lato;b(Z)V
      intermediary method_213 Lnet/minecraft/class_100;method_213(Z)V
      named setRaining Lnet/minecraft/world/level/LevelProperties;setRaining(Z)V
    • setRainTime

      public void setRainTime(int rainTime)
      Overrides:
      setRainTime in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official g Lato;g(I)V
      intermediary method_223 Lnet/minecraft/class_100;method_223(I)V
      named setRainTime Lnet/minecraft/world/level/LevelProperties;setRainTime(I)V
    • hasStructures

      public boolean hasStructures()
      Overrides:
      hasStructures in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official s Lato;s()Z
      intermediary method_234 Lnet/minecraft/class_100;method_234()Z
      named hasStructures Lnet/minecraft/world/level/LevelProperties;hasStructures()Z
    • isHardcore

      public boolean isHardcore()
      Overrides:
      isHardcore in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official t Lato;t()Z
      intermediary method_235 Lnet/minecraft/class_100;method_235()Z
      named isHardcore Lnet/minecraft/world/level/LevelProperties;isHardcore()Z
    • getGeneratorType

      public LevelGeneratorType getGeneratorType()
      Overrides:
      getGeneratorType in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official u Lato;u()Ladr;
      intermediary method_236 Lnet/minecraft/class_100;method_236()Lnet/minecraft/class_1160;
      named getGeneratorType Lnet/minecraft/world/level/LevelProperties;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
    • setLevelGeneratorType

      public void setLevelGeneratorType(LevelGeneratorType type)
      Overrides:
      setLevelGeneratorType in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Ladr;)V
      intermediary method_208 Lnet/minecraft/class_100;method_208(Lnet/minecraft/class_1160;)V
      named setLevelGeneratorType Lnet/minecraft/world/level/LevelProperties;setLevelGeneratorType(Lnet/minecraft/world/level/LevelGeneratorType;)V
    • areCheatsEnabled

      public boolean areCheatsEnabled()
      Overrides:
      areCheatsEnabled in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official v Lato;v()Z
      intermediary method_237 Lnet/minecraft/class_100;method_237()Z
      named areCheatsEnabled Lnet/minecraft/world/level/LevelProperties;areCheatsEnabled()Z
    • setCheats

      public void setCheats(boolean enabled)
      Overrides:
      setCheats in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official c Lato;c(Z)V
      intermediary method_9328 Lnet/minecraft/class_100;method_9328(Z)V
      named setCheats Lnet/minecraft/world/level/LevelProperties;setCheats(Z)V
    • isInitialized

      public boolean isInitialized()
      Overrides:
      isInitialized in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official w Lato;w()Z
      intermediary method_238 Lnet/minecraft/class_100;method_238()Z
      named isInitialized Lnet/minecraft/world/level/LevelProperties;isInitialized()Z
    • setInitialized

      public void setInitialized(boolean initialized)
      Overrides:
      setInitialized in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official d Lato;d(Z)V
      intermediary method_217 Lnet/minecraft/class_100;method_217(Z)V
      named setInitialized Lnet/minecraft/world/level/LevelProperties;setInitialized(Z)V
    • getGamerules

      public GameRuleManager getGamerules()
      Overrides:
      getGamerules in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official x Lato;x()Ladk;
      intermediary method_4149 Lnet/minecraft/class_100;method_4149()Lnet/minecraft/class_1439;
      named getGamerules Lnet/minecraft/world/level/LevelProperties;getGamerules()Lnet/minecraft/world/GameRuleManager;
    • getDifficulty

      public Difficulty getDifficulty()
      Overrides:
      getDifficulty in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official y Lato;y()Loj;
      intermediary method_9339 Lnet/minecraft/class_100;method_9339()Lnet/minecraft/class_2151;
      named getDifficulty Lnet/minecraft/world/level/LevelProperties;getDifficulty()Lnet/minecraft/world/Difficulty;
    • setDifficulty

      public void setDifficulty(Difficulty difficulty)
      Overrides:
      setDifficulty in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Loj;)V
      intermediary method_9325 Lnet/minecraft/class_100;method_9325(Lnet/minecraft/class_2151;)V
      named setDifficulty Lnet/minecraft/world/level/LevelProperties;setDifficulty(Lnet/minecraft/world/Difficulty;)V
    • isDifficultyLocked

      public boolean isDifficultyLocked()
      Overrides:
      isDifficultyLocked in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official z Lato;z()Z
      intermediary method_9340 Lnet/minecraft/class_100;method_9340()Z
      named isDifficultyLocked Lnet/minecraft/world/level/LevelProperties;isDifficultyLocked()Z
    • setDifficultyLocked

      public void setDifficultyLocked(boolean difficultyLocked)
      Overrides:
      setDifficultyLocked in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official e Lato;e(Z)V
      intermediary method_9332 Lnet/minecraft/class_100;method_9332(Z)V
      named setDifficultyLocked Lnet/minecraft/world/level/LevelProperties;setDifficultyLocked(Z)V