Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@0cf7315 Bump to adventure 4.20.0 (#12391) PaperMC/Paper@0767902 CraftBlock - fix applyBoneMeal false result (#12407) PaperMC/Paper@f00727c 1.21.5 PaperMC/Paper@8eede4b Fix AbstractHorse get/setSaddle PaperMC/Paper@93b6829 Also fix AbstractHorse getSize and isEmpty PaperMC/Paper@f517267 Add passthrough for air serialization PaperMC/Paper@4511edb [ci skip] Don't promote checking enchantment by legacy lore (#12421) PaperMC/Paper@8f62e0f Correctly order getArmorContents PaperMC/Paper@652cea5 Allow `getAsString()`-ing non-persistent entities (#12424) PaperMC/Paper@de64e70 Update spark PaperMC/Paper@1b88968 Add Entity#isTrackedBy (#12332) PaperMC/Paper@8ff94c6 Update a bunch of dependencies PaperMC/Paper@7903621 Remove json-simple imports from API, keep it as implementation in server PaperMC/Paper@dcb755a Update log4j jd link PaperMC/Paper@91bfb6f Fix freeze locked (#12434) PaperMC/Paper@121a7bf Make GameRule a FeatureDependant (#12429) PaperMC/Paper@7d5695d Improve ItemMeta#hasCustomModelData compatibility (#12414) PaperMC/Paper@de410d1 Fix reobf mappings regression in GameRules.Type (#12437) PaperMC/Paper@33e8928 Add support for bonus chest configuration in WorldCreator (#12344) PaperMC/Paper@723b511 Clone exit location passed to teleport event (#12354) PaperMC/Paper@ed32204 Clone blockpos in InsideBlockEffectApplier record
Sakura
This is a fork of Paper to optimise cannoning and provide essential features for cannon testing and faction servers.
There are branches from the latest version to 1.19.3. If you are looking for a 1.8.8 server jar check out the project Sakura was based on Blossom.
There are compiled binaries on the releases page
Compiling
Requirements
- Git
- JDK 21
Getting setup
Clone the repository
To get started you will need to clone the repository
git clone https://github.com/Samsuik/Sakura
Navigate into the newly cloned repository
cd Sakura
If you're looking for an older version of minecraft, you will need to switch branches.
git checkout <branch name>
The branches targeting minecraft versions before 1.21.4 have legacy/ in front of their name.
You can skip this step if you're ok with the latest version.
Applying Patches
If you're using Windows the file path limit causes the
applyPatchestask to fail. This is because of the highly nested structure of this repository and the use of long file names. There is a registry setting that can be changed to raise this limit. https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation
All you have to do is run the applyPatches task.
./gradlew applyPatches
If everything was successful, you should see that two directories have been created sakura-api and sakura-server these contain all the source code.
If you want to switch branches after running applyPatches, you will need to run the cleanCache task.
./gradlew cleanCache
Building
The patches must be applied before building otherwise it will fail.
The task used for building is different on older versions, make sure that you use the correct command.
After 1.20.6
./gradlew createMojmapPaperclipJar
Before 1.20.6
./gradlew createReobfPaperclipJar
You can find the built paperclip jar under build/libs.
Contributing
If you would like to contribute please read the upstream Contributing Guideline.
It contains a lot of useful information on how the project is structured and how to use the build tools.