Package net.minecraft
Class MinecraftVersion
java.lang.Object
net.minecraft.MinecraftVersion
- All Implemented Interfaces:
GameVersion
- Mappings:
Namespace Name official tintermediary net/minecraft/class_3797named net/minecraft/MinecraftVersion
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Datestatic final GameVersionprivate final intprivate final Stringprivate static final Loggerprivate final Stringprivate final intprivate final intprivate final SaveVersionprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GameVersioncreate()getId()getName()intintReturns the save version information for this game version.booleanisStable()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLt;b:Lorg/slf4j/Logger;intermediary field_16741Lnet/minecraft/class_3797;field_16741:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/MinecraftVersion;LOGGER:Lorg/slf4j/Logger;
-
CURRENT
- Mappings:
Namespace Name Mixin selector official aLt;a:Lad;intermediary field_25319Lnet/minecraft/class_3797;field_25319:Lnet/minecraft/class_6489;named CURRENTLnet/minecraft/MinecraftVersion;CURRENT:Lnet/minecraft/GameVersion;
-
id
- Mappings:
Namespace Name Mixin selector official cLt;c:Ljava/lang/String;intermediary field_16738Lnet/minecraft/class_3797;field_16738:Ljava/lang/String;named idLnet/minecraft/MinecraftVersion;id:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official dLt;d:Ljava/lang/String;intermediary field_16733Lnet/minecraft/class_3797;field_16733:Ljava/lang/String;named nameLnet/minecraft/MinecraftVersion;name:Ljava/lang/String;
-
stable
private final boolean stable- Mappings:
Namespace Name Mixin selector official eLt;e:Zintermediary field_16737Lnet/minecraft/class_3797;field_16737:Znamed stableLnet/minecraft/MinecraftVersion;stable:Z
-
saveVersion
- Mappings:
Namespace Name Mixin selector official fLt;f:Ldyp;intermediary field_16736Lnet/minecraft/class_3797;field_16736:Lnet/minecraft/class_6595;named saveVersionLnet/minecraft/MinecraftVersion;saveVersion:Lnet/minecraft/SaveVersion;
-
protocolVersion
private final int protocolVersion- Mappings:
Namespace Name Mixin selector official gLt;g:Iintermediary field_16735Lnet/minecraft/class_3797;field_16735:Inamed protocolVersionLnet/minecraft/MinecraftVersion;protocolVersion:I
-
resourcePackVersion
private final int resourcePackVersion- Mappings:
Namespace Name Mixin selector official hLt;h:Iintermediary field_27843Lnet/minecraft/class_3797;field_27843:Inamed resourcePackVersionLnet/minecraft/MinecraftVersion;resourcePackVersion:I
-
dataPackVersion
private final int dataPackVersion- Mappings:
Namespace Name Mixin selector official iLt;i:Iintermediary field_16734Lnet/minecraft/class_3797;field_16734:Inamed dataPackVersionLnet/minecraft/MinecraftVersion;dataPackVersion:I
-
buildTime
- Mappings:
Namespace Name Mixin selector official jLt;j:Ljava/util/Date;intermediary field_16739Lnet/minecraft/class_3797;field_16739:Ljava/util/Date;named buildTimeLnet/minecraft/MinecraftVersion;buildTime:Ljava/util/Date;
-
-
Constructor Details
-
MinecraftVersion
private MinecraftVersion() -
MinecraftVersion
- Mappings:
Namespace Name Mixin selector official <init>Lt;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_3797;<init>(Lcom/google/gson/JsonObject;)Vnamed <init>Lnet/minecraft/MinecraftVersion;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official aLt;a()Lad;intermediary method_16672Lnet/minecraft/class_3797;method_16672()Lnet/minecraft/class_6489;named createLnet/minecraft/MinecraftVersion;create()Lnet/minecraft/GameVersion;
-
getId
- Specified by:
getIdin interfaceGameVersion- Mappings:
Namespace Name Mixin selector official bLad;b()Ljava/lang/String;intermediary method_48018Lnet/minecraft/class_6489;method_48018()Ljava/lang/String;named getIdLnet/minecraft/GameVersion;getId()Ljava/lang/String;
-
getName
- Specified by:
getNamein interfaceGameVersion- Mappings:
Namespace Name Mixin selector official cLad;c()Ljava/lang/String;intermediary method_48019Lnet/minecraft/class_6489;method_48019()Ljava/lang/String;named getNameLnet/minecraft/GameVersion;getName()Ljava/lang/String;
-
getSaveVersion
Returns the save version information for this game version.- Specified by:
getSaveVersionin interfaceGameVersion- Returns:
- the save version information for this game version
- Mappings:
Namespace Name Mixin selector official dLad;d()Ldyp;intermediary method_37912Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;named getSaveVersionLnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;
-
getProtocolVersion
public int getProtocolVersion()- Specified by:
getProtocolVersionin interfaceGameVersion- Mappings:
Namespace Name Mixin selector official eLad;e()Iintermediary method_48020Lnet/minecraft/class_6489;method_48020()Inamed getProtocolVersionLnet/minecraft/GameVersion;getProtocolVersion()I
-
getResourceVersion
- Specified by:
getResourceVersionin interfaceGameVersion- Mappings:
Namespace Name Mixin selector official aLad;a(Lajm;)Iintermediary method_48017Lnet/minecraft/class_6489;method_48017(Lnet/minecraft/class_3264;)Inamed getResourceVersionLnet/minecraft/GameVersion;getResourceVersion(Lnet/minecraft/resource/ResourceType;)I
-
getBuildTime
- Specified by:
getBuildTimein interfaceGameVersion- Mappings:
Namespace Name Mixin selector official fLad;f()Ljava/util/Date;intermediary method_48021Lnet/minecraft/class_6489;method_48021()Ljava/util/Date;named getBuildTimeLnet/minecraft/GameVersion;getBuildTime()Ljava/util/Date;
-
isStable
public boolean isStable()- Specified by:
isStablein interfaceGameVersion- Mappings:
Namespace Name Mixin selector official gLad;g()Zintermediary method_48022Lnet/minecraft/class_6489;method_48022()Znamed isStableLnet/minecraft/GameVersion;isStable()Z
-