package Ġcom . k ne el awk . pack vul can . net . manifest Ċ Ċ import Ġcom . github . ben man es . caffe ine . cache . C affe ine Ċ import Ġcom . k ne el awk . pack vul can . model . manifest . fabric . Fabric Loader Json Ċ import Ġcom . k ne el awk . pack vul can . model . manifest . forge . Forge Manifest Json Ċ import Ġcom . k ne el awk . pack vul can . model . manifest . minecraft . Minecraft Manifest Json Ċ import Ġcom . k ne el awk . pack vul can . model . manifest . qu ilt . Qu ilt Loader Json Ċ import Ġcom . k ne el awk . pack vul can . net . HTTP _ CLIENT Ċ import Ġcom . k ne el awk . pack vul can . util . suspend Get Ċ import Ġio . ktor . client . request .* Ċ import Ġkotlinx . coroutines . Del icate Cor outines Api Ċ import Ġkotlinx . coroutines . Dispatch ers Ċ import Ġkotlinx . coroutines . with Context Ċ Ċ @ Opt In ( Del icate Cor outines Api :: class ) Ċ object ĠManifest Apis Ġ{ ĊĠĠĠ Ġprivate Ġval Ġfabric Lo aders Cache Ġ= ĠC affe ine . newBuilder (). build Async < Unit , ĠList < Fabric Loader Json >>() ĊĠĠĠ Ġprivate Ġval Ġfor ge Manifest Cache Ġ= ĠC affe ine . newBuilder (). build Async < Unit , ĠFor ge Manifest Json >() ĊĠĠĠ Ġprivate Ġval Ġm inecraft Manifest Cache Ġ= ĠC affe ine . newBuilder (). build Async < Unit , ĠMinecraft Manifest Json >() ĊĠĠĠ Ġprivate Ġval Ġqu ilt Manifest Cache Ġ= ĠC affe ine . newBuilder (). build Async < Unit , ĠList < Qu ilt Loader Json >>() ĊĊĠĠĠ Ġ/* ĊĠĠĠĠ Ġ* ĠRetrie ver Ġmethods . ĊĠĠĠĠ Ġ*/ ĊĊĠĠĠ Ġprivate Ġsuspend Ġfun Ġretrieve Fabric Lo aders (): ĠList < Fabric Loader Json > Ġ= Ġwith Context ( Dispatch ers . IO ) Ġ{ ĊĠĠĠĠĠĠĠ ĠHTTP _ CLIENT . get (" https :// meta . fabric mc . net / v 2 / versions / loader ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġsuspend Ġfun Ġretrieve Forge Manifest (): ĠFor ge Manifest Json Ġ= Ġwith Context ( Dispatch ers . IO ) Ġ{ ĊĠĠĠĠĠĠĠ ĠHTTP _ CLIENT . get (" https :// meta . mod rin th . com / game data / forge / v 0 / manifest . json ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġsuspend Ġfun Ġretrieve Minecraft Manifest (): ĠMinecraft Manifest Json Ġ= Ġwith Context ( Dispatch ers . IO ) Ġ{ ĊĠĠĠĠĠĠĠ ĠHTTP _ CLIENT . get (" https :// meta . mod rin th . com / game data / minecraft / v 0 / manifest . json ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġsuspend Ġfun Ġretrieve Qu ilt Manifest (): ĠList < Qu ilt Loader Json > Ġ= Ġwith Context ( Dispatch ers . IO ) Ġ{ ĊĠĠĠĠĠĠĠ ĠHTTP _ CLIENT . get (" https :// meta . qu ilt mc . org / v 3 / versions / loader ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ/* ĊĠĠĠĠ Ġ* ĠAccess or Ġmethods . ĊĠĠĠĠ Ġ*/ ĊĊĠĠĠ Ġsuspend Ġfun Ġfabric Lo aders (): ĠList < Fabric Loader Json > Ġ= Ġfabric Lo aders Cache . suspend Get ( Unit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġretrieve Fabric Lo aders () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġfor ge Manifest (): ĠFor ge Manifest Json Ġ= Ġfor ge Manifest Cache . suspend Get ( Unit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġretrieve Forge Manifest () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġm inecraft Manifest (): ĠMinecraft Manifest Json Ġ= Ġm inecraft Manifest Cache . suspend Get ( Unit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġretrieve Minecraft Manifest () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġqu ilt Manifest (): ĠList < Qu ilt Loader Json > Ġ= Ġqu ilt Manifest Cache . suspend Get ( Unit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġretrieve Qu ilt Manifest () ĊĠĠĠ Ġ} Ċ }