类 LevelSummary

  • 所有已实现的接口:
    Comparable<LevelSummary>

    public class LevelSummary
    extends Object
    implements Comparable<LevelSummary>
    Mappings:
    Namespace Name
    official dhc
    intermediary net/minecraft/class_34
    named net/minecraft/world/level/storage/LevelSummary
    • 字段详细资料

      • levelInfo

        private final LevelInfo levelInfo
        Mappings:
        Namespace Name Mixin selector
        official a Ldhc;a:Lbvv;
        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 Ldhc;b:Ldhd;
        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 Ldhc;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 Ldhc;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 Ldhc;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 Ldhc;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 Ldhc;g:Lon;
        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;
    • 构造器详细资料

      • LevelSummary

        public LevelSummary​(LevelInfo levelInfo,
                            SaveVersionInfo versionInfo,
                            String name,
                            boolean requiresConversion,
                            boolean locked,
                            File file)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldhc;<init>(Lbvv;Ldhd;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
    • 方法详细资料

      • getName

        public String getName()
        Mappings:
        Namespace Name Mixin selector
        official a Ldhc;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 Ldhc;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 Ldhc;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 Ldhc;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 Ldhc;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)
        指定者:
        compareTo 在接口中 Comparable<LevelSummary>
        Mappings:
        Namespace Name Mixin selector
        official a Ldhc;a(Ldhc;)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 Ldhc;f()Lbvv;
        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 Ldhc;g()Lbvo;
        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 Ldhc;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 Ldhc;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 Ldhc;j()Lot;
        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 Ldhc;k()Ldhd;
        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 Ldhc;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 Ldhc;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 Ldhc;n()Ldhc$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 Ldhc;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 Ldhc;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 Ldhc;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 Ldhc;r()Lon;
        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 Ldhc;s()Lon;
        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;