public class Version
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
Version.EnumUpdateState |
| Modifier and Type | Field and Description |
|---|---|
static Version.EnumUpdateState |
currentVersion |
static int |
FORGE_VERSION_MAJOR |
static int |
FORGE_VERSION_MINOR |
static int |
FORGE_VERSION_PATCH |
static java.lang.String |
VERSION |
| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
static void |
check() |
static void |
displayChangelog(net.minecraft.command.ICommandSender sender) |
static java.lang.String[] |
getChangelog() |
static java.lang.String |
getRecommendedVersion() |
static java.lang.String |
getVersion() |
static java.lang.String[] |
grabChangelog(java.lang.String version) |
static boolean |
isOutdated() |
static boolean |
needsUpdateNoticeAndMarkAsSeen() |
void |
run() |
static void |
versionCheck() |
public static final java.lang.String VERSION
public static Version.EnumUpdateState currentVersion
public static final int FORGE_VERSION_MAJOR
public static final int FORGE_VERSION_MINOR
public static final int FORGE_VERSION_PATCH
public static java.lang.String getVersion()
public static boolean isOutdated()
public static boolean needsUpdateNoticeAndMarkAsSeen()
public static java.lang.String getRecommendedVersion()
public static void versionCheck()
public static java.lang.String[] getChangelog()
public static java.lang.String[] grabChangelog(java.lang.String version)
public void run()
run in interface java.lang.Runnablepublic static void displayChangelog(net.minecraft.command.ICommandSender sender)
public static void check()