Package net.minecraft
Class MinecraftVersion
java.lang.Object
net.minecraft.MinecraftVersion
- All Implemented Interfaces:
GameVersion
- Mappings:
Namespace Name named net/minecraft/MinecraftVersion
intermediary net/minecraft/class_3797
official t
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Date
static final GameVersion
private final int
private final String
private static final Logger
private final String
private final int
private final int
private final SaveVersion
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GameVersion
create()
getId()
getName()
int
int
Returns the save version information for this game version.boolean
isStable()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/MinecraftVersion;LOGGER:Lorg/slf4j/Logger;
intermediary field_16741
Lnet/minecraft/class_3797;field_16741:Lorg/slf4j/Logger;
official b
Lt;b:Lorg/slf4j/Logger;
-
CURRENT
- Mappings:
Namespace Name Mixin selector named CURRENT
Lnet/minecraft/MinecraftVersion;CURRENT:Lnet/minecraft/GameVersion;
intermediary field_25319
Lnet/minecraft/class_3797;field_25319:Lnet/minecraft/class_6489;
official a
Lt;a:Lad;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/MinecraftVersion;id:Ljava/lang/String;
intermediary field_16738
Lnet/minecraft/class_3797;field_16738:Ljava/lang/String;
official c
Lt;c:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/MinecraftVersion;name:Ljava/lang/String;
intermediary field_16733
Lnet/minecraft/class_3797;field_16733:Ljava/lang/String;
official d
Lt;d:Ljava/lang/String;
-
stable
private final boolean stable- Mappings:
Namespace Name Mixin selector named stable
Lnet/minecraft/MinecraftVersion;stable:Z
intermediary field_16737
Lnet/minecraft/class_3797;field_16737:Z
official e
Lt;e:Z
-
saveVersion
- Mappings:
Namespace Name Mixin selector named saveVersion
Lnet/minecraft/MinecraftVersion;saveVersion:Lnet/minecraft/SaveVersion;
intermediary field_16736
Lnet/minecraft/class_3797;field_16736:Lnet/minecraft/class_6595;
official f
Lt;f:Lepq;
-
protocolVersion
private final int protocolVersion- Mappings:
Namespace Name Mixin selector named protocolVersion
Lnet/minecraft/MinecraftVersion;protocolVersion:I
intermediary field_16735
Lnet/minecraft/class_3797;field_16735:I
official g
Lt;g:I
-
resourcePackVersion
private final int resourcePackVersion- Mappings:
Namespace Name Mixin selector named resourcePackVersion
Lnet/minecraft/MinecraftVersion;resourcePackVersion:I
intermediary field_27843
Lnet/minecraft/class_3797;field_27843:I
official h
Lt;h:I
-
dataPackVersion
private final int dataPackVersion- Mappings:
Namespace Name Mixin selector named dataPackVersion
Lnet/minecraft/MinecraftVersion;dataPackVersion:I
intermediary field_16734
Lnet/minecraft/class_3797;field_16734:I
official i
Lt;i:I
-
buildTime
- Mappings:
Namespace Name Mixin selector named buildTime
Lnet/minecraft/MinecraftVersion;buildTime:Ljava/util/Date;
intermediary field_16739
Lnet/minecraft/class_3797;field_16739:Ljava/util/Date;
official j
Lt;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;)V
intermediary <init>
Lnet/minecraft/class_3797;<init>(Lcom/google/gson/JsonObject;)V
official <init>
Lt;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/MinecraftVersion;create()Lnet/minecraft/GameVersion;
intermediary method_16672
Lnet/minecraft/class_3797;method_16672()Lnet/minecraft/class_6489;
official a
Lt;a()Lad;
-
getId
- Specified by:
getId
in interfaceGameVersion
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/GameVersion;getId()Ljava/lang/String;
intermediary method_48018
Lnet/minecraft/class_6489;method_48018()Ljava/lang/String;
official b
Lad;b()Ljava/lang/String;
-
getName
- Specified by:
getName
in interfaceGameVersion
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/GameVersion;getName()Ljava/lang/String;
intermediary method_48019
Lnet/minecraft/class_6489;method_48019()Ljava/lang/String;
official c
Lad;c()Ljava/lang/String;
-
getSaveVersion
Returns the save version information for this game version.- Specified by:
getSaveVersion
in interfaceGameVersion
- Returns:
- the save version information for this game version
- Mappings:
Namespace Name Mixin selector named getSaveVersion
Lnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;
intermediary method_37912
Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;
official d
Lad;d()Lepq;
-
getProtocolVersion
public int getProtocolVersion()- Specified by:
getProtocolVersion
in interfaceGameVersion
- Mappings:
Namespace Name Mixin selector named getProtocolVersion
Lnet/minecraft/GameVersion;getProtocolVersion()I
intermediary method_48020
Lnet/minecraft/class_6489;method_48020()I
official e
Lad;e()I
-
getResourceVersion
- Specified by:
getResourceVersion
in interfaceGameVersion
- Mappings:
Namespace Name Mixin selector named getResourceVersion
Lnet/minecraft/GameVersion;getResourceVersion(Lnet/minecraft/resource/ResourceType;)I
intermediary method_48017
Lnet/minecraft/class_6489;method_48017(Lnet/minecraft/class_3264;)I
official a
Lad;a(Latd;)I
-
getBuildTime
- Specified by:
getBuildTime
in interfaceGameVersion
- Mappings:
Namespace Name Mixin selector named getBuildTime
Lnet/minecraft/GameVersion;getBuildTime()Ljava/util/Date;
intermediary method_48021
Lnet/minecraft/class_6489;method_48021()Ljava/util/Date;
official f
Lad;f()Ljava/util/Date;
-
isStable
public boolean isStable()- Specified by:
isStable
in interfaceGameVersion
- Mappings:
Namespace Name Mixin selector named isStable
Lnet/minecraft/GameVersion;isStable()Z
intermediary method_48022
Lnet/minecraft/class_6489;method_48022()Z
official g
Lad;g()Z
-