9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 10:29:13 +00:00
Commit Graph

730 Commits

Author SHA1 Message Date
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
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
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
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
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
hayanesuru
e5e7b690e8 perf: quick sort in sensor [ci skip] 2025-08-28 15:59:46 +09:00
hayanesuru
4c2d4bd1f3 chore: rebuild patches [ci skip] 2025-08-28 15:59:04 +09:00
hayanesuru
19100c9985 revert: smart sort entities in NearestLivingEntitySensor [ci skip] 2025-08-28 15:59:04 +09:00
hayanesuru
15a6ff762a revert: smart sort items in NearestItemSensor [ci skip] 2025-08-28 15:58:29 +09:00
hayanesuru
b853e77915 revert: use HashedList on WeightedList [ci skip] 2025-08-28 15:58:29 +09:00
hayanesuru
befdd9bb47 chore: move unused ActivationList [ci skip] 2025-08-28 15:58:29 +09:00
hayanesuru
f67c6cfb41 revert: custom NonNullList [ci skip] 2025-08-28 15:08:30 +09:00
hayanesuru
33238da5d6 revert: slightly optimized VarInt#write [ci skip] 2025-08-28 14:54:31 +09:00
HaHaWTH
9b1b165882 [ci skip] Remove DISCARD reject policy 2025-08-28 10:10:53 +08:00
HaHaWTH
ee67dcbc7f Don't load chunks for nether mob spawning 2025-08-27 21:27:56 +08:00
Dreeam
8b64f4dd42 Cleanup version fetcher 2025-08-25 18:22:41 -04:00
Dreeam
52f643398c Fetch versions from Leaf download api 2025-08-25 17:30:22 -04:00
Dreeam
f5b95a6716 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b0da38c2 Repository details in RuntimeException for MavenLibraryResolver#addRepository (#12939)
PaperMC/Paper@1922be90 Update custom tags (#12183)
PaperMC/Paper@79cf1353 Ignore HopperInventorySearchEvent when it has no listeners (#13009)
PaperMC/Paper@ea014f7a feat: add stuckEntityPoiRetryDelay config (#12949)
PaperMC/Paper@a9e76749 Support for showNotification in PlayerRecipeDiscoverEvent (#12992)
PaperMC/Paper@5622c9dd Expose attribute sentiment (#12974)
PaperMC/Paper@42b653b1 Expose more argument types (#12665)
PaperMC/Paper@52d9a221 [ci/skip] Fix typo in Display javadoc (#13010)
PaperMC/Paper@614e9acf Improve APIs around riptide tridents (#12996)
PaperMC/Paper@51706e5a Fixed DyeItem sheep dye hunk
2025-08-25 15:52:00 -04:00
Dreeam
c1c203f3de Fix failedSpawnAttemptsData copied many times 2025-08-25 15:17:41 -04:00
hayanesuru
88699fb548 fix: ensure goal selector plugin compatibility (#477)
closes: #475
2025-08-24 13:57:16 +02:00
hayanesuru
33de8a39ce fix: sort config modules by class name 2025-08-24 16:13:11 +09:00
hayanesuru
29760bad8f fix: clear entity collision list on return 2025-08-24 15:41:20 +09:00
Taiyou06
369c24cd93 fix slope node bit magic 2025-08-23 20:31:02 +02:00
hayanesuru
69a35eeb78 fix: air supply increase underwater from incorrect eye Y position 2025-08-23 20:11:45 +09:00
hayanesuru
bdca48734a cleanup 2025-08-22 18:41:15 +09:00