Skip to content

Installation

Maksym Uimanov edited this page Jan 29, 2026 · 2 revisions

Installation

This page explains how to add Temporal API to your Minecraft mod project.

Temporal API is a library mod and must be included as a dependency during development and shipped as a required dependency for runtime.


Supported Platforms

Temporal API supports multiple loaders depending on the Minecraft version:

Minecraft Version Mod Loader
1.21.x NeoForge
1.20.1 Forge/NeoForge

Always verify compatibility on the CurseForge files page before upgrading.


Using Gradle (Recommended)

Temporal API is distributed via Curse Maven, which mirrors CurseForge artifacts.

Add Curse Maven Repository

Add this repository to your build.gradle:

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

Add Temporal API Dependency

Add the dependency using the Curse Maven coordinates:

dependencies {
    implementation "curse.maven:temporalapi-970291:<file-id>"
}
  • 970291 is the CurseForge project ID for Temporal API
  • <file-id> must match the exact file ID from the CurseForge files page

Important: The file ID is part of the download URL on CurseForge.

Example:

URL: https://www.curseforge.com/minecraft/mc-mods/temporal-api/files/7027292 File ID: 7027292 Version: 1.9.0

Declaring Dependency (mods.toml)

Example dependency declaration:

[[dependencies.yourmodid]]
modId="temporalapi"
mandatory=true
versionRange="[1.9.0,)"
ordering="BEFORE"
side="BOTH"

Adjust versionRange based on the API version you target.


Common Issues

Mod not found at runtime

  • Temporal API is missing from the mods folder
  • Dependency not declared in mods.toml

Gradle cannot resolve dependency

  • Curse Maven repository missing
  • Incorrect file ID
  • Using an unsupported Minecraft version

Updating Temporal API

When updating:

  1. Check CurseForge changelog
  2. Verify breaking changes
  3. Update file ID in Gradle
  4. Test in a clean instance

Clone this wiki locally