mirror of
https://github.com/PaperMC/Folia.git
synced 2024-11-21 11:55:11 +01:00
Fork of Paper which adds regionised multithreading to the dedicated server.
bukkitcraftbukkithacktoberfestjavaminecraftminecraft-apiminecraft-multithreadingminecraft-performanceminecraft-servermultithreadingpaper-forkpapermc
bc07c9f31f
The softlock would occur when a dependency tree finished executing all of its task and searched for the highest dependency tree to queue tasks from, only to have that such tree be filled with purged tasks. Because it would select an empty tree to pull tasks from, it would not select another tree to execute tasks from as this logic is done after a task is executed. |
||
---|---|---|
.github/workflows | ||
build-data | ||
gradle/wrapper | ||
patches | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
build.gradle.kts | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
jar.bat | ||
patch.bat | ||
rb.bat | ||
README.md | ||
regiontodo.txt | ||
settings.gradle.kts |
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:
main
is the standard examplesubmodules
shows how paperweight can be applied on a fork using the more traditional git submodule systemmojangapi
shows how a fork could patch arbitrary non-git directories (such asPaper-MojangAPI
)submodules-mojang
shows the same asmojangapi
, but on the git submodules setup fromsubmodules