Commit Graph

37 Commits

Author SHA1 Message Date
Nassim Jahnke b81fffb934 Add back more optimization patches 2024-06-15 19:24:11 +02:00
Jake Potrebic 0ef31547a1 Finish API patches 2024-06-13 08:45:43 -07:00
Nassim Jahnke ca25aa1859 More more compile fixes 2024-04-25 22:34:46 +02:00
Jason Penilla 09a83f66ee compile fixes 2024-04-25 12:16:00 -07:00
Nassim Jahnke 18acb6fc31 More more patches, including hopper optimization patch 2024-04-25 14:07:39 +02:00
Jake Potrebic 47ee5579ff Begin update to 1.20.5 2024-04-23 10:02:08 -07:00
Lulu13022002 f7e469eb2e [ci skip] Cleanup events (#10202) 2024-02-01 10:15:57 +01:00
Nassim Jahnke fae4fc60c9 [ci skip] Move chunk system patch back a bit 2024-01-24 13:07:40 +01:00
Nassim Jahnke 88d3d87993 [ci skip] Add more patch identifying comments 2024-01-23 14:34:17 +01:00
Nassim Jahnke 5dec86e71c [ci skip] Move some disruptive patches back 2024-01-22 21:04:08 +01:00
Nassim Jahnke bc99c40604 [ci skip] Add more patch identifying comments, cleanup 2024-01-21 17:39:05 +01:00
Nassim Jahnke 66431e1300 [ci skip] Add more identifying patch comments 2024-01-19 22:13:42 +01:00
Nassim Jahnke ec3867cd12 [ci skip] Add more identifying patch comments 2024-01-18 18:52:00 +01:00
Jake Potrebic 4d050226c3 Fix global sound event gamerule not being respected (#8727) 2023-12-27 16:33:05 -08:00
Owen1212055 0087658702 Patches!!! MORE 2023-12-06 11:21:56 -05:00
Nassim Jahnke 46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
Spottedleaf 9bf842c13e Chunk system patch 2023-09-22 13:13:57 -07:00
Noah van der Aa 2b7e17a127 more more more more more more more more more work 2023-09-22 17:24:59 +02:00
Noah van der Aa 524eeedaa8 So it begins... 2023-09-21 19:18:04 +02:00
Owen1212055 f328e1ae26 vine boom sound 2023-06-08 04:47:19 -04:00
Nassim Jahnke 1bda3d4d2a Start working on 1.20 2023-06-07 18:24:39 +02:00
Nassim Jahnke b5f8080674 More more more more more more more more patches 2023-03-14 22:10:53 +01:00
Nassim Jahnke 08ab8edb76 Start working on 1.19.4 2023-03-14 18:11:24 +01:00
Space Walker 7d56ee5d45 update alternate current to v1.5.0 (#8882) 2023-02-21 17:58:18 +01:00
Nassim Jahnke 580e157417 More patchidy patched patch patches 2022-12-07 22:57:15 +01:00
Nassim Jahnke b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
Jason Penilla 13f7207665 Add stacktrace deobfuscation in more places (#8484) 2022-10-18 19:21:07 -07: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 2f8a665549 More more more more more more more work 2022-07-27 23:50:05 +02:00
Nassim Jahnke 858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
Space Walker 11ebcf8061 Update Alternate Current to v1.4.0 (#8028) 2022-06-24 09:58:59 +02:00
Jake Potrebic 2168417373 Move to configurate for paper.yml (#7609) 2022-06-09 01:51:45 -07:00
Space Walker 6b2978aea0 Update Alternate Current patch (#7890) 2022-06-08 19:29:34 +02:00
Nassim Jahnke 1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
Jason Penilla 61687e53fe Fix whitespace error in Alternate Current patch 2022-05-08 09:25:34 -07:00
Nassim Jahnke 6084c2a6bd Move redstone config changes to Eigencraft patch 2022-05-07 19:52:32 +02:00
Space Walker 14d355612e Add Alternate Current's redstone implementation as an alternative to Vanilla and Eigencraft's. (#7701) 2022-05-07 18:47:28 +02:00