Package net.minecraft
Class MinecraftVersion
java.lang.Object
net.minecraft.MinecraftVersion
- All Implemented Interfaces:
com.mojang.bridge.game.GameVersion
,GameVersion
- Mappings:
Namespace Name official v
intermediary net/minecraft/class_3797
named net/minecraft/MinecraftVersion
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Date
static final GameVersion
private final int
private final String
private static final org.slf4j.Logger
private final String
private final int
private final String
private final int
private final SaveVersion
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GameVersion
create()
getId()
getName()
int
getPackVersion
(com.mojang.bridge.game.PackType packType) int
Returns the save version information for this game version.boolean
isStable()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.bridge.game.GameVersion
getPackVersion
Methods inherited from interface net.minecraft.GameVersion
getSeriesId, getWorldVersion
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official b
Lv;b:Lorg/slf4j/Logger;
intermediary field_16741
Lnet/minecraft/class_3797;field_16741:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/MinecraftVersion;LOGGER:Lorg/slf4j/Logger;
-
CURRENT
- Mappings:
Namespace Name Mixin selector official a
Lv;a:Lae;
intermediary field_25319
Lnet/minecraft/class_3797;field_25319:Lnet/minecraft/class_6489;
named CURRENT
Lnet/minecraft/MinecraftVersion;CURRENT:Lnet/minecraft/GameVersion;
-
id
- Mappings:
Namespace Name Mixin selector official c
Lv;c:Ljava/lang/String;
intermediary field_16738
Lnet/minecraft/class_3797;field_16738:Ljava/lang/String;
named id
Lnet/minecraft/MinecraftVersion;id:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official d
Lv;d:Ljava/lang/String;
intermediary field_16733
Lnet/minecraft/class_3797;field_16733:Ljava/lang/String;
named name
Lnet/minecraft/MinecraftVersion;name:Ljava/lang/String;
-
stable
private final boolean stable- Mappings:
Namespace Name Mixin selector official e
Lv;e:Z
intermediary field_16737
Lnet/minecraft/class_3797;field_16737:Z
named stable
Lnet/minecraft/MinecraftVersion;stable:Z
-
saveVersion
- Mappings:
Namespace Name Mixin selector official f
Lv;f:Ldqn;
intermediary field_16736
Lnet/minecraft/class_3797;field_16736:Lnet/minecraft/class_6595;
named saveVersion
Lnet/minecraft/MinecraftVersion;saveVersion:Lnet/minecraft/SaveVersion;
-
protocolVersion
private final int protocolVersion- Mappings:
Namespace Name Mixin selector official g
Lv;g:I
intermediary field_16735
Lnet/minecraft/class_3797;field_16735:I
named protocolVersion
Lnet/minecraft/MinecraftVersion;protocolVersion:I
-
resourcePackVersion
private final int resourcePackVersion- Mappings:
Namespace Name Mixin selector official h
Lv;h:I
intermediary field_27843
Lnet/minecraft/class_3797;field_27843:I
named resourcePackVersion
Lnet/minecraft/MinecraftVersion;resourcePackVersion:I
-
dataPackVersion
private final int dataPackVersion- Mappings:
Namespace Name Mixin selector official i
Lv;i:I
intermediary field_16734
Lnet/minecraft/class_3797;field_16734:I
named dataPackVersion
Lnet/minecraft/MinecraftVersion;dataPackVersion:I
-
buildTime
- Mappings:
Namespace Name Mixin selector official j
Lv;j:Ljava/util/Date;
intermediary field_16739
Lnet/minecraft/class_3797;field_16739:Ljava/util/Date;
named buildTime
Lnet/minecraft/MinecraftVersion;buildTime:Ljava/util/Date;
-
releaseTarget
- Mappings:
Namespace Name Mixin selector official k
Lv;k:Ljava/lang/String;
intermediary field_16740
Lnet/minecraft/class_3797;field_16740:Ljava/lang/String;
named releaseTarget
Lnet/minecraft/MinecraftVersion;releaseTarget:Ljava/lang/String;
-
-
Constructor Details
-
MinecraftVersion
private MinecraftVersion() -
MinecraftVersion
- Mappings:
Namespace Name Mixin selector official <init>
Lv;<init>(Lcom/google/gson/JsonObject;)V
intermediary <init>
Lnet/minecraft/class_3797;<init>(Lcom/google/gson/JsonObject;)V
named <init>
Lnet/minecraft/MinecraftVersion;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lv;a()Lae;
intermediary method_16672
Lnet/minecraft/class_3797;method_16672()Lnet/minecraft/class_6489;
named create
Lnet/minecraft/MinecraftVersion;create()Lnet/minecraft/GameVersion;
-
getId
- Specified by:
getId
in interfacecom.mojang.bridge.game.GameVersion
-
getName
- Specified by:
getName
in interfacecom.mojang.bridge.game.GameVersion
-
getReleaseTarget
- Specified by:
getReleaseTarget
in interfacecom.mojang.bridge.game.GameVersion
-
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 official b
Lae;b()Ldqn;
intermediary method_37912
Lnet/minecraft/class_6489;method_37912()Lnet/minecraft/class_6595;
named getSaveVersion
Lnet/minecraft/GameVersion;getSaveVersion()Lnet/minecraft/SaveVersion;
-
getProtocolVersion
public int getProtocolVersion()- Specified by:
getProtocolVersion
in interfacecom.mojang.bridge.game.GameVersion
-
getPackVersion
public int getPackVersion(com.mojang.bridge.game.PackType packType) - Specified by:
getPackVersion
in interfacecom.mojang.bridge.game.GameVersion
- Mappings:
Namespace Name Mixin selector official getPackVersion
Lv;getPackVersion(Lcom/mojang/bridge/game/PackType;)I
intermediary getPackVersion
Lnet/minecraft/class_3797;getPackVersion(Lcom/mojang/bridge/game/PackType;)I
named getPackVersion
Lnet/minecraft/MinecraftVersion;getPackVersion(Lcom/mojang/bridge/game/PackType;)I
-
getBuildTime
- Specified by:
getBuildTime
in interfacecom.mojang.bridge.game.GameVersion
-
isStable
public boolean isStable()- Specified by:
isStable
in interfacecom.mojang.bridge.game.GameVersion
-