Data Types#

PackReference#

{
  id: string
  version: string
}

PackCategory#

'Extensive' | 'Lightweight' | 'QoL' | 'Vanilla+' | 'Tech' | 'Magic' | 'Exploration' | 'World Overhaul' | 'Library' | 'No Resource Pack'

MinecraftVersion#

'1.21' | '1.21-rc1' | '1.21-pre4' | '1.21-pre3' | '1.21-pre2' | '1.21-pre1' | '1.21-24w21a' | '1.21-24w20a' | '1.21-24w19b' | '1.21-24w19a' | '1.21-24w18a' | '1.20.6' | '1.20.5' | '1.20.5-rc3' | '1.20.5-rc2' | '1.20.5-rc1' | '1.20.5-pre4' | '1.20.5-pre3' | '1.20.5-pre2' | '1.20.5-pre1' | '1.20.5-24w14a' | '1.20.5-24w13a' | '1.20.5-24w12a' | '1.20.5-24w10a' | '1.20.5-24w09a' | '1.20.5-23w51b' | '1.20.4' | '1.20.4-rc1' | '1.20.3' | '1.20.3-rc1' | '1.20.3-pre4' | '1.20.2' | '1.20.1' | '1.20' | '1.19.4' | '1.19' | '1.18.2' | '1.18.1' | '1.18' | '1.17.1' | '1.17'

PackVersion#

{
  name: string
  downloads: {
    datapack: string?
    resourcepack: string?
  }
  supports: MinecraftVersion[]
  dependencies: PackReference[]
}

PackData#

{
  id: string
  display: {
    name: string
    description: string
    icon: string
    hidden: boolean
    webPage: string?
    urls: {
      discord: string?
      source: string?
      homepage: string?
    }?
    gallery: {
      type: 'bucket'
      uid: string
      content: string?
    } | {
      type: 'file'
      uid: string
      content: string?
    } | string[]?
  }
  versions: PackVersion[]
  categories: PackCategory[]
}

PackMetaData#

{
  docId: string
  rawId: string
  stats: {
    updated: number?
    added: number
    downloads: {
      total: number
      today: number
    }
  }
  owner: string
  contributors: string[]
}

PackBundle#

{
  schemaVersion: null
  owner: string
  name: string
  version: MinecraftVersion
  packs: PackReference[]
  public: boolean
  uid: string?
} | {
  schemaVersion: 'v2'
  id: string
  uid: string?
  owner: string
  display: {
    name: string
    description: string
    icon: string
    webPage: string?
    urls: {
      discord: string?
      source: string?
      homepage: string?
    }?
  }
  visibility: 'public' | 'unlisted' | 'private'
  versions: {
    name: string
    patches: {
      datapack: string?
      resourcepack: string?
    }[]
    supports: MinecraftVersion[]
    packs: PackReference[]
  }[]
  categories: 'Extensive' | 'Lightweight' | 'QoL' | 'Vanilla+' | 'Tech' | 'Magic' | 'Exploration' | 'World Overhaul' | 'Quest Driven' | 'Multiplayer Focus'[]
}

UserData#

{
  displayName: string
  cleanName: string
  creationTime: number
  uid: string
  pfp: string?
  banner: string?
  biography: string?
  role: 'member' | 'admin'
}

SortOptions#

'trending' | 'downloads' | 'alphabetically' | 'newest'

PAToken#

{
  owner: string
  createdAt: number
  expiration: number
  scopes: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9[]
  tokenUid: string
  name: string
}