9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-19 15:09:27 +00:00

Update docs

This commit is contained in:
MrPowerGamerBR
2023-11-17 12:41:31 -03:00
parent cc5a154eec
commit 30bd3d6baa
6 changed files with 19 additions and 4 deletions

16
docs/BORKED_PATCHES.md Normal file
View File

@@ -0,0 +1,16 @@
# Borked Patches
List of *maybe* borked and *maybe* useless patches that I found in other fork's that may be borked or not do anything useful, so I annoted them here to remember about why I didn't cherry-pick them to SparklyPaper.
Keep in mind that I'm very naive when it comes to Minecraft Server internals, so I may be wrong!
## (Pufferfish) `Reduce-entity-allocations`
While not useless, the patch adds a `cachedBlockPos` variable that is never used by any other patch. Heck, not even in Airplane it was used!
## (Pufferfish) `Skip-cloning-loot-parameters`
Unnnecessarily wraps `parameters` and `dynamicDrops` into a unmodifiable map, causing unnecessary allocations.
This was useful back in 1.17 days, where the patch DID bring a meaningful benefit, since vanilla used `ImmutableMap.copyOf` instead.
As a reference, here's Airplane's original patch: https://github.com/TECHNOVE/Airplane/blob/af3563c98bdd8b27123e3a656de261ed96652b3e/patches/server/0030-Skip-cloning-loot-parameters.patch#L21