Class SaveVersionInfo
java.lang.Object
net.minecraft.world.level.storage.SaveVersionInfo
public class SaveVersionInfo extends Object
- Mappings:
Namespace Name official ddw
intermediary net/minecraft/class_5315
named net/minecraft/world/level/storage/SaveVersionInfo
-
Field Summary
Fields Modifier and Type Field Description private long
lastPlayed
private int
levelFormatVersion
private boolean
stable
private int
versionId
private String
versionName
-
Constructor Summary
Constructors Constructor Description SaveVersionInfo(int levelFormatVersion, long lastPlayed, String versionName, int versionId, boolean stable)
-
Method Summary
Modifier and Type Method Description static SaveVersionInfo
fromDynamic(com.mojang.serialization.Dynamic<?> dynamic)
long
getLastPlayed()
int
getLevelFormatVersion()
int
getVersionId()
String
getVersionName()
boolean
isStable()
-
Field Details
-
levelFormatVersion
private final int levelFormatVersion- Mappings:
Namespace Name Mixin selector official a
Lddw;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
Lddw;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
Lddw;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
Lddw;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
Lddw;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>
Lddw;<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
Lddw;a(Lcom/mojang/serialization/Dynamic;)Lddw;
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
Lddw;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
Lddw;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
Lddw;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
- Mappings:
Namespace Name Mixin selector official d
Lddw;d()I
intermediary method_29026
Lnet/minecraft/class_5315;method_29026()I
named getVersionId
Lnet/minecraft/world/level/storage/SaveVersionInfo;getVersionId()I
-
isStable
- Mappings:
Namespace Name Mixin selector official e
Lddw;e()Z
intermediary method_29027
Lnet/minecraft/class_5315;method_29027()Z
named isStable
Lnet/minecraft/world/level/storage/SaveVersionInfo;isStable()Z
-