Interface IModFormat

All Known Implementing Classes:
ModFormatV2, ModFormatV3

public interface IModFormat
The mod.json format.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the format name.
    void
    parse(ModInfoBuilder builder, org.hjson.JsonObject object)
    Parses the mod.json.
    int
    Gets the format version.
  • Method Details

    • parse

      void parse(ModInfoBuilder builder, org.hjson.JsonObject object)
      Parses the mod.json.
      Parameters:
      builder - the ModInfoBuilder to use.
      object - the json of the mod.json.
    • name

      String name()
      Gets the format name.
    • spec

      int spec()
      Gets the format version.