Class LevelSummary

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

public class LevelSummary extends Object implements Comparable<LevelSummary>
Mappings:
Namespace Name
official ech
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 Lech;a:Lcpz;
      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 Lech;b:Leci;
      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 Lech;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 Lech;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 Lech;e:Z
      intermediary field_23772 Lnet/minecraft/class_34;field_23772:Z
      named locked Lnet/minecraft/world/level/storage/LevelSummary;locked:Z
    • experimental

      private final boolean experimental
      Mappings:
      Namespace Name Mixin selector
      official f Lech;f:Z
      intermediary field_40371 Lnet/minecraft/class_34;field_40371:Z
      named experimental Lnet/minecraft/world/level/storage/LevelSummary;experimental:Z
    • iconPath

      private final Path iconPath
      Mappings:
      Namespace Name Mixin selector
      official g Lech;g:Ljava/nio/file/Path;
      intermediary field_23773 Lnet/minecraft/class_34;field_23773:Ljava/nio/file/Path;
      named iconPath Lnet/minecraft/world/level/storage/LevelSummary;iconPath:Ljava/nio/file/Path;
    • details

      @Nullable private @Nullable Text details
      Mappings:
      Namespace Name Mixin selector
      official h Lech;h:Ltl;
      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, boolean experimental, Path iconPath)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lech;<init>(Lcpz;Leci;Ljava/lang/String;ZZZLjava/nio/file/Path;)V
      intermediary <init> Lnet/minecraft/class_34;<init>(Lnet/minecraft/class_1940;Lnet/minecraft/class_5315;Ljava/lang/String;ZZZLjava/nio/file/Path;)V
      named <init> Lnet/minecraft/world/level/storage/LevelSummary;<init>(Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/level/storage/SaveVersionInfo;Ljava/lang/String;ZZZLjava/nio/file/Path;)V
  • Method Details

    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lech;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 Lech;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;
    • getIconPath

      public Path getIconPath()
      Mappings:
      Namespace Name Mixin selector
      official c Lech;c()Ljava/nio/file/Path;
      intermediary method_27020 Lnet/minecraft/class_34;method_27020()Ljava/nio/file/Path;
      named getIconPath Lnet/minecraft/world/level/storage/LevelSummary;getIconPath()Ljava/nio/file/Path;
    • requiresConversion

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

      public boolean isExperimental()
      Mappings:
      Namespace Name Mixin selector
      official e Lech;e()Z
      intermediary method_45554 Lnet/minecraft/class_34;method_45554()Z
      named isExperimental Lnet/minecraft/world/level/storage/LevelSummary;isExperimental()Z
    • getLastPlayed

      public long getLastPlayed()
      Mappings:
      Namespace Name Mixin selector
      official f Lech;f()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 Lech;a(Lech;)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 g Lech;g()Lcpz;
      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 h Lech;h()Lcps;
      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 i Lech;i()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 j Lech;j()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 k Lech;k()Lty;
      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 l Lech;l()Leci;
      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 m Lech;m()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 n Lech;n()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 o Lech;o()Lech$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 p Lech;p()Z
      intermediary method_27021 Lnet/minecraft/class_34;method_27021()Z
      named isLocked Lnet/minecraft/world/level/storage/LevelSummary;isLocked()Z
    • isUnavailable

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

      public boolean isVersionAvailable()
      Mappings:
      Namespace Name Mixin selector
      official r Lech;r()Z
      intermediary method_38496 Lnet/minecraft/class_34;method_38496()Z
      named isVersionAvailable Lnet/minecraft/world/level/storage/LevelSummary;isVersionAvailable()Z
    • getDetails

      public Text getDetails()
      Mappings:
      Namespace Name Mixin selector
      official s Lech;s()Ltl;
      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 t Lech;t()Ltl;
      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;