Class SaveVersionInfo

java.lang.Object
net.minecraft.world.level.storage.SaveVersionInfo

public class SaveVersionInfo extends Object
Mappings:
Namespace Name
official drs
intermediary net/minecraft/class_5315
named net/minecraft/world/level/storage/SaveVersionInfo
  • Field Details

    • levelFormatVersion

      private final int levelFormatVersion
      Mappings:
      Namespace Name Mixin selector
      official a Ldrs;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 Ldrs;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 Ldrs;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;
    • version

      private final SaveVersion version
      Mappings:
      Namespace Name Mixin selector
      official d Ldrs;d:Ldrk;
      intermediary field_25027 Lnet/minecraft/class_5315;field_25027:Lnet/minecraft/class_6595;
      named version Lnet/minecraft/world/level/storage/SaveVersionInfo;version:Lnet/minecraft/SaveVersion;
    • stable

      private final boolean stable
      Mappings:
      Namespace Name Mixin selector
      official e Ldrs;e:Z
      intermediary field_25028 Lnet/minecraft/class_5315;field_25028:Z
      named stable Lnet/minecraft/world/level/storage/SaveVersionInfo;stable:Z
  • Constructor Details

    • SaveVersionInfo

      private SaveVersionInfo(int levelFormatVersion, long lastPlayed, String versionName, int versionId, String series, boolean stable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrs;<init>(IJLjava/lang/String;ILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_5315;<init>(IJLjava/lang/String;ILjava/lang/String;Z)V
      named <init> Lnet/minecraft/world/level/storage/SaveVersionInfo;<init>(IJLjava/lang/String;ILjava/lang/String;Z)V
  • Method Details

    • fromDynamic

      public static SaveVersionInfo fromDynamic(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrs;a(Lcom/mojang/serialization/Dynamic;)Ldrs;
      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 Ldrs;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 Ldrs;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 Ldrs;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;
    • getVersion

      public SaveVersion getVersion()
      Mappings:
      Namespace Name Mixin selector
      official d Ldrs;d()Ldrk;
      intermediary method_29026 Lnet/minecraft/class_5315;method_29026()Lnet/minecraft/class_6595;
      named getVersion Lnet/minecraft/world/level/storage/SaveVersionInfo;getVersion()Lnet/minecraft/SaveVersion;
    • isStable

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