You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2022. It is now read-only.
jtljac edited this page Jun 15, 2020
·
8 revisions
Factions has been made fairly transparent for developers to allow them to get data from the mod and hook into events triggered by the mod
Adding factions to your project
Method one
You can download the latest release, stick that in a directory in your project (E.G. "{Project}/libs"), then in your build.gradle tell it to compile the files in that directory by adding the following into the dependencies section of the build.gradle (replace 'libs' with whatever subdirectory you put the jar in):
compile fileTree(dir: 'libs', include: ['*.jar'])
Method two
You can add the curse maven repository to your project, and fetch Dat Modding API from there
Add the following to your build.gradle: