Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.CoFH:CoFHCore:'
}
dependencies {
implementation("com.github.CoFH:CoFHCore:")
}
<dependency>
<groupId>com.github.CoFH</groupId>
<artifactId>CoFHCore</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.CoFH" % "CoFHCore" % ""
:dependencies [[com.github.CoFH/CoFHCore ""]]
You'll notice that this repository does not have a license! By default, that means "All Rights Reserved."
That is indeed the case. If you'd like to reuse some of our GUI art assets for use in a mod, swing by our Discord and ask.
©2012-2021 Cult of the Full Hub / Team CoFH / CoFH
Contribution to this repository means that you are granting us rights over the code that you choose to contribute. If you do not agree with that, do not contribute.
So, why is this here? Well, the rights are reserved, but what that really means is that we choose what to do with the rights. So here you go.
*A Functionally Equivalent Statement is a code fragment which, regardless of whitespace and object names, achieves the same result within the context of a Minecraft mod or addon. Basically you can't copy the code, rename the variables, add whitespace and say it's different. It's not.
**A jerk is anyone who attempts to or intends to claim partial or total ownership of the original or repackaged code and/or attempts to or intends to redistribute original or repackaged code without prior express written permission from the owners (CoFH).
Essentially, take this and learn from it! Create addon mods that depend on it! If you see something we can improve, tell us. Submit a Pull Request. The one catch: don't steal! A lot of effort has gone into this, and if you were to take this and call it your own, you'd basically be a big jerk.
Don't be a jerk.
©2012-2021 Cult of the Full Hub / Team CoFH / CoFH