Commit Graph

39 Commits

Author SHA1 Message Date
Noah van der Aa 9ece54ccdd first 100! 2024-10-22 20:04:31 +02:00
Noah van der Aa 510057a8ad okaaay let's go 2024-10-22 18:23:19 +02:00
Nassim Jahnke dc136446fb Even more cleanup of mcutil patch 2024-07-18 16:50:16 +02:00
Nassim Jahnke bcdf841f2d Fix more compile issues 2024-06-14 14:11:52 +02:00
Jake Potrebic 6a05c85176 117 2024-06-13 10:30:39 -07:00
Jake Potrebic 0ef31547a1 Finish API patches 2024-06-13 08:45:43 -07:00
Owen1212055 717c16dc69 Patches! 2024-04-23 18:25:14 -07:00
Jake Potrebic 47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
Nassim Jahnke 1863ac217f Updated Upstream (Bukkit/CraftBukkit/Spigot) (#10277)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
9a80d38c SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-722: Add EntityRemoveEvent
258086d9 SPIGOT-7417, PR-967: Add Sign#getTargetSide and Sign#getAllowedEditor
ffaba051 SPIGOT-7584: Add missing Tag.ITEMS_NON_FLAMMABLE_WOOD

CraftBukkit Changes:
98b6c1ac7 SPIGOT-7589 Fix NullPointerException when bans expire
a2736ddb0 SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, PR-1008: Add EntityRemoveEvent
5bf12cb89 SPIGOT-7565: Throw a more descriptive error message when a developer tries to spawn an entity from a CraftBukkit class
76d95fe7e SPIGOT-7417, PR-1343: Add Sign#getTargetSide and Sign#getAllowedEditor

Spigot Changes:
e9ec5485 Rebuild patches
f1b62e0c Rebuild patches
2024-02-23 14:37:33 +01:00
Lulu13022002 f7e469eb2e [ci skip] Cleanup events (#10202) 2024-02-01 10:15:57 +01:00
Nassim Jahnke 24e3f94688 [ci skip] (Mostly) finish adding identifying patch comments 2024-01-24 11:45:17 +01:00
Nassim Jahnke 88d3d87993 [ci skip] Add more patch identifying comments 2024-01-23 14:34:17 +01:00
Nassim Jahnke 15a9af2f5e More more more work 2023-12-05 20:54:55 +01:00
Nassim Jahnke 46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
Noah van der Aa 86931baedf more more more work 2023-09-21 22:14:58 +02:00
Noah van der Aa 524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
Jake Potrebic aa5e9d1d49 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9301) 2023-06-12 16:51:45 -07:00
Jake Potrebic eb4be91142 fix some compile issues 2023-06-07 14:46:56 -07:00
Nassim Jahnke 734c1267b9 More more work 2023-06-07 20:31:32 +02:00
Nassim Jahnke 1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
Nassim Jahnke 92dd8645a8 More more patches 2023-03-14 19:36:39 +01:00
Nassim Jahnke 08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
Nassim Jahnke ee75b5dc2d Patching patches 2022-12-07 19:32:25 +01:00
Nassim Jahnke b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
Jake Potrebic f93eb6e135 update yarn param mappings (#8563) 2022-11-12 12:57:41 -08:00
Spottedleaf 0f1a8717e8 Rewrite chunk system (#8177)
Patch documentation to come

Issues with the old system that are fixed now:
- World generation does not scale with cpu cores effectively.
- Relies on the main thread for scheduling and maintaining chunk state, dropping chunk load/generate rates at lower tps.
- Unreliable prioritisation of chunk gen/load calls that block the main thread.
- Shutdown logic is utterly unreliable, as it has to wait for all chunks to unload - is it guaranteed that the chunk system is in a state on shutdown that it can reliably do this? Watchdog shutdown also typically failed due to thread checks, which is now resolved.
- Saving of data is not unified (i.e can save chunk data without saving entity data, poses problems for desync if shutdown is really abnormal.
- Entities are not loaded with chunks. This caused quite a bit of headache for Chunk#getEntities API, but now the new chunk system loads entities with chunks so that they are ready whenever the chunk loads in. Effectively brings the behavior back to 1.16 era, but still storing entities in their own separate regionfiles.

The above list is not complete. The patch documentation will complete it.

New chunk system hard relies on starlight and dataconverter, and most importantly the new concurrent utilities in ConcurrentUtil.

Some of the old async chunk i/o interface (i.e the old file io thread reroutes _some_ calls to the new file io thread) is kept for plugin compat reasons. It will be removed in the next major version of minecraft.

The old legacy chunk system patches have been moved to the removed folder in case we need them again.
2022-09-26 01:02:51 -07:00
Nassim Jahnke 8bf425f456 New work 2022-07-27 21:18:51 +02:00
Nassim Jahnke 858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
Nassim Jahnke 3f1ea3f769 More patches 2022-06-07 21:15:06 +02:00
Nassim Jahnke 1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
Peter Crawley c161caeb17 List world on tile entity placement exception (#7709) 2022-05-16 11:38:14 +01:00
Owen1212055 0f61ed8fe4 Remove Patches (#7541) 2022-03-11 15:13:46 -05:00
Nassim Jahnke da03d4a1bc Initial 1.18 update 2022-02-28 22:43:03 -07:00
Nassim Jahnke 979f2cdf25 More more more work 2021-11-23 13:15:10 +01:00
Jason Penilla ed6d43ddb0 Prepare for updating server patches 2021-11-23 00:57:41 -08:00
Jason Penilla 3626a2c62b Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6222)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
eec4aab0 SPIGOT-6657: Add getPlayer to SheepDyeWoolEvent
205213c6 SPIGOT-6656: CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron

CraftBukkit Changes:
b8c522d5 SPIGOT-6657: Add getPlayer to SheepDyeWoolEvent
f04a77dc SPIGOT-6656: CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron
d1dbcebc SPIGOT-6653: Canceling snow bucket placement removes snow from bucket
4f34a67b #891: Fix scheduler task ID overflow and duplication issues

Spigot Changes:
d03d7f12 BUILDTOOLS-604: Rebuild patches
2021-07-18 00:41:53 -07:00
Jason Penilla 5f20f9bf95 Deobfuscate stacktraces in log messages using a RewriteAppender and a custom RewritePolicy (#5926)
Also replace a couple calls to `System.err` with logger usages, as traces printed with the former do not get deobfuscated.
2021-06-21 01:09:18 -07:00
Spottedleaf 4b66e6c02d even even more progress 2021-06-11 23:02:49 -07:00
Jake Potrebic bfc788437f more patches 2021-06-11 17:57:04 -07:00