mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-19 23:19:19 +00:00
Update README.md
This commit is contained in:
41
README.md
41
README.md
@@ -1,6 +1,5 @@
|
|||||||
# Custom-Crops
|
# Custom-Crops
|
||||||

|

|
||||||
[](https://jitpack.io/#Xiao-MoMi/Custom-Crops)
|
|
||||||
<a href="https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customcrops" alt="GitBook">
|
<a href="https://mo-mi.gitbook.io/xiaomomi-plugins/plugin-wiki/customcrops" alt="GitBook">
|
||||||
<img src="https://img.shields.io/badge/docs-gitbook-brightgreen" alt="Gitbook"/>
|
<img src="https://img.shields.io/badge/docs-gitbook-brightgreen" alt="Gitbook"/>
|
||||||
</a>
|
</a>
|
||||||
@@ -26,7 +25,7 @@ Get the artifact under /target folder
|
|||||||
## How to Contribute
|
## How to Contribute
|
||||||
|
|
||||||
#### Translations
|
#### Translations
|
||||||
Clone this project and create a new language file in the /common/src/main/resources/translations directory. \
|
Clone this project and create a new language file in the /plugin/src/main/resources/translations directory. \
|
||||||
Once your changes are ready, open a pull request for review. We appreciate your works!
|
Once your changes are ready, open a pull request for review. We appreciate your works!
|
||||||
|
|
||||||
#### Areas for improvement
|
#### Areas for improvement
|
||||||
@@ -44,48 +43,14 @@ Afdian: https://afdian.com/@xiaomomi/
|
|||||||
|
|
||||||
## CustomCrops API
|
## CustomCrops API
|
||||||
|
|
||||||
### Maven
|
|
||||||
|
|
||||||
```html
|
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>jitpack</id>
|
|
||||||
<url>https://jitpack.io/</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
```
|
|
||||||
```html
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.github.Xiao-MoMi</groupId>
|
|
||||||
<artifactId>Custom-Crops</artifactId>
|
|
||||||
<version>{LATEST}</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
```
|
|
||||||
### Gradle (Groovy)
|
|
||||||
|
|
||||||
```groovy
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://jitpack.io' }
|
|
||||||
}
|
|
||||||
```
|
|
||||||
```groovy
|
|
||||||
dependencies {
|
|
||||||
compileOnly 'com.github.Xiao-MoMi:Custom-Crops:{LATEST}'
|
|
||||||
}
|
|
||||||
```
|
|
||||||
### Gradle (Kotlin)
|
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://jitpack.io/")
|
maven("https://repo.momirealms.net/releases/")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
```kotlin
|
```kotlin
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.github.Xiao-MoMi:Custom-Crops:{LATEST}")
|
compileOnly("net.momirealms:custom-crops:3.6.29")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
#### Fun Facts
|
#### Fun Facts
|
||||||
|
|||||||
Reference in New Issue
Block a user