/Custom-Crops

Ultra-customizable planting experience for Minecraft servers

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Note: This project is undergoing a major refactoring. Please switch to the 3.6-dev branch for the new API.

Custom-Crops

CodeFactor Grade Code Size bStats Servers bStats Players Scc Count Badge GitHub Gitbook

Ultra-customizable planting experience for Minecraft servers

Support the developer

https://afdian.net/@xiaomomi

https://polymart.org/resource/customcrops.2625

How to build

Windows

Command Line

Install JDK 17 and set the JDK installation path to JAVA_HOME as an environment variable.
Start powershell and change directory to the project folder.
Execute ".\gradlew build" and get the jar at /target/CustomCrops-plugin-version.jar.

IDE

Import the project and execute gradle build action.

Use CustomCrops API

Maven

<repositories>
  <repository>
    <id>jitpack</id>
    <url>https://jitpack.io/</url>
  </repository>
</repositories>
<dependencies>
  <dependency>
    <groupId>com.github.Xiao-MoMi</groupId>
    <artifactId>Custom-Crops</artifactId>
    <version>{LATEST}</version>
    <scope>provided</scope>
  </dependency>
</dependencies>

Gradle (Groovy)

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    compileOnly 'com.github.Xiao-MoMi:Custom-Crops:{LATEST}'
}

Gradle (Kotlin)

repositories {
    maven("https://jitpack.io/")
}
dependencies {
    compileOnly("com.github.Xiao-MoMi:Custom-Crops:{LATEST}")
}