9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-29 03:49:21 +00:00
Commit Graph

137 Commits

Author SHA1 Message Date
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
hayanesuru
a33f10a17a fix attribute crash server 2025-05-31 17:59:41 +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
df1d62bed9 MultithreadedTracker add lock to AttributeMap and TrackedChunk 2025-05-29 12:57:33 +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
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
hayanesuru
3e50c4fa8c don't use the result when hasn't set waker 2025-05-26 18:43:13 +09:00
hayanesuru
c8f0a78d75 low freq poll 2025-05-26 18:41:08 +09:00
Dreeam
59d350d50f Move packages 2025-05-26 15:14:38 +08:00
Dreeam
f253f8163b Add back Rail Optimization: optimized PoweredRailBlock logic 2025-05-26 14:12:49 +08:00
hayanesuru
2deb6989f2 Revert "optimize GoalSelector update order"
This reverts commit 1c6aa60769.
2025-05-23 23:54:41 +09:00
Taiyou06
577ed2650e add ignoreSpawnRules to SpawnerSettings 2025-05-23 15:16:39 +02:00
hayanesuru
1c6aa60769 optimize GoalSelector update order 2025-05-23 15:57:30 +09:00
hayanesuru
727a0827bc remove MultithreadedTracker lambda 2025-05-23 00:03:39 +09:00
LingXD
e5da1b1038 Optimize isEyeInFluid (#327)
* Optimize isEyeInFluid

* Remove accidental formatting

* Fix code removed by oblivion

* Optimize isEyeInFluid

* Update after rebase
2025-05-21 18:54:32 +03:00
Dreeam
efc2a39479 [ci skip] Cleanup 2025-05-21 18:30:32 +08:00
hayanesuru
6e33899f1c cleanup 2025-05-20 22:16:49 +09:00
Taiyou06
69f1f0d43b if it works dont fix it 2025-05-19 18:07:37 +02:00
hayanesuru
ff9e4f506b optimize tracker (#323)
* optimize tracker

* optimize scaledRange

* cleanup

* fix loop

* fix loop

* optimize AttributeMap

* optimize TrackedEntity#seenBy

* revert packDirty

* cleanup
2025-05-17 15:10:27 +03:00
Dreeam
a56de1a3b0 [ci skip] cleanup
stage 2
2025-05-15 21:56:01 -04:00
adabugra
b1e7469480 Add configurable death item drop knockback (#326)
* feat: add configurable death item drop knockback settings

* Add config option xd
2025-05-16 01:30:59 +03:00
Dreeam
2a72c42863 [ci skip] cleanup
stage 1
2025-05-15 00:00:06 -04:00
𝑩𝒊𝒒𝒖𝒂𝒕𝒆𝒓𝒏𝒊𝒐𝒏𝒔
a8e39fa9bc Prevent overriding spark flags (#322)
* Prevent overriding spark flags

* Null check
2025-05-14 22:41:28 -04:00
hayanesuru
c940bde695 optimize async target finding 2025-05-15 10:50:38 +09:00
Taiyou06
7691e546c2 HashedReferenceList on WeightedRandomList 2025-05-13 22:22:21 +02:00
hayanesuru
63edc90be8 fix async-target-finding 2025-05-14 01:00:14 +09:00
hayanesuru
0bdfeeb528 temp disable async-target-finding 2025-05-13 20:31:12 +09:00
Dreeam
e01facb2a3 Update Configurable unknown command message patch to follow the vanilla
* Add <message> to be more configurable
* Fix for custom brigadier exception message #319
2025-05-13 05:20:20 -04:00
Dreeam
af016b1178 Temp fix
Will fix soon when I have time
2025-05-11 17:54:56 -04:00
Taiyou06
130b55d7d4 if it aint broken, dont fix it 2025-05-11 21:25:14 +02:00
Taiyou06
8c56c79a35 faster player movement checks 2025-05-11 00:06:55 +02:00
Taiyou06
06baf83a90 Smart sort items in NearestItemSensor 2025-05-10 22:53:54 +02:00
Taiyou06
55a5cdafd0 [ci skip] move fastBitRadixSort to a dedicated method 2025-05-10 21:53:32 +02:00
hayanesuru
184c2221b2 update flush knockback 2025-05-10 23:33:17 +09:00
Taiyou06
1cbabcaf0e dont enable it by default lmao 2025-05-10 00:25:32 +02:00
Taiyou06
7d9865678b Only tick items at hand 2025-05-09 23:56:41 +02:00
hayanesuru
cf6c916f24 async switch connection state 2025-05-09 16:58:58 +09:00
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
3821c552e5 Optimise BlockEntity tickersInLevel 2025-05-08 13:34:09 +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