9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-28 19:39:17 +00:00
Commit Graph

162 Commits

Author SHA1 Message Date
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
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
hayanesuru
b6ec152037 fix server stuck on wait shutdown 2025-06-10 21:10:49 +09: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
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
aad17b0a5b fix random tick 2025-06-08 17:42:00 +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
355cb791a6 disable async target find when pwt enabled 2025-06-07 12:49:27 +02:00
Dreeam
0c09ca7a66 Drop configurable smooth teleport 2025-06-07 17:48:46 +08:00
Dreeam
b70aaa0450 Add old Blast Protection explosion knockback behavior (#346)
Added configurable old Blast Protection explosion knockback behavior that is from <=1.21.4 version.
2025-06-06 13:10:31 +08:00
Dreeam
1d30370d7a [ci skip] Cleanup 2025-06-06 01:28:17 +08:00
Dreeam
6d4f048474 Remove old config runAsyncTasksSync 2025-06-05 01:17:39 +08:00
hayanesuru
672000867b cleanup 2025-06-05 00:22:17 +09:00
hayanesuru
5ad9ec1b59 move shutdown executor 2025-06-04 22:09:41 +09:00
hayanesuru
9d6e3ae5ff preload mob spawning position 2025-06-04 21:34:07 +09:00
hayanesuru
e32cdae1bf update default config value 2025-06-04 01:22:23 +09:00
hayanesuru
8e48e51e76 add config 2025-06-03 22:38:15 +09:00
hayanesuru
347ef03d5f remove unused KineticDamage config 2025-06-03 15:29:00 +09:00
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