public class MinecraftVersion extends Object implements com.mojang.bridge.game.GameVersion
| Modifier and Type | Field and Description |
|---|---|
private Date |
buildTime |
private int |
dataPackVersion |
static com.mojang.bridge.game.GameVersion |
GAME_VERSION |
private String |
id |
private static Logger |
LOGGER |
private String |
name |
private int |
protocolVersion |
private String |
releaseTarget |
private int |
resourcePackVersion |
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(com.mojang.bridge.game.PackType packType) |
int |
getProtocolVersion() |
String |
getReleaseTarget() |
int |
getWorldVersion() |
boolean |
isStable() |
private static final Logger LOGGER
public static final com.mojang.bridge.game.GameVersion GAME_VERSION
private final String id
private final String name
private final boolean stable
private final int worldVersion
private final int protocolVersion
private final int resourcePackVersion
private final int dataPackVersion
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.GameVersionpublic String getName()
getName in interface com.mojang.bridge.game.GameVersionpublic String getReleaseTarget()
getReleaseTarget in interface com.mojang.bridge.game.GameVersionpublic int getWorldVersion()
getWorldVersion in interface com.mojang.bridge.game.GameVersionpublic int getProtocolVersion()
getProtocolVersion in interface com.mojang.bridge.game.GameVersionpublic int getPackVersion(com.mojang.bridge.game.PackType packType)
getPackVersion in interface com.mojang.bridge.game.GameVersionpublic Date getBuildTime()
getBuildTime in interface com.mojang.bridge.game.GameVersionpublic boolean isStable()
isStable in interface com.mojang.bridge.game.GameVersion