Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 739 Bytes

modrinth.md

File metadata and controls

38 lines (26 loc) · 739 Bytes
  • Project

    • slug / ID:唯一标识
    • project_typemod / modpack / resourcepack / shader
    • versions:version IDs
  • Version

    • name
    • version_number:semantic versioning
    • game_versions:支持的游戏版本列表(字符串数组)
    • version_typerelease / beta / alpha
    • loaders:支持的加载器列表(字符串数组)
    • files:VersionFiles
  • VersionFile

    • hashes
    • url
    • filename
    • primary:每个版本最多只有一个 Primary 文件,如果没有,可以推测第一个是
flowchart LR

file --> sha1
file --> sha2

subgraph hash
    sha1
    sha2
end

hash --get version from hash--> Version


Loading