类 SaveVersionInfo


  • public class SaveVersionInfo
    extends Object
    Mappings:
    Namespace Name
    official dhd
    intermediary net/minecraft/class_5315
    named net/minecraft/world/level/storage/SaveVersionInfo
    • 字段详细资料

      • levelFormatVersion

        private final int levelFormatVersion
        Mappings:
        Namespace Name Mixin selector
        official a Ldhd;a:I
        intermediary field_25024 Lnet/minecraft/class_5315;field_25024:I
        named levelFormatVersion Lnet/minecraft/world/level/storage/SaveVersionInfo;levelFormatVersion:I
      • lastPlayed

        private final long lastPlayed
        Mappings:
        Namespace Name Mixin selector
        official b Ldhd;b:J
        intermediary field_25025 Lnet/minecraft/class_5315;field_25025:J
        named lastPlayed Lnet/minecraft/world/level/storage/SaveVersionInfo;lastPlayed:J
      • versionName

        private final String versionName
        Mappings:
        Namespace Name Mixin selector
        official c Ldhd;c:Ljava/lang/String;
        intermediary field_25026 Lnet/minecraft/class_5315;field_25026:Ljava/lang/String;
        named versionName Lnet/minecraft/world/level/storage/SaveVersionInfo;versionName:Ljava/lang/String;
      • versionId

        private final int versionId
        Mappings:
        Namespace Name Mixin selector
        official d Ldhd;d:I
        intermediary field_25027 Lnet/minecraft/class_5315;field_25027:I
        named versionId Lnet/minecraft/world/level/storage/SaveVersionInfo;versionId:I
      • stable

        private final boolean stable
        Mappings:
        Namespace Name Mixin selector
        official e Ldhd;e:Z
        intermediary field_25028 Lnet/minecraft/class_5315;field_25028:Z
        named stable Lnet/minecraft/world/level/storage/SaveVersionInfo;stable:Z
    • 构造器详细资料

      • SaveVersionInfo

        public SaveVersionInfo​(int levelFormatVersion,
                               long lastPlayed,
                               String versionName,
                               int versionId,
                               boolean stable)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldhd;<init>(IJLjava/lang/String;IZ)V
        intermediary <init> Lnet/minecraft/class_5315;<init>(IJLjava/lang/String;IZ)V
        named <init> Lnet/minecraft/world/level/storage/SaveVersionInfo;<init>(IJLjava/lang/String;IZ)V
    • 方法详细资料

      • fromDynamic

        public static SaveVersionInfo fromDynamic​(com.mojang.serialization.Dynamic<?> dynamic)
        Mappings:
        Namespace Name Mixin selector
        official a Ldhd;a(Lcom/mojang/serialization/Dynamic;)Ldhd;
        intermediary method_29023 Lnet/minecraft/class_5315;method_29023(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_5315;
        named fromDynamic Lnet/minecraft/world/level/storage/SaveVersionInfo;fromDynamic(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/level/storage/SaveVersionInfo;
      • getLevelFormatVersion

        public int getLevelFormatVersion()
        Mappings:
        Namespace Name Mixin selector
        official a Ldhd;a()I
        intermediary method_29022 Lnet/minecraft/class_5315;method_29022()I
        named getLevelFormatVersion Lnet/minecraft/world/level/storage/SaveVersionInfo;getLevelFormatVersion()I
      • getLastPlayed

        public long getLastPlayed()
        Mappings:
        Namespace Name Mixin selector
        official b Ldhd;b()J
        intermediary method_29024 Lnet/minecraft/class_5315;method_29024()J
        named getLastPlayed Lnet/minecraft/world/level/storage/SaveVersionInfo;getLastPlayed()J
      • getVersionName

        public String getVersionName()
        Mappings:
        Namespace Name Mixin selector
        official c Ldhd;c()Ljava/lang/String;
        intermediary method_29025 Lnet/minecraft/class_5315;method_29025()Ljava/lang/String;
        named getVersionName Lnet/minecraft/world/level/storage/SaveVersionInfo;getVersionName()Ljava/lang/String;
      • getVersionId

        public int getVersionId()
        Mappings:
        Namespace Name Mixin selector
        official d Ldhd;d()I
        intermediary method_29026 Lnet/minecraft/class_5315;method_29026()I
        named getVersionId Lnet/minecraft/world/level/storage/SaveVersionInfo;getVersionId()I
      • isStable

        public boolean isStable()
        Mappings:
        Namespace Name Mixin selector
        official e Ldhd;e()Z
        intermediary method_29027 Lnet/minecraft/class_5315;method_29027()Z
        named isStable Lnet/minecraft/world/level/storage/SaveVersionInfo;isStable()Z