-
This is a simple yet useful library for adding a reference class that has helper methods for creating tags, and will carry the mod id of your mod. In your main mod, you will extend this class, replace the ModID attribute with your mod id one, and then you can add anything you need to the inherited class.
This library is using repsy for maven publishing system. Follow the guideline bellow to make dependency for your mod. This library is depending on JiLogger Library so you should add it to your main mod too.
First you need to add the maven to your build.gradle
repositories:
repositories
{
mavenCentral()
maven { url 'https://repo.repsy.io/mvn/jiraiyah/jilibs' }
}
then you need to add the dependency into your dependency section in build.gradle
dependencies
{
modImplementation include("jiraiyah.logger:jilogger:${jilogger_version}")
modImplementation include("jiraiyah.reference:jireference:${jireference_version}")
}
Finally, we need to add an entry inside gradle.properties
using the version from the maven repository. The version should look like x.x.x-MCx.x.
x for sub versions of Minecraft, and for the main versions of the game it should be like x.x.x-MCx.x
Look into MAVEN REPOSITORY for the proper versioning. Look into JiLogger REPOSITORY for the proper versioning.
jireference_version=x.x.x
jilogger_version=y.y.y
Alireza Khodakarami |
[email protected] |
🔥🔧 |
Licensed under MIT.