Skip to content

Jar in Jar library mod for Minecraft responsible of adding a reference class with helper methods that can be used in every mod

License

Notifications You must be signed in to change notification settings

drkhodakarami/JiReference

Repository files navigation

-

-----------------------------------------------------

➤ What is this library?

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.

-----------------------------------------------------

➤ Depending Your Mod

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.

➤ Latest Version: 1.1.0

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

-----------------------------------------------------

➤ Contributors

Alireza Khodakarami
Alireza Khodakarami
[email protected]
🔥🔧

-----------------------------------------------------

➤ License

Licensed under MIT.

-----------------------------------------------------

➤ Table of Contents

About

Jar in Jar library mod for Minecraft responsible of adding a reference class with helper methods that can be used in every mod

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages