Leaves =========== [![Leaves CI](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml/badge.svg)](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml) [![Leaves Download](https://img.shields.io/github/downloads/LeavesMC/Leaves/total?color=0&logo=github)](https://github.com/LeavesMC/Leaves/releases/latest) [![Discord](https://badgen.net/discord/online-members/5hgtU72w33?icon=discord&label=Discord&list=what)](https://discord.gg/5hgtU72w33) [English](https://github.com/LeavesMC/Leaves/blob/master/README.md) | **中文** > 一个致力于修复原版服务端被破坏特性的 [Paper](https://github.com/PaperMC/Paper) 分支 > 你可以在 [这里](https://github.com/LeavesMC/Leaves/blob/master/docs/MODIFICATION_cn.md) 查看所有的修改和修复内容 ## 对于服务器管理员 此分支使用与 Paper 一致的 paperclip 分发 你可以从 [此处](https://github.com/LeavesMC/Leaves/releases/latest) 下载最新的构建结果 (1.20.x) 也可以通过 [此处](https://github.com/LeavesMC/Leaves/blob/master/README_cn.md#自行构建) 的指南自行构建 如果你想要获得更多信息,那么你可以访问我们的 [文档](https://docs.leavesmc.top/zh/leaves) ## 对于插件开发者 Leaves-API: ```kotlin maven { name = 'leavesmc-repo' url = 'https://repo.leavesmc.top/snapshots/' } dependencies { compileOnly("top.leavesmc.leaves:leaves-api:1.20.2-R0.1-SNAPSHOT") } ``` 如果你要将 Leaves 作为依赖,那么你必须进行 [自行构建](https://github.com/LeavesMC/Leaves/blob/master/README_cn.md#自行构建) Leaves-Server: ```kotlin dependencies { compileOnly("top.leavesmc.leaves:leaves:1.20.2-R0.1-SNAPSHOT") } ``` ## 自行构建 你需要最低 JDK 17 和一个可以正常访问各种 git/maven 库的网络 首先克隆此储存库,然后在你的终端里依次执行 `./gradlew applyPatches` 和 `./gradlew createReobfBundlerJar` 最后 你可以在 `build/libs` 文件夹里找到对应的jar文件 ## 对于想要出一份力的开发者 可查看 [Contributing](https://github.com/LeavesMC/Leaves/blob/master/docs/CONTRIBUTING_cn.md) ## 特别感谢 [](https://www.jetbrains.com) [JetBrains](https://www.jetbrains.com/),IntelliJ IDEA的创造者,为Leaves提供了 [开源许可证](https://www.jetbrains.com/opensource/)。我们极力推荐使用IntelliJ IDEA作为你的IDE。