💾Module Implementation

Include modules from Equator into your project perspectively.

Equator should not be included into your mod as it has many independent functions. However, this instruction shows you how to include Equator as modules.

Note well that all the modules work as mods, and depend on Fabric because the usage of certain functions. However, they are safe to be included in your project.

First of all, add JitPack to your repositories.

build.gradle
repositories {
    maven { url "https://jitpack.io" }
}

Choosing Modules

dependencies {
    modImplementation include("com.github.KrLite.Equator-v2:Animation:?-mcx.x.x")
}

Module Animation contains classes including Animation, Interpolation and Slice.

  • a.b.c stands for Minecraft version.

    • You should always use the full version, for example, 1.20.1.

    • If the build does not exist, consider trying again excluding the min version, for example, use 1.20 instead of 1.20.1.

    • If the build still does not exist, Equator may not support the targeting Minecraft version.

  • v? stands for Equator version.

    • Equivalent to the release tag, for example, v2.5.1.

    • Using the latest version is recommended.

  • Different Equator versions support different Minecraft versions, please check the requirements before implementing.

Overall, a legal version is like: 1.20.1-v2.5.1.

All modules' methods and classes are strictly in line with Equator's, which enables you switching to use Equator freely and without any worries.

🪐pageLanding on Equator

Last updated