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.AgriCraft:AgriCraft:v2.0.0a21'
}
dependencies {
implementation("com.github.AgriCraft:AgriCraft:v2.0.0a21")
}
<dependency>
<groupId>com.github.AgriCraft</groupId>
<artifactId>AgriCraft</artifactId>
<version>v2.0.0a21</version>
</dependency>
libraryDependencies += "com.github.AgriCraft" % "AgriCraft" % "v2.0.0a21"
:dependencies [[com.github.AgriCraft/AgriCraft "v2.0.0a21"]]
Agricultural farming extended.
I have a Discord channel where you can contact me for support/suggestions which you don't think fit on this issue tracker. Also if you want to discuss something with me, this is the place to be!
AgriCraft has releases for Minecraft versions 1.7.10 and onwards, status per Minecraft version is as follows:
| Version | Notes
|----------|:----------
| | No more work will be done on 1.7.10 by InfinityRaider or RlonRyan, if you want to maintain 1.7.10, contact us on Discord
|
| The 1.8.9 branch was highly experimental and the rendering is one big hack. Don't expect anything.
|
| Skipped 1.9, as it was an incredibly short-lived release.
|
| Closed.
|
| Skipped 1.11.
|
| Closed.
|
| Closed.
|
| Ported and supported
Please report any and all bugs you might encounter while playing with this mod (this only applies to versions of Minecraft this mod is currently being developed for). Suggestions are also welcome. However before reporting a bug please update to the latest version of the mod to see if it still persists. If you want to post bug reports for older versions, make sure to tell me what version you are using and the version of Forge you are using. If you report a bug and I request more feedback, the label 'Awaiting reply' will be added, if I have had no response for 5 days after adding that label, the issue will be closed.
AgriCraft is documented in the official GitHub wiki. Note that this kind of information is, most of the time, only needed by pack creators and not the average user.
The latest versions of ForgeGradle require some tweaking to get builds working. The two most important things to note are as follows:
gradle.propeties
to contain the following:org.gradle.java.home = C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.275.1-hotspot
gradle.propeties
to contain the following:# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
Note: We do not provide a default
gradle.properties
file as it is discouraged by the Gradle documentation, given that the file may contain maven login information and the likes.