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.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()
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