Class SaveVersionInfo
java.lang.Object
net.minecraft.world.level.storage.SaveVersionInfo
- Mappings:
Namespace Name official did
intermediary net/minecraft/class_5315
named net/minecraft/world/level/storage/SaveVersionInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate final long
private final int
private final boolean
private final int
private final String
-
Constructor Summary
ConstructorDescriptionSaveVersionInfo
(int levelFormatVersion, long lastPlayed, String versionName, int versionId, boolean stable) -
Method Summary
Modifier and TypeMethodDescriptionstatic SaveVersionInfo
fromDynamic
(com.mojang.serialization.Dynamic<?> dynamic) long
int
int
boolean
isStable()
-
Field Details
-
levelFormatVersion
private final int levelFormatVersion- Mappings:
Namespace Name Mixin selector official a
Ldid;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
Ldid;b:J
intermediary field_25025
Lnet/minecraft/class_5315;field_25025:J
named lastPlayed
Lnet/minecraft/world/level/storage/SaveVersionInfo;lastPlayed:J
-
versionName
- Mappings:
Namespace Name Mixin selector official c
Ldid;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
Ldid;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
Ldid;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
public SaveVersionInfo(int levelFormatVersion, long lastPlayed, String versionName, int versionId, boolean stable) - Mappings:
Namespace Name Mixin selector official <init>
Ldid;<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
-
-
Method Details
-
fromDynamic
- Mappings:
Namespace Name Mixin selector official a
Ldid;a(Lcom/mojang/serialization/Dynamic;)Ldid;
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
Ldid;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
Ldid;b()J
intermediary method_29024
Lnet/minecraft/class_5315;method_29024()J
named getLastPlayed
Lnet/minecraft/world/level/storage/SaveVersionInfo;getLastPlayed()J
-
getVersionName
- Mappings:
Namespace Name Mixin selector official c
Ldid;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
Ldid;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
Ldid;e()Z
intermediary method_29027
Lnet/minecraft/class_5315;method_29027()Z
named isStable
Lnet/minecraft/world/level/storage/SaveVersionInfo;isStable()Z
-