Package net.minecraft
Class MinecraftVersion
java.lang.Object
net.minecraft.MinecraftVersion
- All Implemented Interfaces:
GameVersion
- Mappings:
Namespace Name named net/minecraft/MinecraftVersionintermediary net/minecraft/class_3797official t
-
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 named LOGGERLnet/minecraft/MinecraftVersion;LOGGER:Lorg/slf4j/Logger;intermediary field_16741Lnet/minecraft/class_3797;field_16741:Lorg/slf4j/Logger;official bLt;b:Lorg/slf4j/Logger;
-
CURRENT
- Mappings:
Namespace Name Mixin selector named CURRENTLnet/minecraft/MinecraftVersion;CURRENT:Lnet/minecraft/GameVersion;intermediary field_25319Lnet/minecraft/class_3797;field_25319:Lnet/minecraft/class_6489;official aLt;a:Lae;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/MinecraftVersion;id:Ljava/lang/String;intermediary field_16738Lnet/minecraft/class_3797;field_16738:Ljava/lang/String;official cLt;c:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/MinecraftVersion;name:Ljava/lang/String;intermediary field_16733Lnet/minecraft/class_3797;field_16733:Ljava/lang/String;official dLt;d:Ljava/lang/String;
-
stable
private final boolean stable- Mappings:
Namespace Name Mixin selector named stableLnet/minecraft/MinecraftVersion;stable:Zintermediary field_16737Lnet/minecraft/class_3797;field_16737:Zofficial eLt;e:Z
-
saveVersion
- Mappings:
Namespace Name Mixin selector named saveVersionLnet/minecraft/MinecraftVersion;saveVersion:Lnet/minecraft/SaveVersion;intermediary field_16736Lnet/minecraft/class_3797;field_16736:Lnet/minecraft/class_6595;official fLt;f:Leqx;
-
protocolVersion
private final int protocolVersion- Mappings:
Namespace Name Mixin selector named protocolVersionLnet/minecraft/MinecraftVersion;protocolVersion:Iintermediary field_16735Lnet/minecraft/class_3797;field_16735:Iofficial gLt;g:I
-
resourcePackVersion
private final int resourcePackVersion- Mappings:
Namespace Name Mixin selector named resourcePackVersionLnet/minecraft/MinecraftVersion;resourcePackVersion:Iintermediary field_27843Lnet/minecraft/class_3797;field_27843:Iofficial hLt;h:I
-
dataPackVersion
private final int dataPackVersion- Mappings:
Namespace Name Mixin selector named dataPackVersionLnet/minecraft/MinecraftVersion;dataPackVersion:Iintermediary field_16734Lnet/minecraft/class_3797;field_16734:Iofficial iLt;i:I
-
buildTime
- Mappings:
Namespace Name Mixin selector named buildTimeLnet/minecraft/MinecraftVersion;buildTime:Ljava/util/Date;intermediary field_16739Lnet/minecraft/class_3797;field_16739:Ljava/util/Date;official jLt;j:Ljava/util/Date;
-
-
Constructor Details
-
MinecraftVersion
private MinecraftVersion() -
MinecraftVersion
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/MinecraftVersion;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_3797;<init>(Lcom/google/gson/JsonObject;)Vofficial <init>Lt;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/MinecraftVersion;create()Lnet/minecraft/GameVersion;intermediary method_16672Lnet/minecraft/class_3797;method_16672()Lnet/minecraft/class_6489;official aLt;a()Lae;
-
getId
- Specified by:
getIdin interfaceGameVersion- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/GameVersion;getId()Ljava/lang/String;intermediary method_48018Lnet/minecraft/class_6489;method_48018()Ljava/lang/String;official bLae;b()Ljava/lang/String;
-
getName
- Specified by:
getNamein interfaceGameVersion- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/GameVersion;getName()Ljava/lang/String;intermediary method_48019Lnet/minecraft/class_6489;method_48019()Ljava/lang/String;official cLae;c()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 named getSaveVersionLnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;intermediary method_37912Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;official dLae;d()Leqx;
-
getProtocolVersion
public int getProtocolVersion()- Specified by:
getProtocolVersionin interfaceGameVersion- Mappings:
Namespace Name Mixin selector named getProtocolVersionLnet/minecraft/GameVersion;getProtocolVersion()Iintermediary method_48020Lnet/minecraft/class_6489;method_48020()Iofficial eLae;e()I
-
getResourceVersion
- Specified by:
getResourceVersionin interfaceGameVersion- Mappings:
Namespace Name Mixin selector named getResourceVersionLnet/minecraft/GameVersion;getResourceVersion(Lnet/minecraft/resource/ResourceType;)Iintermediary method_48017Lnet/minecraft/class_6489;method_48017(Lnet/minecraft/class_3264;)Iofficial aLae;a(Lass;)I
-
getBuildTime
- Specified by:
getBuildTimein interfaceGameVersion- Mappings:
Namespace Name Mixin selector named getBuildTimeLnet/minecraft/GameVersion;getBuildTime()Ljava/util/Date;intermediary method_48021Lnet/minecraft/class_6489;method_48021()Ljava/util/Date;official fLae;f()Ljava/util/Date;
-
isStable
public boolean isStable()- Specified by:
isStablein interfaceGameVersion- Mappings:
Namespace Name Mixin selector named isStableLnet/minecraft/GameVersion;isStable()Zintermediary method_48022Lnet/minecraft/class_6489;method_48022()Zofficial gLae;g()Z
-