mirror of
https://github.com/SparklyPower/SparklyPaper.git
synced 2025-12-19 15:09:27 +00:00
5d46676859c8007ec49ceddd788df85975c1e11b
The "distanceToSqr" call is a bit expensive, so avoiding it is pretty nice, around ~15% calls are skipped with this check We could also check if the x,y,z coordinates are equal, but for now, let's just keep the identity check, which also helps us since Minecraft's code does reuse the original delta movement Vec3 object
✨ SparklyPaper ✨
SparklyPower's Paper fork, with a mix of weird & crazy patches from other forks!
While our fork is mostly cherry-picked patches from other forks, we do have some handmade patches too to add and optimize some of the things that we have in our server!
Features
SparklyPaper's config file is sparklypaper.yml, the file is, by default, placed on the root of your server.
- Configurable Farm Land moisture tick rate when the block is already moisturised
- The
isNearWatercheck is costly, especially if you have a lot of farm lands. If the block is already moistured, we can change the tick rate of it to avoid these expensiveisNearWaterchecks.
- The
- Check how much MSPT (milliseconds per tick) each world is using in
/mspt- Useful to figure out which worlds are lagging your server.
- Parallel World Ticking
- "mom can we have folia?" "we already have folia at home" folia at home: Parallel World Ticking
We don't cherry-pick everything from other forks, only patches that I can see and think "yeah, I can see how this would improve performance" or patches that target specific performance/feature pain points in our server are cherry-picked! In fact, some patches that are used in other forks may be actually borked...
Description
SparklyPaperMC Repository Backup
bukkitcraftbukkitjavaminecraftminecraft-apiminecraft-performanceminecraft-servermultithreadingpaper-forkpapermcperformance-multithreading
Readme
3.5 MiB
Languages
Java
56.4%
Kotlin
43.6%
