Package com. github. reviversmc. themodindex. api. data
Types
Link copied to clipboard
data class ManifestJson( val indexVersion: String, val genericIdentifier: String, val fancyName: String, val author: String, val license: String?, val curseForgeId: Int?, val modrinthId: String?, val links: ManifestLinks, val files: List<VersionFile>)
Content copied to clipboard
A manifest for a mod. The same mod meant for different mod loaders (e.g. Quilt, Fabric, Forge, etc.) will have different manifests.
Link copied to clipboard
data class ManifestJsonWithOverrides( val indexVersion: String, val genericIdentifier: String, val fancyName: String, val author: String, val license: String?, val curseForgeId: Int?, val modrinthId: String?, val links: ManifestLinks, val files: List<VersionFile>, val overrides: Overrides?)
Content copied to clipboard
A manifest for a mod. The same mod meant for different mod loaders (e.g. Quilt, Fabric, Forge, etc.) will have different manifests.
Link copied to clipboard
data class ManifestLinks( val issue: String?, val sourceControl: String?, val others: List<ManifestLinks.OtherLink>)
Content copied to clipboard
A couple of links related to the mod.
Link copied to clipboard
data class ManifestOverrideLinks( val issue: String?, val sourceControl: String?, val others: OverrideSelection<List<ManifestLinks.OtherLink>>?)
Content copied to clipboard
Overridden links related to the mod.
Link copied to clipboard
data class Overrides( val genericIdentifier: String?, val fancyName: String?, val author: String?, val license: String?, val curseForgeId: Int?, val modrinthId: String?, val links: ManifestOverrideLinks?, val files: OverrideSelection<List<VersionOverrideFile>>?)
Content copied to clipboard
The possible overrideable fields in the manifest.
Link copied to clipboard
data class RelationsToOtherMods(val required: List<String>, val incompatible: List<String>)
Content copied to clipboard
Relations (i.e. dependencies/conflicts) to other mods, in the form of generic identifiers (i.e. "{mod loader}:{mod name}").
Link copied to clipboard
data class VersionFile( val fileName: String, val mcVersions: List<String>, val shortSha512Hash: String, val downloadUrls: List<String>, val curseDownloadAvailable: Boolean, val relationsToOtherMods: RelationsToOtherMods)
Content copied to clipboard
File versions for the mod.
Link copied to clipboard
data class VersionOverrideFile( val fileName: String, val mcVersions: OverrideSelection<List<String>>, val shortSha512Hash: String, val downloadUrls: OverrideSelection<List<String>>, val curseDownloadAvailable: Boolean, val relationsToOtherMods: OverrideSelection<RelationsToOtherMods>)
Content copied to clipboard
Overridden file versions for the mod.