Class ReadOnlyChunk

java.lang.Object
net.minecraft.world.level.LevelProperties
net.minecraft.world.chunk.ReadOnlyChunk

public class ReadOnlyChunk
extends LevelProperties
Mappings:
Namespace Name
official atl
intermediary net/minecraft/class_631
named net/minecraft/world/chunk/ReadOnlyChunk
  • Field Details

    • field_2335

      private final LevelProperties field_2335
      Mappings:
      Namespace Name Mixin selector
      official b Latl;b:Lato;
      intermediary field_2335 Lnet/minecraft/class_631;field_2335:Lnet/minecraft/class_634;
      named field_2335 Lnet/minecraft/world/chunk/ReadOnlyChunk;field_2335:Lnet/minecraft/world/level/LevelProperties;
  • Constructor Details

    • ReadOnlyChunk

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

    • toTag

      public CompoundTag toTag()
      Overrides:
      toTag in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a()Ldn;
      intermediary method_1924 Lnet/minecraft/class_634;method_1924()Lnet/minecraft/class_1405;
      named toTag Lnet/minecraft/world/level/LevelProperties;toTag()Lnet/minecraft/nbt/CompoundTag;
    • toTag

      public CompoundTag toTag​(CompoundTag nbt)
      Overrides:
      toTag in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official a Lato;a(Ldn;)Ldn;
      intermediary method_1933 Lnet/minecraft/class_634;method_1933(Lnet/minecraft/class_1405;)Lnet/minecraft/class_1405;
      named toTag Lnet/minecraft/world/level/LevelProperties;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
    • getSeed

      public long getSeed()
      Overrides:
      getSeed in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official b Lato;b()J
      intermediary method_1938 Lnet/minecraft/class_634;method_1938()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_1944 Lnet/minecraft/class_634;method_1944()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_1950 Lnet/minecraft/class_634;method_1950()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_1954 Lnet/minecraft/class_634;method_1954()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_1960 Lnet/minecraft/class_634;method_1960()J
      named getTime Lnet/minecraft/world/level/LevelProperties;getTime()J
    • getDayTime

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

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

      public CompoundTag getNbt()
      Overrides:
      getNbt in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official i Lato;i()Ldn;
      intermediary method_1971 Lnet/minecraft/class_634;method_1971()Lnet/minecraft/class_1405;
      named getNbt Lnet/minecraft/world/level/LevelProperties;getNbt()Lnet/minecraft/nbt/CompoundTag;
    • getLevelName

      public String getLevelName()
      Overrides:
      getLevelName in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official k Lato;k()Ljava/lang/String;
      intermediary method_1976 Lnet/minecraft/class_634;method_1976()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_1979 Lnet/minecraft/class_634;method_1979()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_1981 Lnet/minecraft/class_634;method_1981()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_1983 Lnet/minecraft/class_634;method_1983()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_1985 Lnet/minecraft/class_634;method_1985()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_1987 Lnet/minecraft/class_634;method_1987()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_1989 Lnet/minecraft/class_634;method_1989()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_1991 Lnet/minecraft/class_634;method_1991()Lnet/minecraft/class_102$class_103;
      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_1926 Lnet/minecraft/class_634;method_1926(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_1940 Lnet/minecraft/class_634;method_1940(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_1946 Lnet/minecraft/class_634;method_1946(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_1941 Lnet/minecraft/class_634;method_1941(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_1947 Lnet/minecraft/class_634;method_1947(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_1932 Lnet/minecraft/class_634;method_1932(Lnet/minecraft/class_1372;)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_1935 Lnet/minecraft/class_634;method_1935(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_1956 Lnet/minecraft/class_634;method_1956(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_1937 Lnet/minecraft/class_634;method_1937(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_1962 Lnet/minecraft/class_634;method_1962(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_1943 Lnet/minecraft/class_634;method_1943(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_1966 Lnet/minecraft/class_634;method_1966(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_1992 Lnet/minecraft/class_634;method_1992()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_1993 Lnet/minecraft/class_634;method_1993()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_1994 Lnet/minecraft/class_634;method_1994()Lnet/minecraft/class_105;
      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_1929 Lnet/minecraft/class_634;method_1929(Lnet/minecraft/class_105;)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_1995 Lnet/minecraft/class_634;method_1995()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_1949 Lnet/minecraft/class_634;method_1949(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_1996 Lnet/minecraft/class_634;method_1996()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_1953 Lnet/minecraft/class_634;method_1953(Z)V
      named setInitialized Lnet/minecraft/world/level/LevelProperties;setInitialized(Z)V
    • getGamerules

      public GameRuleDispatcher getGamerules()
      Overrides:
      getGamerules in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official x Lato;x()Ladk;
      intermediary method_1997 Lnet/minecraft/class_634;method_1997()Lnet/minecraft/class_95;
      named getGamerules Lnet/minecraft/world/level/LevelProperties;getGamerules()Lnet/minecraft/world/GameRuleDispatcher;
    • getDifficulty

      public Difficulty getDifficulty()
      Overrides:
      getDifficulty in class LevelProperties
      Mappings:
      Namespace Name Mixin selector
      official y Lato;y()Loj;
      intermediary method_1998 Lnet/minecraft/class_634;method_1998()Lnet/minecraft/class_1721;
      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_1936 Lnet/minecraft/class_634;method_1936(Lnet/minecraft/class_1721;)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_1999 Lnet/minecraft/class_634;method_1999()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_1959 Lnet/minecraft/class_634;method_1959(Z)V
      named setDifficultyLocked Lnet/minecraft/world/level/LevelProperties;setDifficultyLocked(Z)V