9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 02:19:19 +00:00
Commit Graph

1040 Commits

Author SHA1 Message Date
HaHaWTH
05d64d7eb7 Add nullability check before caching profile result 2025-04-21 06:17:56 +14:00
hayanesuru
cda5af1083 update Async target finding (#291)
* update Async target finding

* create TargetingConditions instead of reusing it

* cleanup

* only add synchronized to Sensing when enable AsyncTargetFinding

* cleanup

* use Release order to store isSearching

* fix compile

* atomic removal check

* fix Entity#isRemoved doesn't init

* opt isRemoved use acquire memory order to load
2025-04-20 15:29:26 +03:00
Dreeam
e8915799db [ci skip] Move TODOs to dev/1.21.5 2025-04-20 01:25:00 -04:00
Creeam
d0944505c2 Adjust throttle hopper default value
Vanilla throttles this for 8 ticks, leave it here as the default value
2025-04-19 22:19:26 +08:00
Dreeam
68b642a7f8 Fix race condition in IteratorSafeOrderedReferenceSet (#278)
* Fix race condition in IteratorSafeOrderedReferenceSet

* Use cached firstInvalidIndex at the beginning of the method
2025-04-17 18:44:13 -04:00
Dreeam
dd22d9caff [ci skip] cleanup imports 2025-04-17 03:17:40 -04:00
Dreeam
7ea4d4b639 [ci skip] cleanup 2025-04-17 03:04:03 -04:00
Dreeam
dff5b11bd9 cleanup 2025-04-17 02:45:56 -04:00
Dreeam
502701329c Drop ShreddedPaper: Don't block main thread in Connection#syncAfterConfigurationChange & Move to TODO 2025-04-14 21:28:16 -04:00
Dreeam
14813809e7 Where can I find these behavior 2025-04-14 21:14:14 -04:00
Dreeam
b09978b64b Fix API publish 2025-04-14 15:52:49 -04:00
Dreeam
7eb3c4f5de Update Spark 2025-04-14 09:21:10 -04:00
Dreeam
cb6ebf06b0 Fix releases 2025-04-14 09:20:22 -04:00
Dreeam
d5d6ac4a44 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@d4af7947 Add configurable smooth snow accumulation (#1651)
PurpurMC/Purpur@51aafbc7 Final 1.21.4 Upstream (Paper)
2025-04-13 19:43:38 -04:00
Dreeam
f922d959cc Update prepareRelease base script
* Cleanup
* Extract jar name & current tag as var for easy manage
* Only delete release tag if exists, to fix build failed
2025-04-13 02:06:23 -04:00
Taiyou06
3d7b15ba53 cleanup and make concurrency level higher 2025-04-13 03:59:07 +02:00
Taiyou06
2308f08ae3 make StringCanonizingOpenHashMap faster 2025-04-13 03:23:40 +02:00
Taiyou06
bb67247bbd fix bfs on getSlopeDistance 2025-04-13 02:17:01 +02:00
Dreeam
caf961ac08 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@135e2c41 Updated Upstream (Paper)
PurpurMC/Purpur@e19b6707 Updated Upstream (Paper)
PurpurMC/Purpur@304174ec Updated Upstream (Paper)
PurpurMC/Purpur@4a3b139f Updated Upstream (Paper)
PurpurMC/Purpur@a14011f4 Updated Upstream (Paper)
PurpurMC/Purpur@3a1b29a9 [ci/skip] Updated Upstream (Paper)
PurpurMC/Purpur@5d1df704 Updated Upstream (Paper)
PurpurMC/Purpur@bc8c597b Updated Upstream (Paper)
PurpurMC/Purpur@ca56b414 Updated Upstream (Paper)
PurpurMC/Purpur@75efb975 Updated Upstream (Paper)
PurpurMC/Purpur@9249a2ca Updated Upstream (Paper)
PurpurMC/Purpur@8c293626 [ci/skip] ignore deprecation or removal warnings
PurpurMC/Purpur@65b1288b Updated Upstream (Paper)
PurpurMC/Purpur@96f0ee1e Add check for max growth age special case (#1652)
2025-04-12 16:47:06 -04:00
Dreeam-qwq
4c9fb21bb9 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@4ec6e8a5 Updated Upstream (Paper)
2025-04-12 01:40:03 +00:00
Taiyou06
b0bfeb2b11 fix buffer resize 2025-04-11 17:55:54 +02:00
Taiyou06
255433caba time to think something else 2025-04-11 10:52:50 +02:00
Taiyou06
d31559d60b i pushed this but need someone to test before and after for sake of testing 2025-04-10 15:05:59 +02:00
Dreeam
25684977bb Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@0cf73158 Bump to adventure 4.20.0 (#12391)

Gale Changes:
Dreeam-qwq/Gale@966b5c68 Updated Upstream (Paper)
2025-04-10 01:45:46 -04:00
Dreeam
339bff6a8a Fix plugin compatibility
Fix checking whether inventory owner is player in calling PlayerInventoryOverflowEvent
2025-04-08 14:39:30 -04:00
Dreeam
1a64b379a6 Fix version fetcher 2025-04-07 20:00:12 -04:00
Dreeam
4363934dc9 Fix NPE 2025-04-06 20:08:28 -04:00
Dreeam
fbb040e930 Fix 2025-04-06 14:43:38 -04:00
Taiyou06
4cd885a8c2 more virtual thread options 2025-04-06 14:44:44 +02:00
Dreeam
d004ce16ff Fix connection message parse
Move name parse before minimessage component deserialize, to prevent failed show connection message which has name placeholder in the minimessage string
2025-04-06 04:18:47 -04:00
Taiyou06
996427ed5d null handling on MultifaceSpreader (idk why this errors to begin with???) 2025-04-05 16:31:09 +02:00
Taiyou06
15237645d5 fix a regression caused by advencement fixing for PWT 2025-04-05 16:30:48 +02:00
Taiyou06
96c6601300 fix 🐢 2025-04-02 19:58:38 +02:00
hayanesuru
f1a31d88c8 Add timeout to AsyncPlayerDataSaving (#275)
* Add timeout to AsyncPlayerDataSaving

* dump thread if failed to save playerdata

* PlayerDataStorage#lockFor break loop after cancel
2025-03-31 18:34:44 +03:00
Taiyou06
8e11af1228 fix race condition on AsyncTargetFinding 2025-03-29 19:04:26 +01:00
Taiyou06
faf2abdd88 remove experimental tag on AsyncBlockFinding 2025-03-29 14:59:43 +01:00
Taiyou06
e797ead637 perf: Async Target Finding 2025-03-29 14:19:14 +01:00
Taiyou06
a34c396a15 PWT Fix: race condition at Advencements 2025-03-29 14:18:58 +01:00
Dreeam
1977a5b12c Fix purpur client identifying 2025-03-28 16:44:13 -04:00
Dreeam
2f8915ce2b cleanup 2025-03-28 16:22:53 -04:00
hayanesuru
233da80a87 Update async playerdata saving (#269) 2025-03-28 17:25:23 +03:00
Dreeam
e56ef42b4e [ci skip] cleanup 2025-03-27 17:12:32 -04:00
Dreeam
c36c34cf85 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@9b1798d6 Simplify custom payload handling (#12347)

Gale Changes:
Dreeam-qwq/Gale@ffc98037 Updated Upstream (Paper)
2025-03-27 16:24:19 -04:00
Dreeam
1a9e88022d [ci skip] Remove useless patches 2025-03-26 16:07:02 -04:00
Dreeam
be7545504f Add back Prevent double chunk retrieving in entity fluid pushing check and fluid height updating 2025-03-26 15:54:42 -04:00
Taiyou06
89b317a1b0 PWT Fix: potentially fix BlockSpreadEvent 2025-03-26 18:46:06 +01:00
Taiyou06
bb9f3a5600 Optimize NonFlush Packet Sending 2025-03-26 18:08:18 +01:00
Taiyou06
1e36d848c2 remove AsyncPacketSending for now (needs some fixes and testing 🙏) 2025-03-26 08:56:18 +01:00
Dreeam
2c7cb52e6b Fix build 2025-03-25 03:29:15 -04:00
Taiyou
cbcc54726a Async playerPacket sending (#245)
* async player packet sending

* small cleanup

* eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

* holy shit this is fast

* some cleanup

* change .size to O(1)

* rewrite starts (i need to do this OMEGA SAFE)

* rebuilt

* rebase

* Rewritten AsyncPacketSending
2025-03-25 03:20:49 -04:00