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

426 Commits

Author SHA1 Message Date
Taiyou
cc98f4982e backport 1.21.8 async mob spawn (#479)
* backport: 1.21.8 async mob spawn

* Move into patch

* fix

* fix build

---------

Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-08-27 20:00:46 +02:00
Taiyou06
3ae338d9b4 backport: fix slope node bit magic 2025-08-23 20:55:44 +02:00
Dreeam
db9de7d895 Drop old Cache player profileResult 2025-08-08 00:34:37 +08:00
Dreeam
17f1445c07 backport: rewrite cache profile data 2025-08-07 23:53:12 +08:00
Dreeam
1f944bebf9 backport: Re-route SetClosestHomeAsWalkTarget's poi finding to paper's faster logic 2025-08-07 23:52:56 +08:00
Taiyou06
e31d1587a9 backport: fix async pathfind bees in raid 2025-07-22 21:28:01 +02:00
Taiyou06
54022f0f12 backport: fix rabbit randompath 2025-07-22 13:17:57 +02:00
Dreeam
20ff7184f6 Update maven repo 2025-07-18 09:17:31 +08:00
Dreeam
61fb23646c Backport from ver/1.21.7
- Better warning message for discouraging Maven Central as CDN
- Fix infinite loop in dismount loc check
2025-07-16 12:06:19 +08:00
hayanesuru
dd196dd654 count all chunks for ticking
Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-07-11 00:37:38 +09:00
Taiyou06
3d459c0d96 fix build 2025-07-08 20:14:11 +02:00
Taiyou06
ef4ad07976 drop ReduceChunkSourceUpdates 2025-07-08 19:25:23 +02:00
Taiyou06
fd3b9a7f33 fix ReduceChunkSourceUpdates wording 2025-07-08 12:47:41 +02:00
Taiyou06
4575206917 toggleable async catcher 2025-07-08 12:45:35 +02:00
Dreeam
02311882d7 fix reduce chunk source updates position check and mark experimental
Co-Authored-By: hayanesuru <68378576+hayanesuru@users.noreply.github.com>
2025-07-06 00:34:07 +08:00
hayanesuru
2fec7b0f83 fix random value bounds in optimize mob spawning 2025-07-05 05:48:30 +09:00
Dreeam
c43d6ea9a7 Paper: Fix incorrect createPath overload arguments 2025-07-05 02:44:59 +08:00
Dreeam
e15133c60a Do thread check if async mob spawn enabled 2025-07-02 13:12:24 +08:00
Dreeam
47003a109c Bring back only do defrag on main thread from Paper 1.20.4 2025-07-01 21:42:31 +08:00
Dreeam
050d22bb7e [ci skip] Update leaves patch 2025-06-30 01:25:38 +08:00
hayanesuru
e7c221e91d backport some fixes in async target finding
cb21caa1c2
58575d0adc
2025-06-29 13:47:48 +09:00
Dreeam
d81900dd61 Update internal spark 2025-06-27 12:24:36 +08:00
Dreeam
b6cd7b8101 [ci skip] Updated Leaves patches to latest 1.21.4 2025-06-27 04:14:11 +08:00
Dreeam
edd4b80923 Fix compatibility with SuperiorSkyblock2 2025-06-27 02:57:41 +08:00
hayanesuru
9183326be5 backport fix for mob spawning radius limits
a44c865ee6
2025-06-26 23:34:08 +09:00
Dreeam
60539427ff Cleanup patch 2025-06-22 03:15:03 +08:00
hayanesuru
5311ae81c6 fix boundary of optimize random tick 2025-06-21 02:04:25 +09:00
Dreeam
91a911a60f Fix powered rail range in optimized powered rail 2025-06-19 01:10:08 +08:00
Taiyou
6d86da82c1 Optimize random tick (#359)
* optimize random tick

* rebase

* fix random tick chance check

* add back zero check fix always tick on first tick

* optimize random check

* cleanup

* remove 0 to 2 random on amount chosen

* cleanup

* add queue and reuse block count

* reduce LevelChunkSection#tickingBlocks memory overhead

* Revert "reduce LevelChunkSection#tickingBlocks memory overhead"

This reverts commit 942376481b.

* fix overflow

* [ci skip] rebuild patches

---------

Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-06-18 13:56:23 +09:00
HaHaWTH
de2562294c Backport AsyncLocator fixes 2025-06-18 06:10:51 +14:00
hayanesuru
04543a97f3 cleanup & remove threshold in async target finding 2025-06-16 20:36:16 +09:00
hayanesuru
510ddf3bbc fix FasterRandomSource#next generate same random number (#374) 2025-06-15 10:40:02 +09:00
Dreeam
07f5022110 Fix crash during parsing unknown command message 2025-06-15 02:28:20 +08:00
Dreeam
03de21f0f4 [ci skip] Rebuild patches 2025-06-13 22:25:37 +08:00
Dreeam
9c0d0a828c Temp disable hot reload for async features 2025-06-13 22:03:34 +08:00
Dreeam
bc4ca38c83 Pass exception as throwable instead of string 2025-06-13 21:35:23 +08:00
hayanesuru
4308de7b7f remove Lithium: equipment tracking (#367) 2025-06-13 18:11:40 +09:00
Taiyou06
df7eef099c fix it when it's off too 2025-06-13 09:55:20 +02:00
MrlingXD
15ef4ca901 Optimize more for rail optimization (#368)
* Optimize more for rail optimization

* remove threadlocal
2025-06-13 07:57:11 +08:00
Dreeam
a11f042109 Fix entity bounding box traverse blocks iterate
Reset both x and y values on z level iteration , to prevent skip entire y level loop on z level iteration and cause some issues, e.g. inconsistent with vanilla
2025-06-13 04:07:23 +08:00
Taiyou06
71e5da40da Paper: Fix excess slot updates / inventory state id desync 2025-06-11 20:59:22 +02:00
Taiyou06
b26a5063d1 fix citizens requesting treemap from maps 2025-06-11 18:13:19 +02:00
Dreeam
0dae985426 [ci skip] Fix 2025-06-11 21:02:33 +08:00
Dreeam
66856d9382 [ci skip] Add missing license notice header 2025-06-11 21:00:48 +08:00
Dreeam
46e876280c [ci skip] Update license information 2025-06-11 20:56:06 +08:00
hayanesuru
ab24c46fb5 remove shutdown log if mob spawning disabled 2025-06-11 12:51:32 +09:00
hayanesuru
d2dc5a0895 remove preload mob spawning position 2025-06-11 12:51:32 +09:00
hayanesuru
6873fde47d [ci skip] cleanup 2025-06-11 11:50:45 +09:00
Dreeam
33b0fd1daf Some fixes for failed to shutdown if some async are disabled 2025-06-11 07:56:22 +08:00
Dreeam
b5e6e55765 [ci skip] cleanup 2025-06-11 06:09:21 +08:00