Class ReadOnlyLevelProperties

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

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

    • levelProperties

      private final LevelProperties levelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Laxa;a:Laxd;
      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> Laxd;<init>(Laxd;)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 Laxd;a()Ldg;
      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 Laxd;a(Ldg;)Ldg;
      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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;i()Ldg;
      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;
    • method_225

      public int method_225()
      Overrides:
      method_225 in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official j Laxd;j()I
      intermediary method_225 Lnet/minecraft/class_100;method_225()I
      named method_225 Lnet/minecraft/world/level/LevelProperties;method_225()I
    • getLevelName

      public String getLevelName()
      Overrides:
      getLevelName in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official k Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;q()I
      intermediary method_232 Lnet/minecraft/class_100;method_232()I
      named getRainTime Lnet/minecraft/world/level/LevelProperties;getRainTime()I
    • getGamemode

      public GameMode getGamemode()
      Overrides:
      getGamemode in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official r Laxd;r()Lafv;
      intermediary method_233 Lnet/minecraft/class_100;method_233()Lnet/minecraft/class_1157;
      named getGamemode Lnet/minecraft/world/level/LevelProperties;getGamemode()Lnet/minecraft/world/GameMode;
    • setSpawnX

      @Environment(CLIENT) public void setSpawnX(int spawnX)
      Overrides:
      setSpawnX in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;c(J)V
      intermediary method_212 Lnet/minecraft/class_100;method_212(J)V
      named setDayTime Lnet/minecraft/world/level/LevelProperties;setDayTime(J)V
    • method_203

      public void method_203(int int2, int int3, int int4)
      Overrides:
      method_203 in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Laxd;a(III)V
      intermediary method_203 Lnet/minecraft/class_100;method_203(III)V
      named method_203 Lnet/minecraft/world/level/LevelProperties;method_203(III)V
    • setLevelName

      public void setLevelName(String name)
      Overrides:
      setLevelName in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;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 Laxd;u()Lafx;
      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 Laxd;a(Lafx;)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 Laxd;v()Z
      intermediary method_237 Lnet/minecraft/class_100;method_237()Z
      named areCheatsEnabled Lnet/minecraft/world/level/LevelProperties;areCheatsEnabled()Z
    • isInitialized

      public boolean isInitialized()
      Overrides:
      isInitialized in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official w Laxd;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 Laxd;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 Laxd;x()Lafj;
      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;