Fork of Paper which adds regionised multithreading to the dedicated server.
Go to file
Spottedleaf 36675a1b9f Make map data thread-safe to access
We can just synchronise on all of the map data accesses, but
this means we need to be careful about ensuring that no
sync loads occur, otherwise we could block other threads for
long periods of time.
2023-02-27 08:37:47 -08:00
.github/workflows Update 2022-12-13 14:27:38 -07:00
build-data Add blank reobf-mappings-patch.tiny 2021-11-03 21:34:49 -07:00
gradle/wrapper Update gradle wrapper 2022-12-13 14:42:49 -07:00
patches Make map data thread-safe to access 2023-02-27 08:37:47 -08:00
.editorconfig its working now 2021-06-12 20:04:04 +02:00
.gitattributes its working now 2021-06-12 20:04:04 +02:00
.gitignore Implement BlockEntity#updateTicks 2023-02-23 12:52:39 -08:00
build.gradle.kts Make the StructureCheck class MT-Safe 2023-02-23 23:35:30 -08:00
gradle.properties Initial commit 2023-02-23 08:13:45 -08:00
gradlew Update gradle wrapper 2022-12-13 14:42:49 -07:00
gradlew.bat Update gradle wrapper 2022-12-13 14:42:49 -07:00
README.md Update README 2022-04-21 20:45:48 -07:00
regiontodo.txt Make map data thread-safe to access 2023-02-27 08:37:47 -08:00
settings.gradle.kts Initial commit 2023-02-23 08:13:45 -08:00

ForkTest - A Paper fork, using paperweight

This is an example project, showcasing how to setup a fork of Paper (or any other fork using paperweight), using paperweight.

The files of most interest are

  • build.gradle.kts
  • settings.gradle.kts
  • gradle.properties

Tasks

Paperweight tasks
-----------------
applyApiPatches
applyPatches
applyServerPatches
cleanCache - Delete the project setup cache and task outputs.
createMojmapBundlerJar - Build a runnable bundler jar
createMojmapPaperclipJar - Build a runnable paperclip jar
createReobfBundlerJar - Build a runnable bundler jar
createReobfPaperclipJar - Build a runnable paperclip jar
generateDevelopmentBundle
rebuildApiPatches
rebuildPatches
rebuildServerPatches
reobfJar - Re-obfuscate the built jar to obf mappings
runDev - Spin up a non-relocated Mojang-mapped test server
runReobf - Spin up a test server from the reobfJar output jar
runShadow - Spin up a test server from the shadowJar archiveFile

Branches

Each branch of this project represents an example: