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

1269 Commits

Author SHA1 Message Date
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
Dreeam
ccab3256c2 [ci skip] cleanup 2025-06-11 03:59:45 +08:00
hayanesuru
b6ec152037 fix server stuck on wait shutdown 2025-06-10 21:10:49 +09:00
Dreeam
e00bf47f33 Revert action-gh-release to temp fix build 2025-06-10 13:52:52 +08:00
Dreeam
b4ad51dbb5 Correct optimize-block-entities config name to keep consistency
Co-Authored-By: Pascalpex <68245106+Pascalpex@users.noreply.github.com>
2025-06-10 12:26:14 +08:00
Dreeam
985513a2f7 [ci skip] Improve grammar for README CN
Co-Authored-By: YuanYuanOwO <81153017+YuanYuanOwO@users.noreply.github.com>
2025-06-09 23:23:36 +08:00
Dreeam
0b563bca81 [ci skip] Add Intellij project icon 2025-06-09 21:04:06 +08:00
Taiyou06
67c344231d Fix infinite loop in RegionFile IO
If an exception is thrown during decompress then the read process
would be started again, which of course would eventually throw in
the decompress process.
2025-06-09 12:30:08 +02:00
Dreeam
48c39c3570 Cache direction values
micro opt
2025-06-09 07:39:27 +08:00
Dreeam
08e1802690 [ci skip] Add README CN 2025-06-09 05:16:07 +08:00
Dreeam
5bcf0f9400 [ci skip] Update README.md & Gradle 2025-06-09 05:09:48 +08:00
hayanesuru
f607930827 Revert
Revert "async saving player stats and advancements (#334)"

This reverts commit 107ae7954f.

Revert "optimize random tick (#357)"

This reverts commit 2e822d3714.

Revert "disable optimise-random-tick by default"

This reverts commit 20cc10e45f.

Revert "fix random tick do extra tick"

This reverts commit 4bf675075a.

Revert "fix tickingPos out of bounds"

This reverts commit 0eeb6e719c.

Revert "improve ServerStatsCounter compatibility"

This reverts commit 47c1783afc.

Revert "fix random tick"

This reverts commit aad17b0a5b.

Revert "revert level dat"

This reverts commit 8d36c9a5f7.
2025-06-08 19:22:42 +09:00
hayanesuru
8d36c9a5f7 revert level dat 2025-06-08 19:05:34 +09:00
hayanesuru
aad17b0a5b fix random tick 2025-06-08 17:42:00 +09:00
hayanesuru
47c1783afc improve ServerStatsCounter compatibility 2025-06-08 15:55:48 +09:00
hayanesuru
0eeb6e719c fix tickingPos out of bounds 2025-06-08 15:33:21 +09:00
hayanesuru
4bf675075a fix random tick do extra tick 2025-06-08 15:23:30 +09:00
hayanesuru
20cc10e45f disable optimise-random-tick by default 2025-06-08 13:26:11 +09:00
hayanesuru
2e822d3714 optimize random tick (#357)
* random tick

* cleanup

* [ci skip] cleanup
2025-06-08 13:21:54 +09:00
hayanesuru
107ae7954f async saving player stats and advancements (#334)
* async saving player stats and advancements

* remove thread check

* fix interrupt

* longer wait IO tasks time

* safe replace

* delay join while saving player

* mark as experimental

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-06-08 12:18:01 +09:00
Taiyou06
acf2c14f80 Use ActivationList on runningBehaviours 2025-06-08 00:15:07 +02:00
Taiyou06
da48e6e0fb remove tick control on getRunningBehaviors 2025-06-07 23:11:35 +02:00
Taiyou06
08d67817b8 cache potential behaviours 2025-06-07 19:43:44 +02:00
Taiyou06
30d128f30f faster maps for brain 2025-06-07 17:56:33 +02:00
HaHaWTH
1fb0c2e98c SAVIOR OF SONG 2025-06-08 02:38:20 +14:00
hayanesuru
e2eaa9b746 dump pwt thread 2025-06-07 20:39:59 +09:00
HaHaWTH
d358a4b657 Use UUID for cure reputation
Dont merge into 1.21.5, I will do it
2025-06-08 00:56:07 +14:00
Taiyou06
355cb791a6 disable async target find when pwt enabled 2025-06-07 12:49:27 +02:00