Skip to content

alwaeles/TesseractAPI

 
 

Repository files navigation

Tesseract

Tesseract: 3D Network Graph Library for Java

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.

Graph

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.

Artifacts

Currently, two artifacts classes has been defined:

  • tesseract which includes (path: $projectDir/):
    • base is the shared code (compiled),
    • fat is the full mod working with both Forge and (in the future) Fabric,
    • dev is same as fat but not obfuscated, made to run in development environments.
  • tesseract-forge which includes (path: $projectDir/forge):
    • default unused,
    • all is the mod for Forge only,
    • dev is same as all but not obfuscated, made to run in development environments,
    • sources is the source code (not fully ready).

Building

It's as simple as running:

./gradlew build

Then you will find full mod in the right build/libs directories.

Install as a dependency

Currently only Forge is supported, use this in your build.gradle

repositories {
    maven {
        url = 'https://files.axelandre42.ovh/maven/'
    }
}

dependencies {
    // TODO update version:
    implementation 'com.github.gregtech-intergalactical:tesseract-forge:${tesseract_version}:dev'
}

Publishing to a maven repository

First you'll need a repository (files.axelandre42.ovh/maven is reserved to official releases).

Then set your environment variables:

  • MAVEN_URL Maven Repository URL.
  • MAVEN_USERNAME Your username on the repository.
  • MAVEN_PASSWORD Your password on the repository.

And finally run: ./gradlew publish

Version management

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.

About

The Tesseract API for Minecraft ⚡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%