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

1 Commits

Author SHA1 Message Date
Taiyou
731950179b 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 14:16:33 +09:00