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

250 Commits

Author SHA1 Message Date
hayanesuru
b63f850b91 move and flush position while knockback player (#316)
* move and flush position while knockback

* fix compile error

* rename

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-05-09 11:57:49 +09:00
hayanesuru
08287d95db threshold config 2025-05-09 11:28:49 +09:00
Taiyou06
49cc2a0f92 park less 2025-05-08 23:16:55 +02:00
Taiyou06
f4d9c7a512 Pluto: check if cactus can survive being placed 2025-05-08 21:56:32 +02:00
Taiyou06
cbd9c50647 [ci skip] cleanup 2025-05-08 19:50:25 +02:00
Taiyou06
3821c552e5 Optimise BlockEntity tickersInLevel 2025-05-08 13:34:09 +02:00
Taiyou06
e5bacbcd93 ok it's done 2025-05-08 12:09:05 +02:00
Taiyou06
dfcadc04c4 cleanup and a fix to AltJoin 2025-05-08 11:57:49 +02:00
hayanesuru
0e3028fceb minecart_improvements Fix minecart tracker data race 2025-05-08 18:42:12 +09:00
Taiyou06
f0ff93a1ce AlternativeJoin to skip sync in syncAfterConfigurationChange 2025-05-08 11:17:05 +02:00
Taiyou06
56cc95b9ee Reduce ChunkSource Updates 2025-05-08 10:46:59 +02:00
hayanesuru
2d2eda8069 defer init tracker thread pool 2025-05-08 17:16:56 +09:00
hayanesuru
152fbed3d1 Don't parallel tick the tracker of entity 2025-05-08 17:16:43 +09:00
hayanesuru
8c0e3772fa synchronize while iterator attributesToSync 2025-05-08 16:35:21 +09:00
Taiyou06
f45af32322 fix max mspt spikes caused by world save 2025-05-08 00:15:49 +02:00
hayanesuru
a53ddc7f8c update async chunk send (#307)
* cleanup

* Async Chunk Send

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-05-06 20:28:16 +03:00
hayanesuru
974ede5f87 Do A Barrel Roll Protocol (#315)
* Do A Barrel Roll Protocol

* cleanup

* [ci skip] cleanup

* [ci skip] cleanup

* [ci skip] rename patch
2025-05-06 18:37:31 +03:00
hayanesuru
41664455a4 extend SpscIntQueue padding size to 252 2025-05-05 15:18:30 +08:00
Taiyou06
89a89fa771 remove PWT console print 2025-05-04 23:31:34 +02:00
hayanesuru
65489c6f46 revert "Fix paper's bundle exploit" 2025-05-04 23:25:21 +08:00
hayanesuru
3ae994e707 remove box on SpscIntQueue#recv 2025-05-04 23:20:17 +08:00
hayanesuru
ce01c9bb1f fix bundle crash exploit 2025-05-04 23:18:03 +08:00
hayanesuru
281a81784e [ci skip] cleanup 2025-05-04 04:37:13 -07:00
hayanesuru
14e5457308 fix send null attribute 2025-05-04 04:31:16 -07:00
hayanesuru
cc2781e7fa don't submit running goal 2025-05-04 00:22:02 +08:00
hayanesuru
1ffa315c13 Reduce AsyncGoal content switching 2025-05-03 22:22:00 +08:00
Dreeam
1431eff510 [ci skip] cleanup 2025-05-03 07:50:33 -04:00
Dreeam
3f20ea5c71 Cleanup 2025-05-02 22:22:53 -04:00
Dreeam
f1df5351ca Update PlayerInventoryOverflowEvent (#304)
* Add configurable option in config for PlayerInventoryOverflowEvent and able to define the class name of listener
* Update checking method for overflow items handling logic, only fire event when actual listener is listening to it.
2025-05-02 16:13:19 -04:00
hayanesuru
e3731721df marks AsyncGoalThread non-daemon 2025-05-01 21:01:29 -07:00
Taiyou06
35d7a185f3 reduce unparking on AsyncGoalThread 2025-05-02 02:00:44 +02:00
Taiyou06
c20485292d [ci skip] fix patch origin 2025-05-02 00:24:30 +02:00
Taiyou06
85c8a17e53 [ci skip] remove experimental tags from playerdata and target finding 2025-05-01 23:30:40 +02:00
Taiyou06
445df88770 few Sakura patches 2025-05-01 23:22:30 +02:00
Taiyou06
1ae641bb76 [ci skip] rebuild patches 2025-05-01 22:09:41 +02:00
Taiyou06
38a433852a Revert "fix async chunk sending buffer (#301)"
This reverts commit bd3eb337d0.
2025-05-01 21:32:38 +02:00
Dreeam
3c2dc1ae62 CHRSTN - Never Change
Genre: EDM Progressive House
2025-05-01 15:06:53 -04:00
Dreeam
4586961036 Back port some Paper patches
* PaperPR: Add ticket on player join to avoid chunk
* PaperPR: Fix save/load NaN Entity Motion
* PaperPR: Fix unnecessary map data saves
2025-05-01 15:05:05 -04:00
hayanesuru
11ce54da4c default queueSize to 4096 2025-05-01 22:32:18 +08:00
hayanesuru
3b8ec970c8 optimize async target finding (#303)
* optimize async target finding

* fix canContinueToUse

* fix data race

* fix TemptGoal start before search entity

* fix AvoidEntityGoal doesn't create path

* fix inactiveTick tickingTarget

* default queueSize to 0

* default queueSize to 4096
2025-05-01 17:29:42 +03:00
Dreeam-qwq
2b13b38801 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@d5d63524 Updated Upstream (Paper)
2025-05-01 01:41:29 +00:00
hayanesuru
bd3eb337d0 fix async chunk sending buffer (#301)
* fix Async chunk sending buffer size

* cleanup

* synchronized write nonEmptyBlockCount

* increase buffer initial capacity

* fix block entity map data race

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-05-01 03:53:32 +03:00
Taiyou06
259cdaa3d8 [ci skip] cleanup 2025-04-29 23:30:09 +02:00
hayanesuru
c892477ec3 revert optimize AttributeMap
MythicMobs access the map
2025-04-29 17:00:26 +08:00
Taiyou06
92876d4b12 fix NPE on isParallelCancelledByPlugin 2025-04-28 20:47:15 +02:00
hayanesuru
1bddbe19f0 optimize AttributeMap (#299)
* optimize AttributeMap

* update multithreaded tracker config

* use non-sync collection when MT disabled

* cleanup
2025-04-28 18:35:26 +03:00
HaHaWTH
1974f34879 General patch cleanup & New reject policy 2025-04-27 00:22:03 +14:00
Taiyou06
5abe1dfb9a no need for this, already immutable 2025-04-26 01:38:59 +02:00
Taiyou06
1d19912f1a add back the lambda 2025-04-25 20:52:07 +02:00
HaHaWTH
97f0017519 Use a dedicated thread pool for PWT event rescheduling 2025-04-26 07:32:35 +14:00