Class ModInfo

java.lang.Object
com.seibel.distanthorizons.coreapi.ModInfo

public final class ModInfo extends Object
This file is similar to mcmod.info and contains most meta-information related to Distant Horizons.
  • Field Details

    • ID

      public static final String ID
      See Also:
    • RESOURCE_NAMESPACE

      public static final String RESOURCE_NAMESPACE
      See Also:
    • DEDICATED_SERVER_INITIAL_PATH

      public static final String DEDICATED_SERVER_INITIAL_PATH
      See Also:
    • PROTOCOL_VERSION

      public static final int PROTOCOL_VERSION
      Incremented every time any packets are added, changed or removed, with a few exceptions.
      See Also:
    • WRAPPER_PACKET_PATH

      public static final String WRAPPER_PACKET_PATH
      See Also:
    • NAME

      public static final String NAME
      The internal mod name
      See Also:
    • READABLE_NAME

      public static final String READABLE_NAME
      Human-readable version of NAME
      See Also:
    • VERSION

      public static final String VERSION
      See Also:
    • IS_DEV_BUILD

      public static final boolean IS_DEV_BUILD
      Returns true if the current build is an unstable developer build, false otherwise.
    • API_MAJOR_VERSION

      public static final int API_MAJOR_VERSION
      This 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_VERSION
      This version should be updated whenever new methods are added to the DH API
      See Also:
    • API_PATCH_VERSION

      public static final int API_PATCH_VERSION
      This 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_VERSION
      If the config file has an older version it'll be re-created from scratch.
      See Also:
    • THREAD_NAME_PREFIX

      public static final String 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()