Commit Graph

27 Commits

Author SHA1 Message Date
b81fffb934 Add back more optimization patches 2024-06-15 19:24:11 +02:00
0ef31547a1 Finish API patches 2024-06-13 08:45:43 -07:00
02eec3bcd0 Patches 2024-04-25 11:42:10 +02:00
47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
89528bff42 Update patches to handle vineflower decompiler (#10406)
* Update patches to handle vineflower decompiler

* update patches again to handle inlined simple lambdas

* update vf again and re-apply/rebuild patches

* update patches after removal of verify-merges flag

* fix compile issue

* remove maven local

* fix some issues

* address more issues

* fix collision patch

* use paperweight release

* more fixes

* update fineflower and fix patches again

* add missing comment descriptor

---------

Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2024-04-12 12:14:06 -07:00
cd30cd6d41 Move diffs around to compile without later ones applied 2024-01-23 18:01:39 +01:00
e433c8696b [ci skip] Move some disruptive patches back 2024-01-23 12:06:27 +01:00
4f136356d8 some more patch 2023-12-05 15:55:31 -07:00
46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
4e0701e69d work and compile errors 2023-09-21 19:31:59 -07:00
524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
07ee610d8e more patches 2023-06-07 15:41:25 -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
b7ee1ae38a More more more more more patches 2023-03-14 20:54:57 +01:00
08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
eac356d807 Patching patched patches 2022-12-07 20:22:28 +01:00
b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
b121c04895 Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08: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
ee2c1caf9b More more work 2022-07-27 22:17:18 +02:00
858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
194d219e0a moar patches 2022-06-07 21:22:42 -07:00
1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
82eff9628d re-inline Goal.Flag iteration 2021-11-30 00:36:30 -08:00
3b7830d806 p a t c h e s 2021-11-24 03:06:34 -08:00