Commit Graph

22 Commits

Author SHA1 Message Date
bd5d09cb3f 666 plus 1 2024-04-24 17:27:28 +02:00
47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
b5b92e90d8 [ci skip] Add more identifying patch comments, merge related patches 2024-01-19 12:30:04 +01:00
cca94c1a21 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#10085)
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:
0c7aedbc SPIGOT-7554, PR-954: Add DecoratedPotInventory

CraftBukkit Changes:
53ebb05e3 SPIGOT-7554, PR-1323: Add DecoratedPotInventory
33a2d8773 Ensure that PlayerMoveEvent is always fired where applicable
7df18510f SPIGOT-7555: Don't cast ItemFlags to byte
19aec59ea Use provided case for non-existent OfflinePlayers

Spigot Changes:
e7ce55a3 Remove obsolete PlayerMoveEvent improvements
3e5e22c0 Remove obsolete lowercasing of non existent OfflinePlayer names
2023-12-28 12:47:57 -08:00
436a966767 p a t c h e s 2023-12-05 21:49:31 -07:00
46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
0c48ad35ee More work work work 2023-09-22 15:32:32 +02:00
524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
d6e3522bf4 signing off for now 2023-06-07 19:12:38 -07:00
1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
0adc18baf8 [ci skip] rebuild patches 2023-03-23 14:57:03 -07:00
39255145b6 chore: cleanup annotations in api adventure patch 2023-03-23 09:49:24 -07:00
0fa58eada1 More more more more more more patches 2023-03-14 21:25:13 +01:00
08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
810c0219d9 More patchy patched patches 2022-12-07 22:05:01 +01:00
b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
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
ca9ce05bb0 More more more more work 2022-07-27 23:19:52 +02:00
858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
428127a055 More more more more more more more patches 2022-06-08 12:20:57 +02:00
1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
535cd27411 Remove redundant GameProfileCache diff 2022-03-17 20:53:36 -07:00