Package net.minecraft
Class SaveVersion
java.lang.Object
net.minecraft.SaveVersion
The version components of Minecraft that is used for identification in
 save games.
- Mappings:
- Namespace - Name - named - net/minecraft/SaveVersion- intermediary - net/minecraft/class_6595- official - ezz
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()Returns the integer data version of this save version.Returns the series of this version.booleanisAvailableTo(SaveVersion other) Returns whether this save version can be loaded by theotherversion.boolean
- 
Field Details- 
MAIN_SERIESThe default series of a version,main, if a series is not specified.- Mappings:
- Namespace - Name - Mixin selector - named - MAIN_SERIES- Lnet/minecraft/SaveVersion;MAIN_SERIES:Ljava/lang/String;- intermediary - field_34768- Lnet/minecraft/class_6595;field_34768:Ljava/lang/String;- official - a- Lezz;a:Ljava/lang/String;
 
- 
idprivate final int id- Mappings:
- Namespace - Name - Mixin selector - named - id- Lnet/minecraft/SaveVersion;id:I- intermediary - field_34769- Lnet/minecraft/class_6595;field_34769:I- official - b- Lezz;b:I
 
- 
series- Mappings:
- Namespace - Name - Mixin selector - named - series- Lnet/minecraft/SaveVersion;series:Ljava/lang/String;- intermediary - field_34770- Lnet/minecraft/class_6595;field_34770:Ljava/lang/String;- official - c- Lezz;c:Ljava/lang/String;
 
 
- 
- 
Constructor Details- 
SaveVersionpublic SaveVersion(int id) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/SaveVersion;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_6595;<init>(I)V- official - <init>- Lezz;<init>(I)V
 
- 
SaveVersion- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/SaveVersion;<init>(ILjava/lang/String;)V- intermediary - <init>- Lnet/minecraft/class_6595;<init>(ILjava/lang/String;)V- official - <init>- Lezz;<init>(ILjava/lang/String;)V
 
 
- 
- 
Method Details- 
isNotMainSeriespublic boolean isNotMainSeries()- Mappings:
- Namespace - Name - Mixin selector - named - isNotMainSeries- Lnet/minecraft/SaveVersion;isNotMainSeries()Z- intermediary - method_38490- Lnet/minecraft/class_6595;method_38490()Z- official - a- Lezz;a()Z
 
- 
getSeriesReturns the series of this version.This is stored in the Seriesfield withinlevel.dat.Known values include: - mainfor versions that are not experimental snapshots
- ccpreviewfor the 1.18 Caves and Cliffs experimental snapshots
- deep_dark_previewfor 1.19 Deep Dark experimental snapshots
 - Returns:
- the series of this version
- Mappings:
- Namespace - Name - Mixin selector - named - getSeries- Lnet/minecraft/SaveVersion;getSeries()Ljava/lang/String;- intermediary - method_38492- Lnet/minecraft/class_6595;method_38492()Ljava/lang/String;- official - b- Lezz;b()Ljava/lang/String;
 
- 
getIdpublic int getId()Returns the integer data version of this save version.- Returns:
- the integer data version of this save version
- Mappings:
- Namespace - Name - Mixin selector - named - getId- Lnet/minecraft/SaveVersion;getId()I- intermediary - method_38494- Lnet/minecraft/class_6595;method_38494()I- official - c- Lezz;c()I
 
- 
isAvailableToReturns whether this save version can be loaded by theotherversion.- Returns:
- whether this save version can be loaded by the otherversion
- Mappings:
- Namespace - Name - Mixin selector - named - isAvailableTo- Lnet/minecraft/SaveVersion;isAvailableTo(Lnet/minecraft/SaveVersion;)Z- intermediary - method_38493- Lnet/minecraft/class_6595;method_38493(Lnet/minecraft/class_6595;)Z- official - a- Lezz;a(Lezz;)Z
 
 
-