This API is for the General purpose of building graphs consisting of nodes and connectors that are divided into groups and grids. Groups are sets of nodes and connectors that are located next to each other and may not necessarily have a connection. Grids are already sets of connectors connected to each other which can be several in a group.
Its main purpose is to help create systems for exchanging information between nodes with simplified calculations. The library also allows you to create controllers for each group that will be responsible for the logic. The API is written without using additional libraries other than FastUtils.
Currently, two artifacts classes has been defined:
tesseract-fabricwhich includes (path:$projectDir/fabric):- default is the mod for fabric only,
dev-shadowis same asjarbut not obfuscated, made to run in development environments,sourcesis the source code.
tesseract-forgewhich includes (path:$projectDir/forge):- default is the mod for Forge only,
dev-shadowis same asjarbut not obfuscated, made to run in development environments,sourcesis the source code.
The common submodule has no use, cause some parts of the api had to be separated into their respective forge and fabric versions
It's as simple as running:
./gradlew build
Then you will find full mod in the right build/libs directories.
Use this in your build.gradle
repositories {
maven {
url = 'https://jitpack.io'
}
}
dependencies {
//Tag can be a commit hash, a github release tag, or (branch name)-SNAPSHOT
//forge
implementation 'com.github.GregTech-Intergalactical.TesseractAPI:TesseractAPI-forge:Tag'
//forge
implementation 'com.github.GregTech-Intergalactical.TesseractAPI:TesseractAPI-fabric:Tag'
}First you'll need a repository (files.axelandre42.ovh/maven is reserved to official releases).
Then set your environment variables:
MAVEN_URLMaven Repository URL.MAVEN_USERNAMEYour username on the repository.MAVEN_PASSWORDYour password on the repository.
And finally run: ./gradlew publish
Use the bumpMajor, bumpMinor and bumpRevision to increment version.
If the project is build from CI, it will append the build number automatically.
Otherwise it'll try to get the Git short revision ID.

