9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2026-01-04 15:41:40 +00:00
Commit Graph

264 Commits

Author SHA1 Message Date
Pascalpex
0884f05e40 Add BlockExplosionHitEvent (#349)
* Add BlockExplosionHitEvent

* Remove import
2025-06-05 00:57:52 +08:00
hayanesuru
672000867b cleanup 2025-06-05 00:22:17 +09:00
hayanesuru
4913d3360f improve LibsDisguises compatibility 2025-06-04 23:14:44 +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
100d8bb1e6 rebuild patches 2025-06-04 00:40:45 +09:00
hayanesuru
6ab9b5d5d5 delay to next tick when mob spawning not ready 2025-06-04 00:39:57 +09:00
hayanesuru
2cd4838b7e shutdown mob spawning thread on exit 2025-06-04 00:39:42 +09:00
hayanesuru
8e48e51e76 add config 2025-06-03 22:38:15 +09:00
hayanesuru
27fb282b43 remove clear biome cache 2025-06-03 20:09:10 +09:00
hayanesuru
196822ba62 reduce chunk loaded check 2025-06-03 19:31:05 +09:00
hayanesuru
73cefcf57a optimize get biome 2025-06-03 18:55:45 +09:00
hayanesuru
4249e11cc3 optimize natural spawner 2025-06-03 17:31:59 +09:00
hayanesuru
2897757163 optimise getNearestPlayer 2025-06-03 15:16:15 +09: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
hayanesuru
653efdc165 fix SlopeDistanceNodeDeque memory leak 2025-05-29 19:04:57 +09:00
hayanesuru
29dce8ff3c fix bee pathfinding 2025-05-29 17:49:28 +09:00
hayanesuru
df1d62bed9 MultithreadedTracker add lock to AttributeMap and TrackedChunk 2025-05-29 12:57:33 +09:00
hayanesuru
a0457c6ae3 reduce tickFluid FlowingFluid#getSlopeDistance allocation 2025-05-28 19:19:05 +09:00
hayanesuru
d8d601b9f6 cleanup & remove lockedFlags#removeIf stream 2025-05-28 17:12:47 +09:00
Dreeam
ccefbcfa8d Update input sanitization for purpur config 2025-05-26 18:24:50 +08:00
hayanesuru
ad87353c4a improve plugin compatibility 2025-05-26 18:42:28 +09:00
hayanesuru
a2e5d6d900 fix check LlamaFollowCaravanGoal 2025-05-26 18:41:53 +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
Creeam
705973157c Fix Winds-Studio/Leaf#338 (#339)
Delayed init, registry太神秘了
2025-05-25 22:10:49 +03:00
Dreeam
2d0561db5f [ci skip] Move some useless patches from work to removed 2025-05-26 01:19:25 +08:00
Dreeam
da18026680 Remove stream in CraftBlockData toString() 2025-05-24 22:51:55 +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
e635996b35 optimize getEntityStatus 2025-05-23 15:58:11 +09:00
hayanesuru
1c6aa60769 optimize GoalSelector update order 2025-05-23 15:57:30 +09:00
hayanesuru
6902af834a Cache block path type 2025-05-23 12:02:53 +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
0a26ea4078 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@09e9afd2 Avoid off-main mutations of state

Gale Changes:
Dreeam-qwq/Gale@84684276 Updated Upstream (Paper)
2025-05-21 18:57:54 +08:00
Dreeam
efc2a39479 [ci skip] Cleanup 2025-05-21 18:30:32 +08:00
Taiyou06
69f1f0d43b if it works dont fix it 2025-05-19 18:07:37 +02:00
Taiyou06
7f3e240bbe fix poi thingy on PWT 2025-05-17 23:53:30 +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
Taiyou06
42fe940854 [ci skip] fix build 2025-05-16 22:43:10 +02:00
Dreeam
6533fde2d8 [ci skip] cleanup
stage 3
2025-05-15 23:39:22 -04: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
hayanesuru
c940bde695 optimize async target finding 2025-05-15 10:50:38 +09:00
hayanesuru
b0515441aa fix synchronize carried item 2025-05-14 18:56:17 +09:00
Taiyou06
7691e546c2 HashedReferenceList on WeightedRandomList 2025-05-13 22:22:21 +02:00