public class ForgeVersion
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ForgeVersion.CheckResult |
static class |
ForgeVersion.Status |
Modifier and Type | Field and Description |
---|---|
static int |
buildVersion |
private static org.apache.logging.log4j.Logger |
log |
static int |
majorVersion |
private static int |
MAX_HTTP_REDIRECTS |
static java.lang.String |
mcpVersion |
static java.lang.String |
mcVersion |
static int |
minorVersion |
static java.lang.String |
MOD_ID |
private static ForgeVersion.CheckResult |
PENDING_CHECK |
private static java.util.Map<ModContainer,ForgeVersion.CheckResult> |
results |
static int |
revisionVersion |
private static ForgeVersion.Status |
status |
private static java.lang.String |
target |
Constructor and Description |
---|
ForgeVersion() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ModContainer,java.net.URL> |
gatherMods() |
static int |
getBuildVersion() |
static int |
getMajorVersion() |
static int |
getMinorVersion() |
static ForgeVersion.CheckResult |
getResult(ModContainer mod) |
static int |
getRevisionVersion() |
static ForgeVersion.Status |
getStatus() |
static java.lang.String |
getTarget() |
static java.lang.String |
getVersion() |
static void |
startVersionCheck() |
public static final java.lang.String MOD_ID
public static final int majorVersion
public static final int minorVersion
public static final int revisionVersion
public static final int buildVersion
public static final java.lang.String mcVersion
public static final java.lang.String mcpVersion
private static ForgeVersion.Status status
private static java.lang.String target
private static final org.apache.logging.log4j.Logger log
private static final int MAX_HTTP_REDIRECTS
private static java.util.Map<ModContainer,ForgeVersion.CheckResult> results
private static final ForgeVersion.CheckResult PENDING_CHECK
public static int getMajorVersion()
public static int getMinorVersion()
public static int getRevisionVersion()
public static int getBuildVersion()
public static ForgeVersion.Status getStatus()
@Nullable public static java.lang.String getTarget()
public static java.lang.String getVersion()
public static void startVersionCheck()
public static java.util.Map<ModContainer,java.net.URL> gatherMods()
public static ForgeVersion.CheckResult getResult(ModContainer mod)