public class MinecraftVersion
extends java.lang.Object
implements com.mojang.bridge.game.GameVersion
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
buildTime |
private java.lang.String |
id |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.lang.String |
name |
private int |
packVersion |
private int |
protocolVersion |
private java.lang.String |
releaseTarget |
private boolean |
stable |
private int |
worldVersion |
Modifier | Constructor and Description |
---|---|
|
MinecraftVersion() |
protected |
MinecraftVersion(com.google.gson.JsonObject p_i51407_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getBuildTime() |
java.lang.String |
getId() |
java.lang.String |
getName() |
int |
getPackVersion() |
int |
getProtocolVersion() |
java.lang.String |
getReleaseTarget() |
int |
getWorldVersion() |
boolean |
isStable() |
static com.mojang.bridge.game.GameVersion |
load() |
private static final org.apache.logging.log4j.Logger LOGGER
private final java.lang.String id
private final java.lang.String name
private final boolean stable
private final int worldVersion
private final int protocolVersion
private final int packVersion
private final java.util.Date buildTime
private final java.lang.String releaseTarget
public MinecraftVersion()
protected MinecraftVersion(com.google.gson.JsonObject p_i51407_1_)
public static com.mojang.bridge.game.GameVersion load()
public java.lang.String getId()
getId
in interface com.mojang.bridge.game.GameVersion
public java.lang.String getName()
getName
in interface com.mojang.bridge.game.GameVersion
public java.lang.String getReleaseTarget()
getReleaseTarget
in interface com.mojang.bridge.game.GameVersion
public int getWorldVersion()
getWorldVersion
in interface com.mojang.bridge.game.GameVersion
public int getProtocolVersion()
getProtocolVersion
in interface com.mojang.bridge.game.GameVersion
public int getPackVersion()
getPackVersion
in interface com.mojang.bridge.game.GameVersion
public java.util.Date getBuildTime()
getBuildTime
in interface com.mojang.bridge.game.GameVersion
public boolean isStable()
isStable
in interface com.mojang.bridge.game.GameVersion