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.QuikMod:QuikLib:'
}
dependencies {
implementation("com.github.QuikMod:QuikLib:")
}
<dependency>
<groupId>com.github.QuikMod</groupId>
<artifactId>QuikLib</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.QuikMod" % "QuikLib" % ""
:dependencies [[com.github.QuikMod/QuikLib ""]]
A better way to code MinecraftForge mods.
MinecraftForge requires the modder to write far too much boilerplate code that distracts the modder from the actual coding, and winds up breaking with every Minecraft update. Take for example the typical BlockRegistry class. You have to manually list every block in your mod, just to make sure that they get registered. This is made worse when you consider version control, where if you have multiple modders adding blocks, then you have a bunch of merge conflicts on a class with only one use case. As such, wouldn't it be nice if you could eliminate the class entirely? What if you just had to annotate an item or a block class, and everything else was handled for you? If so, QuikCore is the Forge library mod for you!
QuikCore is planned to be directly integrated with QuikMod, so that you can go from zero to a Minecraft mod in less time than it took to run the Forge buildscripts prior to @AbrarSyed101's glorious Gradle intervention. Specifically, QuikCore aims to be used as part of QuikMod's code generation functionality, so that you can instantly generate functional item or block classes from which to build upon.
QuikCore is designed after a foray into Spring Boot's annotation magic, where with a few well-placed annotations, you can have a working performant web app.
QuikCore has no intention of generating all the code for you, like some other proposed mod solutions. Most of the time, said solutions generate tenuous code that lacks any expandability beyond the basics. QuikMod, on the other hand, simply aims to take care of some of the boilerplate stuff as to leave you free to focus on things like implementing those methane chickens. Bawk Bawk Boom. That's QuikMod + QuikCore for you.