Commit Graph

25 Commits

Author SHA1 Message Date
66431e1300 [ci skip] Add more identifying patch comments 2024-01-19 22:13:42 +01:00
a5eaf39caf [ci skip] add more comments & move 1 hunk to correct patch 2024-01-13 12:31:02 -08:00
7725b39a8f patches ... 2023-12-05 20:00:14 -07:00
46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
7693140ca0 More paper config cleanup (#9938)
Also adds a warning and error message if a newer config version
was found signaling a downgrade.
2023-11-18 16:29:14 -08:00
d851baa156 and some more 2023-09-21 22:41:27 -07:00
524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
e12c9ae0ed some more patches 2023-06-07 17:54:54 -07:00
1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02: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
00dec09758 Patching patched patched patches 2022-12-07 21:16:54 +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
f7123fdddb More more more more work 2022-07-27 22:55:55 +02:00
858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
952ccf3125 Move old user conversion down slightly (fixes #8050) (#8052) 2022-07-12 23:13:27 +02:00
2168417373 Move to configurate for paper.yml (#7609) 2022-06-09 01:51:45 -07:00
da97ab094f batch o' patches 2022-06-08 00:40:34 -07:00
1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
8c6927e39d More more more more more more more more more more more more more more more more work 2021-11-25 09:54:06 +01:00
5b5f1caeb9 moaaaaaaaar patches 2021-11-24 12:15:19 -08:00
ed6d43ddb0 Prepare for updating server patches 2021-11-23 00:57:41 -08:00
4355a3ac96 Readd chunk priority patch, including many chunk system fixes from tuinity (#6488) 2021-08-25 19:16:27 -07:00
b8cf7d380e tons of patches (#5835) 2021-06-14 19:59:31 -07:00