Dreeam
13a32ff8aa
Fix inverted disabled in CraftCrafter#setSlotDisabled
2025-10-17 15:46:12 -04:00
Dreeam
3867aa901c
Only print PWT levels dump if PWT enabled
2025-10-15 20:21:00 -04:00
Dreeam
54acfa128e
Drop KeYi's disable arrow despawn counter by default to follow vanilla behavior
2025-10-13 00:41:31 -04:00
Creeam
3994984604
Improved fix of MC-298464 ( #524 )
...
* Improved fix of MC-298464
* Remove configurable & cleanup
* [ci skip] Fix patch order
2025-10-13 00:29:05 -04:00
MrlingXD
667f15c124
Fix PWT deadlock with WorldGuard dragon egg teleportation ( #506 )
...
Fixes https://github.com/Winds-Studio/Leaf/issues/502
2025-10-12 23:38:44 -04:00
Dreeam
92dbf8e033
[ci skip] Added backported patches from ver/1.21.4
2025-10-12 15:30:25 -04:00
hayanesuru
043cb215fd
Optimize canHoldAnyFluid in canMaybePassThrough ( #527 )
...
* optimize canHoldAnyFluid in canMaybePassThrough
* rebuild patches
* support reload
2025-10-12 14:26:33 -04:00
hayanesuru
2777740511
Fix no load chunk in optimize getOnPos ( #526 )
...
* revert get on pos load chunk
* move back fluid changes
* reuse chunk
* update comment
2025-10-09 10:00:48 -04:00
Dreeam
bc3fce4949
Drop useless fix
...
getProfiler method is removed from PathNavigationRegion since 1.21.3 snapshot 24w37a
2025-10-07 01:59:42 -04:00
Dreeam
264c07bc24
Temp fix api publish since javadoc.io is down
2025-10-06 14:00:25 -04:00
Dreeam
02a2e3e9ee
Disable VT4ProfileExecutor & VT4BukkitScheduler by default
...
Default disable VT4ProfileExecutor to avoid error code 429 when fetched profile from mojang server.
If related logic in plugins may not designed for VirtualThread, then virtual thread pinning may happen and causes problems.
So only let user to enable if needed.
For reference:
https://stackoverflow.com/questions/76618264/synchronize-block-pinning-virtual-thread
https://openjdk.org/jeps/491
2025-10-06 13:00:50 -04:00
Dreeam
69a59f9fac
Init Leaf config eariler
...
Move Leaf config init before the CrashReport#preload to prevent some configurable values can't read properly in some class static fields
For example, the CrashReport#preload triggers the init of Util class. If the config init happens after this, then can't read config values for VT4ProfilerExecutor properly
2025-10-06 12:53:46 -04:00
Dreeam
7a09871fc1
Allow watchdog thread to pass thread check
...
Similar as Paper # 12030, watchdog thread may also access chunks when server crashed by watchdog timeout
We don't need to add same condition to isSameThreadFor used by PWT, since it already uses instanceOf to check is TickThread or not.
2025-10-03 13:18:54 -04:00
Dreeam
472e20b564
[ci skip] Cleanup
2025-10-02 09:20:43 -04:00
hayanesuru
404bffa010
Fix cache biome chunk pos ( #514 )
...
* fix cache biome chunk pos
* move up
2025-10-02 08:48:27 -04:00
hayanesuru
57e61e2b59
Avoid MobCategory allocation in chunk access ( #517 )
2025-10-01 18:42:36 -04:00
Dreeam
3b162fb788
Move Purpur patches to first
...
To reduce the difficulty on maintenance and reduce chances to fix conflicts on updating
2025-10-01 18:27:42 -04:00
hayanesuru
f0e4107ca4
fix vmp patch skip entity zero movement ( #511 )
2025-10-01 10:03:59 -04:00
Dreeam
8a72cfe561
Fix incorrect coords passing
...
Co-Authored-By: hayanesuru <68378576+hayanesuru@users.noreply.github.com >
2025-09-30 18:37:01 -04:00
Dreeam
db053d5aa9
Fix incorrect coords passing
2025-09-30 12:47:05 -04:00
Dreeam
34c589f5f3
[ci skip] Fix diff
2025-09-29 14:00:33 -04:00
Dreeam
bd6bd9a965
Fix wrong salt param passing in secure seed patch
2025-09-29 13:38:14 -04:00
Dreeam
5e6c592485
Add missing log if kicked by keepalive timeout
2025-09-29 06:41:36 -04:00
Dreeam
39ee996235
Prevent executing commands if server stopped
2025-09-29 03:39:32 -04:00
Dreeam
d7f9f05c83
[ci skip] Fix comment
2025-09-28 00:54:47 -04:00
Dreeam
f1e884e0fc
Bump Gradle to 9.1.0
2025-09-18 10:04:01 -04:00
Dreeam
6949bed1f4
Bump Gradle
2025-09-16 17:16:17 -04:00
Dreeam
802fed0045
Cleanup fix to be better
...
Cleanup and always use updated projectile data on crossbow
2025-09-16 16:40:12 -04:00
Dreeam
e4422f64eb
Only update crossbow's projectile data if holding crossbow
...
To prevent sus things from plugins and prevent wrong item's data gets polluted
2025-09-15 21:39:45 -04:00
Dreeam
784786f100
Fix failed update crossbow's projectile data
...
Explicitly update new data to crossbow on hand, to prevent failed to update projectile data on crossbow and also avoid dupe.
Some plugins may change items by setting new item copy to player's inventory under scheduler under other projectile related events. In this way, the reference of crossbow item changed, thus the set call to `weapon` may not update data on the actual item.
2025-09-15 20:39:14 -04:00
hayanesuru
fe444c434f
Update optimize entity despawn ( #454 )
...
* update partial sort in despawn map
* inline get pos
* cache difficulty
* refactor
* fix fallback extract
* remove test code
* cleanup
* direct compare
* cleanup
* cleanup
* fix axis and remove bucket
* reduce alloc
* paper vertical fallback
* add 2 dimension
* cleanup
2025-09-14 20:45:57 -04:00
MrlingXD
69b6fe60ad
fix(replay): run ServerPhotographer player ops on main thread ( #499 )
...
* fix(replay): schedule ServerPhotographer player ops on main thread when async ticking
2025-09-14 20:34:39 -04:00
Dreeam
b9ebfff44c
Mark as exp
2025-09-11 15:42:17 -04:00
Dreeam
d8de34989a
[ci skip] Move some removed patches to work
2025-09-11 15:38:08 -04:00
Dreeam
7267d3385d
Fix PWT diff
2025-09-09 11:59:03 -04:00
𝑩𝒊𝒒𝒖𝒂𝒕𝒆𝒓𝒏𝒊𝒐𝒏𝒔
a9adcf48e5
Parallel World Ticking API for monitoring tools ( #493 )
...
* Parallel World Ticking API for monitoring tools
2025-09-08 22:28:51 -04:00
Dreeam
a33bcd004d
Bump netty
2025-09-08 17:33:22 -04:00
hayanesuru
5a18920180
replace hash map of spawn limit with array ( #492 )
...
* replace hash map of spawn limit with enum map
* [ci/skip] Add missing comment
2025-09-08 16:39:47 -04:00
hayanesuru
08874d1b30
Only update frozen ticks if changed ( #484 )
...
* optimize setTicksFrozen
* [ci skip] Update patch name
2025-09-08 16:39:28 -04:00
Dreeam
89885a143a
Updated Upstream (Paper)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@19156cdd Give the right amount of experience after mending (#13047 )
PaperMC/Paper@29c8822d Remove no longer needed MC-210802 fix (#13059 )
2025-09-06 20:43:37 -04:00
Dreeam
693384826a
Fix purpur food burp when full condition
...
According to Purpur docs, the `burp-when-full` provides a option to play burp after completely filling the food level.
Thus, it should go back to vanilla behavior if the option is disabled.
Fix https://github.com/Winds-Studio/Leaf/issues/488
2025-09-06 02:36:21 -04:00
hayanesuru
fba4656941
Pluto: expose Direction$Plane's faces ( #491 )
...
* Pluto: expose Direction$Plane's faces
* [ci/skip] Cleanup
2025-09-05 17:49:48 -04:00
Dreeam
b1e831c0b7
Bump netty & spark
2025-09-05 17:49:21 -04:00
Dreeam
47ef0732df
Updated Upstream (Paper)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@78aecfeb Do not remove plugin chunk tickets on shutdown
PaperMC/Paper@9aaaadff Backport DFU changes from snapshots
2025-09-05 17:43:31 -04:00
Dreeam
d36ed6c316
Remove OP lock ( #486 )
...
Current implementation of OP lock is not an appropriate solution to prevent plugins that contain backdoor or malicious code. There are many ways to bypass this check to manipulate the OP list or permissions. The best way to prevent this kind of grief is to get plugins from valid and trustworthy places.
2025-08-31 23:53:19 -04:00
Dreeam
b75efe6b13
[ci skip] Move to correct dir
2025-08-31 23:45:26 -04:00
hayanesuru
25c60030d5
optimize entity tick effects ( #481 )
...
* optimize tickEffects
* move down
* [ci skip] Fix typo
2025-08-31 23:31:19 -04:00
Dreeam
2f835efe4a
Updated Upstream (Paper)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@b6168b7c Get console Brig suggestions from main thread fixes #13027 (#13028 )
PaperMC/Paper@9d1d0ef3 Add and call RegionizedServerInitEvent from Folia (#13034 )
PaperMC/Paper@704107c3 Resend frozen ticks when cancelling EntityInsideBlockEvent for powder snow fixes #13033 (#13035 )
PaperMC/Paper@63cd4af4 Fix createProfile not always returning a new profile (#13036 )
PaperMC/Paper@49ca2d2d chore: remove experimental status from Damageable#damage (#13021 )
PaperMC/Paper@65641d10 Only log name instead of full profile for configuration phase disconnects (#13038 )
2025-08-31 04:34:07 -04:00
hayanesuru
6945a581d5
fix: array cast [ci skip]
2025-08-28 17:30:02 +09:00
hayanesuru
5cc4388005
perf: apply fast bit radix sort [ci skip]
2025-08-28 17:11:34 +09:00