Interface IModFormat
- All Known Implementing Classes:
ModFormatV2
,ModFormatV3
public interface IModFormat
The mod.json format.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionname()
Gets the format name.void
parse
(ModInfoBuilder builder, org.hjson.JsonObject object) Parses the mod.json.int
spec()
Gets the format version.
-
Method Details
-
parse
Parses the mod.json.- Parameters:
builder
- theModInfoBuilder
to use.object
- the json of the mod.json.
-
name
String name()Gets the format name. -
spec
int spec()Gets the format version.
-