Changes

14 bytes removed ,  16:48, 11 June 2022
Update to 1.19
Line 30: Line 30:  
* <code>BETA_OUTDATED</code> - There is no recommended version, and the currently installed version is behind the latest version for the MC version.
 
* <code>BETA_OUTDATED</code> - There is no recommended version, and the currently installed version is behind the latest version for the MC version.
   −
== <tt>CheckResult</tt> ==
+
==<tt>CheckResult</tt>==
 
The version checker result for a mod can be retrieving using the <code>VersionChecker.getResult(IModInfo)</code> static method which returns a <code>CheckResult</code>. (<code>IModInfo</code> is the information for a specific mod; see <code>ModList#getModContainerById(String)</code> and <code>ModContainer#getModInfo()</code>).
 
The version checker result for a mod can be retrieving using the <code>VersionChecker.getResult(IModInfo)</code> static method which returns a <code>CheckResult</code>. (<code>IModInfo</code> is the information for a specific mod; see <code>ModList#getModContainerById(String)</code> and <code>ModContainer#getModInfo()</code>).
   −
The <code>CheckResult</code> contains four unmodifiable fields:
+
The <code>CheckResult</code> contains four methods:
 
* <code>status</code>, the version checker status as a <code>VersionChecker.Status</code> enum value.
 
* <code>status</code>, the version checker status as a <code>VersionChecker.Status</code> enum value.
 
* <code>target</code>, the version which caused the <code>OUTDATED</code>, <code>BETA</code> or <code>BETA_OUTDATED</code>
 
* <code>target</code>, the version which caused the <code>OUTDATED</code>, <code>BETA</code> or <code>BETA_OUTDATED</code>