🪐
Equator v2
GitHub
English
English
  • 🪐Landing on Equator
  • 🚀Quick Help
  • 💿Mathematics
    • Introduction
    • Linear Geogebra
  • 🛸Render
    • Introduction
    • Your Render Pipelines
  • 🎏Animation
    • Introduction
    • The Animation System
  • 🎯Visual
    • Introduction
  • Miscellaneous
    • 💾Module Implementation
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Miscellaneous

Module Implementation

Include modules from Equator into your project perspectively.

PreviousIntroduction

Last updated 1 year ago

Was this helpful?

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 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.

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

Module Math contains classes including Vector, Box, Theory and FrameInfo.

dependencies {
    modImplementation include("com.github.KrLite.Equator-v2:Visual:a.b.c-v?")
}

Module Visual contains classes including AccurateColor and Palette.

  • 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.

💾
JitPack
🪐Landing on Equator