Skip to content

Latest commit

 

History

History
78 lines (67 loc) · 2.64 KB

README.md

File metadata and controls

78 lines (67 loc) · 2.64 KB

Custom-Crops

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

CustomCrops is a Paper plugin crafted to deliver an exceptional planting experience for Minecraft servers, with a strong emphasis on customization and performance. It employs Zstd compression for data serialization, ensuring high efficiency comparable to Minecraft's own serialization techniques. The plugin optimizes server performance by running its tick system across multiple threads, reverting to the main thread only when required. Additionally, CustomCrops offers a comprehensive API that enables developers to create custom block mechanism with specific interaction and tick behaviors, such as a fish trap block that periodically provides players with fish.

How to build

Command Line

Install JDK 17 & 21.
Start terminal and change directory to the project folder.
Execute ".\gradlew build" and get the artifact under /target folder

IDE

Import the project and execute gradle build action.
Get the artifact under /target folder

Support the developer

Polymart: https://polymart.org/resource/customcrops.2625
Afdian: https://afdian.com/@xiaomomi

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}")
}

Fun facts

I misspelled mechanism as mechanic. I should have realized this earlier XD