9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-19 14:59:30 +00:00
Samsuik 1316e8819b Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@2d3a138 [ci skip] Refine recipe management API documentation. (#12287)
PaperMC/Paper@aaaeb4e [ci skip] Make compilation logs actually readable (#12276)
PaperMC/Paper@bb1beda feat: add event to wind charge explode (#12248)
PaperMC/Paper@9f00461 Update a whole lot of deprecated annotations
PaperMC/Paper@72f13f8 [ci skip] Mention API Checks for CONTRIBUTING.md (#12315)
PaperMC/Paper@7cc6cb5 Check for trailing input in ItemFactory#createItemStack (#12312)
PaperMC/Paper@f49d18d Add get/set customName to Skull block (#12302)
PaperMC/Paper@894631f Make advancement ordering predictable (#12292)
PaperMC/Paper@2aad131 Add config option for command spam whitelist
PaperMC/Paper@bb3b7e6 Fix annotation mistakes
PaperMC/Paper@058455e InventoryView QOL open method (#12282)
PaperMC/Paper@f225858 Fix firework entity not being removed when FireworkExplodeEvent is cancelled (#12268)
PaperMC/Paper@7819df1 Add getHeight method to ChunkData (#12311)
PaperMC/Paper@37b9ca1 Add flush parameter to World#save (#12330)
PaperMC/Paper@515e12c Check if BUNDLE_CONTENTS is present in InventoryClickEvent (#12321)
PaperMC/Paper@5a6ab97 Add config to remove player as vehicle restriction in /ride (#12327)
PaperMC/Paper@c467df9 Add ItemStack#copyDataFrom (#12224)
PaperMC/Paper@9b1798d Simplify custom payload handling (#12347)
2025-03-28 21:16:05 +00:00
2025-01-14 23:02:38 +00:00
2025-03-28 21:16:05 +00:00
2025-03-28 21:16:05 +00:00
2023-12-10 13:33:09 +00:00
2023-10-17 22:36:39 +01:00
2023-10-17 22:36:39 +01:00
2025-01-17 11:53:32 +00:00
2025-03-28 21:16:05 +00:00
2023-12-10 13:33:09 +00:00
2023-11-24 14:40:03 +00:00
2024-12-13 21:47:39 +00:00
2025-01-14 23:02:38 +00:00

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

https://github.com/Samsuik/Sakura/releases

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 applyPatches task 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.

Description
SakuraMC Repository Backup
Readme 3.7 MiB
Languages
Java 98.4%
Shell 1.6%