9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-29 11:59:24 +00:00
Commit Graph

1428 Commits

Author SHA1 Message Date
Dreeam
4ebb4da022 do not log invalid flatten text component parse
The error will throw and spam when tried to load / upgrade text component on legacy item from very old version, e.g. 1.16.5.
The item's text component can load and be saved normally, but spam error in console just very annoying when everytime loaded them before saved.
2025-06-06 05:56:47 +08:00
Dreeam
ae1e3e8355 Paper: Optimise CraftWorld#getLoadedChunks 2025-06-06 02:37:29 +08:00
Dreeam
1d30370d7a [ci skip] Cleanup 2025-06-06 01:28:17 +08:00
Dreeam
6d4a459066 Fix diff 2025-06-06 00:53:10 +08:00
Dreeam
72a8fb8d95 Readd PWT 2025-06-06 00:26:36 +08:00
Dreeam
e788a93e17 Fix 2025-06-05 02:48:13 +08:00
Dreeam
01bf48b350 Valid session if current session is invalid 2025-06-05 02:29:54 +08:00
Dreeam
6d4f048474 Remove old config runAsyncTasksSync 2025-06-05 01:17:39 +08:00
Pascalpex
0884f05e40 Add BlockExplosionHitEvent (#349)
* Add BlockExplosionHitEvent

* Remove import
2025-06-05 00:57:52 +08:00
Dreeam
74bc79d408 Cleanup sentry 2025-06-04 23:53:53 +08:00
hayanesuru
672000867b cleanup 2025-06-05 00:22:17 +09:00
hayanesuru
4913d3360f improve LibsDisguises compatibility 2025-06-04 23:14:44 +09:00
hayanesuru
5ad9ec1b59 move shutdown executor 2025-06-04 22:09:41 +09:00
hayanesuru
9d6e3ae5ff preload mob spawning position 2025-06-04 21:34:07 +09:00
hayanesuru
e32cdae1bf update default config value 2025-06-04 01:22:23 +09:00
hayanesuru
100d8bb1e6 rebuild patches 2025-06-04 00:40:45 +09:00
hayanesuru
6ab9b5d5d5 delay to next tick when mob spawning not ready 2025-06-04 00:39:57 +09:00
hayanesuru
2cd4838b7e shutdown mob spawning thread on exit 2025-06-04 00:39:42 +09:00
hayanesuru
8e48e51e76 add config 2025-06-03 22:38:15 +09:00
hayanesuru
27fb282b43 remove clear biome cache 2025-06-03 20:09:10 +09:00
hayanesuru
196822ba62 reduce chunk loaded check 2025-06-03 19:31:05 +09:00
Dreeam
982d0044d6 Backport DC's 1.21.6 update 2025-06-03 17:56:54 +08:00
hayanesuru
73cefcf57a optimize get biome 2025-06-03 18:55:45 +09:00
hayanesuru
4249e11cc3 optimize natural spawner 2025-06-03 17:31:59 +09:00
hayanesuru
347ef03d5f remove unused KineticDamage config 2025-06-03 15:29:00 +09:00
hayanesuru
2897757163 optimise getNearestPlayer 2025-06-03 15:16:15 +09:00
Dreeam
eadaf2c19d Fix AsteorBar protocol 2025-06-03 10:02:42 +08:00
Dreeam
3d14e36fe8 Readd Leaves protocols 2025-06-03 09:49:56 +08:00
Dreeam
da5610cdc4 Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@47650100 Improve error messages when PluginRemapper fails to initialize (#12598)
PaperMC/Paper@6f315356 Add MCUtil#toLocation from Folia
PaperMC/Paper@2ba1675c Replace deprecated Thread#getId usage with Thread#threadId

Purpur Changes:
PurpurMC/Purpur@470df8e7 will this bandaid fix work?
PurpurMC/Purpur@f565bc23 use daemon in github actions workflow
PurpurMC/Purpur@42286249 Updated Upstream (Paper)
PurpurMC/Purpur@fe690f55 Updated Upstream (Paper)
PurpurMC/Purpur@5d3463aa Updated Upstream (Paper)
2025-06-03 07:31:45 +08:00
Dreeam
3b74dc2f21 Merge branch 'ver/1.21.4' into dev/1.21.5 2025-06-03 07:23:43 +08:00
Dreeam
12711630d4 Use Leaf config logger 2025-06-03 01:46:26 +08:00
Taiyou
bec3d4c63b Async Data Read for Parallel World Ticking (#333)
* initial

* improve compat further

* cleanup and shit

* more cleanup

* rebase :3

* increase task queue size

* [ci skip] rebuild patches

* Optimise BlockEntity tickersInLevel

* rebase

* [ci skip] cleanup

* cleanup

* cleanup

* clear the buffer at shutdown

---------

Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-06-02 20:18:29 +03:00
Taiyou06
2fd5e7bc12 optimise player movement further 2025-06-01 21:21:21 +02:00
Dreeam
63641c73f7 Port fixes from DC/DFU's 1.21.6 update 2025-06-02 00:13:14 +08:00
Dreeam
bdd5f1eecd Steve Winwood - Valerie
Eric Prydz - Call on Me
2025-06-01 00:23:02 +08:00
Dreeam
607c4f801a Apply some 2025-05-31 23:35:17 +08:00
hayanesuru
a33f10a17a fix attribute crash server 2025-05-31 17:59:41 +09:00
hayanesuru
653efdc165 fix SlopeDistanceNodeDeque memory leak 2025-05-29 19:04:57 +09:00
Dreeam
31c42a45b6 Use correct way to resolve all world config path
Fixes https://github.com/Winds-Studio/Leaf/issues/342
supersedes https://github.com/Winds-Studio/Leaf/pull/344
2025-05-29 17:41:47 +08:00
hayanesuru
29dce8ff3c fix bee pathfinding 2025-05-29 17:49:28 +09:00
hayanesuru
df1d62bed9 MultithreadedTracker add lock to AttributeMap and TrackedChunk 2025-05-29 12:57:33 +09:00
hayanesuru
a0457c6ae3 reduce tickFluid FlowingFluid#getSlopeDistance allocation 2025-05-28 19:19:05 +09:00
hayanesuru
d8d601b9f6 cleanup & remove lockedFlags#removeIf stream 2025-05-28 17:12:47 +09:00
hayanesuru
2ed7bde9fc Revert "don't use the result when hasn't set waker"
This reverts commit 3e50c4fa8c.
2025-05-28 11:02:45 +09:00
Dreeam
42a2c8d2f6 Cleanup version fetcher 2025-05-28 01:19:57 +08:00
Dreeam
0a650c3c20 Cleanup & fix version fetcher 2025-05-28 01:11:22 +08:00
HaHaWTH
c1297d728e Remove redundant full-qualified name & Higher priority for async tasks 2025-05-27 04:05:52 +14:00
hayanesuru
519ddbf58b remove SendChanges type cast 2025-05-26 19:46:57 +09:00
Dreeam
ccefbcfa8d Update input sanitization for purpur config 2025-05-26 18:24:50 +08:00
hayanesuru
3e50c4fa8c don't use the result when hasn't set waker 2025-05-26 18:43:13 +09:00