Class LevelSummary

java.lang.Object
net.minecraft.world.level.storage.LevelSummary
All Implemented Interfaces:
Comparable<LevelSummary>

public class LevelSummary extends Object implements Comparable<LevelSummary>
Mappings:
Namespace Name
official dic
intermediary net/minecraft/class_34
named net/minecraft/world/level/storage/LevelSummary
  • Field Details

    • levelInfo

      private final LevelInfo levelInfo
      Mappings:
      Namespace Name Mixin selector
      official a Ldic;a:Lbwt;
      intermediary field_25022 Lnet/minecraft/class_34;field_25022:Lnet/minecraft/class_1940;
      named levelInfo Lnet/minecraft/world/level/storage/LevelSummary;levelInfo:Lnet/minecraft/world/level/LevelInfo;
    • versionInfo

      private final SaveVersionInfo versionInfo
      Mappings:
      Namespace Name Mixin selector
      official b Ldic;b:Ldid;
      intermediary field_25023 Lnet/minecraft/class_34;field_25023:Lnet/minecraft/class_5315;
      named versionInfo Lnet/minecraft/world/level/storage/LevelSummary;versionInfo:Lnet/minecraft/world/level/storage/SaveVersionInfo;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Ldic;c:Ljava/lang/String;
      intermediary field_205 Lnet/minecraft/class_34;field_205:Ljava/lang/String;
      named name Lnet/minecraft/world/level/storage/LevelSummary;name:Ljava/lang/String;
    • requiresConversion

      private final boolean requiresConversion
      Mappings:
      Namespace Name Mixin selector
      official d Ldic;d:Z
      intermediary field_209 Lnet/minecraft/class_34;field_209:Z
      named requiresConversion Lnet/minecraft/world/level/storage/LevelSummary;requiresConversion:Z
    • locked

      private final boolean locked
      Mappings:
      Namespace Name Mixin selector
      official e Ldic;e:Z
      intermediary field_23772 Lnet/minecraft/class_34;field_23772:Z
      named locked Lnet/minecraft/world/level/storage/LevelSummary;locked:Z
    • file

      private final File file
      Mappings:
      Namespace Name Mixin selector
      official f Ldic;f:Ljava/io/File;
      intermediary field_23773 Lnet/minecraft/class_34;field_23773:Ljava/io/File;
      named file Lnet/minecraft/world/level/storage/LevelSummary;file:Ljava/io/File;
    • details

      @Nullable private @Nullable Text details
      Mappings:
      Namespace Name Mixin selector
      official g Ldic;g:Los;
      intermediary field_24191 Lnet/minecraft/class_34;field_24191:Lnet/minecraft/class_2561;
      named details Lnet/minecraft/world/level/storage/LevelSummary;details:Lnet/minecraft/text/Text;
  • Constructor Details

    • LevelSummary

      public LevelSummary(LevelInfo levelInfo, SaveVersionInfo versionInfo, String name, boolean requiresConversion, boolean locked, File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldic;<init>(Lbwt;Ldid;Ljava/lang/String;ZZLjava/io/File;)V
      intermediary <init> Lnet/minecraft/class_34;<init>(Lnet/minecraft/class_1940;Lnet/minecraft/class_5315;Ljava/lang/String;ZZLjava/io/File;)V
      named <init> Lnet/minecraft/world/level/storage/LevelSummary;<init>(Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/level/storage/SaveVersionInfo;Ljava/lang/String;ZZLjava/io/File;)V
  • Method Details

    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Ldic;a()Ljava/lang/String;
      intermediary method_248 Lnet/minecraft/class_34;method_248()Ljava/lang/String;
      named getName Lnet/minecraft/world/level/storage/LevelSummary;getName()Ljava/lang/String;
    • getDisplayName

      public String getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official b Ldic;b()Ljava/lang/String;
      intermediary method_252 Lnet/minecraft/class_34;method_252()Ljava/lang/String;
      named getDisplayName Lnet/minecraft/world/level/storage/LevelSummary;getDisplayName()Ljava/lang/String;
    • getFile

      public File getFile()
      Mappings:
      Namespace Name Mixin selector
      official c Ldic;c()Ljava/io/File;
      intermediary method_27020 Lnet/minecraft/class_34;method_27020()Ljava/io/File;
      named getFile Lnet/minecraft/world/level/storage/LevelSummary;getFile()Ljava/io/File;
    • requiresConversion

      public boolean requiresConversion()
      Mappings:
      Namespace Name Mixin selector
      official d Ldic;d()Z
      intermediary method_255 Lnet/minecraft/class_34;method_255()Z
      named requiresConversion Lnet/minecraft/world/level/storage/LevelSummary;requiresConversion()Z
    • getLastPlayed

      public long getLastPlayed()
      Mappings:
      Namespace Name Mixin selector
      official e Ldic;e()J
      intermediary method_249 Lnet/minecraft/class_34;method_249()J
      named getLastPlayed Lnet/minecraft/world/level/storage/LevelSummary;getLastPlayed()J
    • compareTo

      public int compareTo(LevelSummary levelSummary)
      Specified by:
      compareTo in interface Comparable<LevelSummary>
      Mappings:
      Namespace Name Mixin selector
      official a Ldic;a(Ldic;)I
      intermediary method_251 Lnet/minecraft/class_34;method_251(Lnet/minecraft/class_34;)I
      named compareTo Lnet/minecraft/world/level/storage/LevelSummary;compareTo(Lnet/minecraft/world/level/storage/LevelSummary;)I
    • getLevelInfo

      public LevelInfo getLevelInfo()
      Mappings:
      Namespace Name Mixin selector
      official f Ldic;f()Lbwt;
      intermediary method_35505 Lnet/minecraft/class_34;method_35505()Lnet/minecraft/class_1940;
      named getLevelInfo Lnet/minecraft/world/level/storage/LevelSummary;getLevelInfo()Lnet/minecraft/world/level/LevelInfo;
    • getGameMode

      public GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official g Ldic;g()Lbwm;
      intermediary method_247 Lnet/minecraft/class_34;method_247()Lnet/minecraft/class_1934;
      named getGameMode Lnet/minecraft/world/level/storage/LevelSummary;getGameMode()Lnet/minecraft/world/GameMode;
    • isHardcore

      public boolean isHardcore()
      Mappings:
      Namespace Name Mixin selector
      official h Ldic;h()Z
      intermediary method_257 Lnet/minecraft/class_34;method_257()Z
      named isHardcore Lnet/minecraft/world/level/storage/LevelSummary;isHardcore()Z
    • hasCheats

      public boolean hasCheats()
      Mappings:
      Namespace Name Mixin selector
      official i Ldic;i()Z
      intermediary method_259 Lnet/minecraft/class_34;method_259()Z
      named hasCheats Lnet/minecraft/world/level/storage/LevelSummary;hasCheats()Z
    • getVersion

      public MutableText getVersion()
      Mappings:
      Namespace Name Mixin selector
      official j Ldic;j()Loy;
      intermediary method_258 Lnet/minecraft/class_34;method_258()Lnet/minecraft/class_5250;
      named getVersion Lnet/minecraft/world/level/storage/LevelSummary;getVersion()Lnet/minecraft/text/MutableText;
    • getVersionInfo

      public SaveVersionInfo getVersionInfo()
      Mappings:
      Namespace Name Mixin selector
      official k Ldic;k()Ldid;
      intermediary method_29586 Lnet/minecraft/class_34;method_29586()Lnet/minecraft/class_5315;
      named getVersionInfo Lnet/minecraft/world/level/storage/LevelSummary;getVersionInfo()Lnet/minecraft/world/level/storage/SaveVersionInfo;
    • isDifferentVersion

      public boolean isDifferentVersion()
      Mappings:
      Namespace Name Mixin selector
      official l Ldic;l()Z
      intermediary method_256 Lnet/minecraft/class_34;method_256()Z
      named isDifferentVersion Lnet/minecraft/world/level/storage/LevelSummary;isDifferentVersion()Z
    • isFutureLevel

      public boolean isFutureLevel()
      Mappings:
      Namespace Name Mixin selector
      official m Ldic;m()Z
      intermediary method_260 Lnet/minecraft/class_34;method_260()Z
      named isFutureLevel Lnet/minecraft/world/level/storage/LevelSummary;isFutureLevel()Z
    • getConversionWarning

      public LevelSummary.ConversionWarning getConversionWarning()
      Mappings:
      Namespace Name Mixin selector
      official n Ldic;n()Ldic$a;
      intermediary method_33405 Lnet/minecraft/class_34;method_33405()Lnet/minecraft/class_34$class_5781;
      named getConversionWarning Lnet/minecraft/world/level/storage/LevelSummary;getConversionWarning()Lnet/minecraft/world/level/storage/LevelSummary$ConversionWarning;
    • isLocked

      public boolean isLocked()
      Mappings:
      Namespace Name Mixin selector
      official o Ldic;o()Z
      intermediary method_27021 Lnet/minecraft/class_34;method_27021()Z
      named isLocked Lnet/minecraft/world/level/storage/LevelSummary;isLocked()Z
    • isPreWorldHeightChangeVersion

      public boolean isPreWorldHeightChangeVersion()
      Returns whether the level is from a version before the world height was changed to -64 to 320.

      This includes world versions 2692 and earlier (21w05b and earlier).

      Mappings:
      Namespace Name Mixin selector
      official p Ldic;p()Z
      intermediary method_33783 Lnet/minecraft/class_34;method_33783()Z
      named isPreWorldHeightChangeVersion Lnet/minecraft/world/level/storage/LevelSummary;isPreWorldHeightChangeVersion()Z
    • isUnavailable

      public boolean isUnavailable()
      Mappings:
      Namespace Name Mixin selector
      official q Ldic;q()Z
      intermediary method_33784 Lnet/minecraft/class_34;method_33784()Z
      named isUnavailable Lnet/minecraft/world/level/storage/LevelSummary;isUnavailable()Z
    • getDetails

      public Text getDetails()
      Mappings:
      Namespace Name Mixin selector
      official r Ldic;r()Los;
      intermediary method_27429 Lnet/minecraft/class_34;method_27429()Lnet/minecraft/class_2561;
      named getDetails Lnet/minecraft/world/level/storage/LevelSummary;getDetails()Lnet/minecraft/text/Text;
    • createDetails

      private Text createDetails()
      Mappings:
      Namespace Name Mixin selector
      official s Ldic;s()Los;
      intermediary method_27430 Lnet/minecraft/class_34;method_27430()Lnet/minecraft/class_2561;
      named createDetails Lnet/minecraft/world/level/storage/LevelSummary;createDetails()Lnet/minecraft/text/Text;