Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@a15152e Allow old behavior for CommandRegisteredEvent (#8249) PaperMC/Paper@0118c0b Improve MojangAPI docs and replace @Deprecated with @ApiStatus.Experimental on draft APIs (#8261) PaperMC/Paper@3624637 Improve documentation of Inventory#removeItem (#8263) PaperMC/Paper@a47301e Fix Player#chat kicking all clients (#8262) PaperMC/Paper@78b19f8 Separate Command Sending to Separate Thread Pool (#8170) PaperMC/Paper@c7e118b Update modern forwarding to v3 (#8219)
Parchment
This is a fork of Paper for the Project Eden Minecraft server. It contains changes to the API to make development of our plugin Nexus easier.
Building
Requirements:
- You need
gitinstalled, with a configured username and email. On Windows you need to run from git bash. - You need
jdk16+ installed to compile (andjre16+ to run).
If all you want is a paperclip server jar, just run ./gradlew paperclipJar.
Otherwise, to setup the Parchment-API and Parchment-Server repo, just run
./gradlew applyPatches in your project root. Afterwards you can run ./gradlew build
to build the respective API and server jars.
./gradlew applyPatches should initialize the repo such that you can now start modifying and
creating patches. The folder Parchment-API is the API repository and the Parchment-Server
folder is the server repository. These contain the source files you will modify.
Creating a patch
Patches are effectively just commits in either Parchment-API or Parchment-Server.
To create one, just add a commit to either repo and run ./gradlew rebuildPatches and a
patch will be placed in the patches folder. Modifying commits will also modify its
corresponding patch file.
License
The fork is based off of paperweight-examples. See its project page for the license of material used/modified by this project.