public class MinecraftVersion extends Object implements com.mojang.bridge.game.GameVersion
Modifier and Type | Field and Description |
---|---|
private Date |
buildTime |
static com.mojang.bridge.game.GameVersion |
field_25319 |
private String |
id |
private static Logger |
LOGGER |
private String |
name |
private int |
packVersion |
private int |
protocolVersion |
private String |
releaseTarget |
private boolean |
stable |
private int |
worldVersion |
Modifier | Constructor and Description |
---|---|
private |
MinecraftVersion() |
private |
MinecraftVersion(JsonObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
static com.mojang.bridge.game.GameVersion |
create() |
Date |
getBuildTime() |
String |
getId() |
String |
getName() |
int |
getPackVersion() |
int |
getProtocolVersion() |
String |
getReleaseTarget() |
int |
getWorldVersion() |
boolean |
isStable() |
private static final Logger LOGGER
public static final com.mojang.bridge.game.GameVersion field_25319
private final String id
private final String name
private final boolean stable
private final int worldVersion
private final int protocolVersion
private final int packVersion
private final Date buildTime
private final String releaseTarget
private MinecraftVersion()
private MinecraftVersion(JsonObject jsonObject)
public static com.mojang.bridge.game.GameVersion create()
public String getId()
getId
in interface com.mojang.bridge.game.GameVersion
public String getName()
getName
in interface com.mojang.bridge.game.GameVersion
public 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 Date getBuildTime()
getBuildTime
in interface com.mojang.bridge.game.GameVersion
public boolean isStable()
isStable
in interface com.mojang.bridge.game.GameVersion