Class ModInfo
java.lang.Object
com.seibel.distanthorizons.coreapi.ModInfo
This file is similar to mcmod.info
and contains most meta-information related to Distant Horizons.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
This version should only be updated when breaking changes are introduced to the DH APIstatic final int
This version should be updated whenever new methods are added to the DH APIstatic final int
This version should be updated whenever non-breaking fixes are added to the DH APIstatic final int
If the config file has an older version it'll be re-created from scratch.static final String
static final String
static final boolean
Returns true if the current build is an unstable developer build, false otherwise.static final String
The internal mod namestatic final int
Incremented every time any packets are added, changed or removed, with a few exceptions.static final String
Human-readable version of NAMEstatic final String
static final String
All DH owned threads should start with this string to allow for easier debugging and profiling.static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ID
- See Also:
-
RESOURCE_NAMESPACE
- See Also:
-
DEDICATED_SERVER_INITIAL_PATH
- See Also:
-
PROTOCOL_VERSION
public static final int PROTOCOL_VERSIONIncremented every time any packets are added, changed or removed, with a few exceptions.- See Also:
-
WRAPPER_PACKET_PATH
- See Also:
-
NAME
The internal mod name- See Also:
-
READABLE_NAME
Human-readable version of NAME- See Also:
-
VERSION
- See Also:
-
IS_DEV_BUILD
public static final boolean IS_DEV_BUILDReturns true if the current build is an unstable developer build, false otherwise. -
API_MAJOR_VERSION
public static final int API_MAJOR_VERSIONThis version should only be updated when breaking changes are introduced to the DH API- See Also:
-
API_MINOR_VERSION
public static final int API_MINOR_VERSIONThis version should be updated whenever new methods are added to the DH API- See Also:
-
API_PATCH_VERSION
public static final int API_PATCH_VERSIONThis version should be updated whenever non-breaking fixes are added to the DH API- See Also:
-
CONFIG_FILE_VERSION
public static final int CONFIG_FILE_VERSIONIf the config file has an older version it'll be re-created from scratch.- See Also:
-
THREAD_NAME_PREFIX
All DH owned threads should start with this string to allow for easier debugging and profiling.- See Also:
-
-
Constructor Details
-
ModInfo
public ModInfo()
-