Ducky Updater Lib

Ducky Updater Lib

Simple library for checking mod updates from modrinth

20 338 downloads 81 followers

Ducky Updater Lib

Description

Simple library for checking mod updates from Modrinth

Adding the dependency

build.gradle.kts

repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    // Option 1: Include Ducky Updater to project for it available within your own jar (additional ~17kb)
    include(modImplementation("maven.modrinth", "ducky-updater-lib", "<version>"))
    
    // Option 2: Depend on Ducky Updater, but require that users install it manually
    modImplementation("maven.modrinth", "ducky-updater-lib", "<version>")
}

fabric.mod.json

{
  "depends": {
    "fabricloader": "*",
    ...
    // Also add dependency in your fabric.mod.json 
    "ducky-updater": "*"
  }
}

Usage

fabric.mod.json

{
  "custom": {
    ...
    "duckyupdater": {
      //Mod modrinth ID from project page
      "modrinthId": "mWxGwd3F",
      // Optional (release, beta, alpha)
      // Default: release
      "type": "release",
      // Optional (true, false)
      // Default false
      "featured": false
    }
  },
}
Before 2023.7.1
public class ModName implements ModInitializer {
    @Override
    public void onInitialize() {
        DuckyUpdater.checkForUpdate(
                "modrinthId",
                "modId",
                "alpha",        // Optional! Default release 
                true            // Optional! Default true
        );
    }
}
Version Minecraft Loader Download

Ducky Updater Lib 2026.6.1

2026.6.1

26.2, 26.3
fabric
Download

Ducky Updater Lib 2026.3.1

2026.3.1

26.1, 26.1.1, 26.1.2
fabric
Download

Ducky Updater Lib 2026.1.1

2026.1.1

1.21.10, 1.21.11, 1.21.9
fabric
Download

Ducky Updater Lib 2025.10.1

2025.10.1

1.21.10, 1.21.11, 1.21.9
fabric
Download

Ducky Updater Lib 2025.6.1

2025.6.1

1.21.6, 1.21.7, 1.21.8
fabric
Download

Ducky Updater Lib 2025.3.1

2025.3.1

1.21.5
fabric
Download

Ducky Updater Lib 2024.10.2

2024.10.2

1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
fabric
Download

Ducky Updater Lib 2024.10.1

2024.10.1

1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3
fabric
Download

Ducky Updater Lib 2023.10.1

2023.10.1

1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1
fabric
Download

Ducky Updater Lib 2023.7.2

2023.7.2

1.20, 1.20.1, 1.20.2
fabric
Download

Ducky Updater Lib 2023.7.1

2023.7.1

1.20, 1.20.1
fabric
Download

Ducky Updater Lib 2023.6.1

2023.6.1

1.20
fabric
Download

DU 2023.5.1

2023.5.1

1.19.4
fabric
Download

DU 2023.3.2

2023.3.2

1.19, 1.19.1, 1.19.2, 1.19.3
fabric
Download

DU 2023.3.2

2023.3.2

1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2
fabric
Download

DU 2023.3.1

2023.3.1

1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2
fabric
Download

DU 2023.2.3

2023.2.3

1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2
fabric
Download

DU 2023.2.3

2023.2.3

1.19, 1.19.1, 1.19.2, 1.19.3
fabric
Download

DU 2023.2.2

2023.2.2

1.19, 1.19.1, 1.19.2, 1.19.3
fabric
Download

DU 2023.2.1

2023.2.1

1.19, 1.19.1, 1.19.2, 1.19.3
fabric
Download