hayanesuru
f2682d84a6
optimize attribute and cleanup entity tracker ( #548 )
...
* optimize attribute
* compile fix
* redo async tracker
* rename id
* refactor
* fix comment
* reduce call
* fix entity removal
* rename
* fix
* fix ctx
* unnecessary
* rebuild patches
* fix immediately remove
closes : #555
* wrap
2025-12-10 17:00:14 -05:00
hayanesuru
fbfec233ce
don't load chunks to spread grass ( #540 )
...
* Pluto: don't load chunks to spread grass
* block pos
2025-11-24 15:32:16 -05:00
Creeam
2080a06b30
Fix configurable username validation ( #551 )
...
* Configurable vanilla username check
* Mark remove all checks as experimental
* More sanity check
* Sanitize name for Purpur AFK system
* [ci/skip] add comment
* Allow old players to join
* Cleanup patch
* [ci/skip] Update patch name
2025-11-23 04:38:45 -05:00
Dreeam
242c1a0592
Updated Upstream (Leaves)
...
Upstream has released updates that appear to apply and compile correctly
Leaves Changes:
LeavesMC/Leaves@13c4e25e fix: fix bed easy place (#710 )
LeavesMC/Leaves@0ad976f6 Update Paper, and not pre
LeavesMC/Leaves@3feea8e4 Try to fix replay api crash (#713 )
LeavesMC/Leaves@2915edc2 Fix replay api crash with return-nether-portal-fix (#716 )
LeavesMC/Leaves@13651b11 Update Paper
LeavesMC/Leaves@513768c9 Merge Paper#11831 (#695 )
LeavesMC/Leaves@ec71a2bd fix: fix sleeping block entity (#723 )
LeavesMC/Leaves@b16a74c6 feat: remove some features(#724 ) (#725 )
LeavesMC/Leaves@ff184c1d Modify end void rings generation (#722 )
LeavesMC/Leaves@074f57b5 Update Paper
LeavesMC/Leaves@decc9752 feat: add more features declaration (#732 )
LeavesMC/Leaves@a82724fc Update mc technical mode (#734 )
LeavesMC/Leaves@9c8a2fc7 fix: fix hopper event (#739 )
LeavesMC/Leaves@adb02a59 fix: remove debug output (#740 )
LeavesMC/Leaves@4ade1001 Lithium Equipment Tracking (#736 )
LeavesMC/Leaves@d907002a Do not throw when bot nbt is illegal (#746 )
LeavesMC/Leaves@9ecdfe1e Do not check NaN values in entities (#742 ) (#749 )
LeavesMC/Leaves@5974eea2 Update Paper
LeavesMC/Leaves@5083948a Update Update Paper
LeavesMC/Leaves@93311671 Fix syncmatica path error, to fix #747 (#748 )
2025-11-23 01:51:20 -05:00
Dreeam
e11accb01b
Paper PR: Fix async command building throwing CME in some cases
2025-11-02 13:13:22 -05:00
Dreeam
17952bb013
[ci skip] Reorder patches
2025-10-29 02:23:32 -04:00
Dreeam
c3b9ad30b3
Remove stream in CraftWorld#spawnParticle
2025-10-29 02:21:35 -04:00
Dreeam
74d1b53d9f
Use existing cached flag to check if BlockPhysicsEvent has listener
...
Co-Authored-By: Overwrite987 <92237090+Overwrite987@users.noreply.github.com >
2025-10-25 08:11:23 -04:00
Dreeam
b0696542c6
Fix buffer reading condition
2025-10-25 07:58:33 -04:00
Dreeam
35ac5d48ed
Cleanup PWT ( #533 )
...
* Unify comment format
* More configurable
* Remove one extra execute mid-tick task call in level tick when PWT is disabled
This may cause extremely rare, weird, strange, magic, mysterious issues with plugins, or potentially more.
One example is that it may cause boss mob duplication issue when `ONE MOB ONLY` was enabled in plugin SupremeBosses
2025-10-25 07:41:43 -04:00
Creeam
20579beb33
Fix MC-299642 ( #534 )
...
* Fix MC-299642
* Update patch comment
2025-10-19 04:15:03 -04:00
Dreeam
f75132b28c
[ci skip] Remove useless diff
2025-10-17 21:07:14 -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
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
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
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
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
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
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
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
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
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
ee67dcbc7f
Don't load chunks for nether mob spawning
2025-08-27 21:27:56 +08: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