hayanesuru
124dc64a0d
update async target finding and block finding ( #296 )
...
* reduce overhead on poll
* more async search entities
* async block search
* rename search entity config
* cleanup
* fix async search block too frequent
* remove alertOther Experimental anno
* Adjust the delay of RemoveBlockGoal to match vanilla behavior
* Optimize TemptGoal
* rollback interval change
* cleanup
* add async finding to DefendVillageTargetGoal
* rollback interval change for NearestHealableRaiderTargetGoal
* config searchPlayer
* fix DefendVillageTargetGoal condition doesn't check
* add async finding to BegGoal
* rollback interval change for FollowMobGoal
* cleanup
* add async finding to some follow goal
* add async finding to TemptGoal
* handle searchPlayer config
* fix TemptGoal
2025-04-24 13:18:53 +03:00
HaHaWTH
f8578ef8b1
Improve PWT config handling
2025-04-24 03:26:29 +14:00
hayanesuru
9db6bfba3b
improve Async target finding ( #294 )
...
* fix NearestHealableRaiderTargetGoal not async and fix data race in Async target finding
* remove unnecessary requiresUpdateEveryTick
* add AsyncGoal
* use cow list on ServerLevel#players
* move warning
* run tasks after entity tick
2025-04-22 18:55:01 +03:00
John Smith
ef1559c781
Fix flush frequency in linear region flush logic ( #293 )
...
Fixed an issue where linear always flushes
2025-04-22 00:06:23 -04:00
Taiyou06
28e2111198
will visit ChunkHolderManager again at some point
2025-04-21 23:36:24 +02:00
Taiyou
83e9043a45
Couple fixes and improvements ( #287 )
...
* a lot of cleanup and new chunk changes
* perf: Head Node Hit Optimization
* part 1: reworked-reworked ChunkHolderManager
* part 2: speeeeeeeeeeeeeeeeeeeeeeeeeeed
* Optimise MobEffectUtil#getDigSpeedAmplification
* optimize chunk unloads and cleanup a bit
* fix 🐝
* rewritten async target finding
* extend the custom map usage
---------
Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com >
2025-04-21 23:49:33 +03:00
Dreeam
e82999dd18
Updated Upstream (Paper/Gale)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@07679026 CraftBlock - fix applyBoneMeal false result (#12407 )
PaperMC/Paper@a838a886 Add PlayerRespawnEvent#isMissingRespawnBlock (#12422 )
Gale Changes:
Dreeam-qwq/Gale@3c153f5f Updated Upstream (Paper)
2025-04-21 12:30:15 -04:00
HaHaWTH
65d24439b8
Mark FasterRandomSource direct impl as static final
2025-04-21 06:40:31 +14:00
HaHaWTH
05d64d7eb7
Add nullability check before caching profile result
2025-04-21 06:17:56 +14:00
hayanesuru
cda5af1083
update Async target finding ( #291 )
...
* update Async target finding
* create TargetingConditions instead of reusing it
* cleanup
* only add synchronized to Sensing when enable AsyncTargetFinding
* cleanup
* use Release order to store isSearching
* fix compile
* atomic removal check
* fix Entity#isRemoved doesn't init
* opt isRemoved use acquire memory order to load
2025-04-20 15:29:26 +03:00
Creeam
d0944505c2
Adjust throttle hopper default value
...
Vanilla throttles this for 8 ticks, leave it here as the default value
2025-04-19 22:19:26 +08:00
Dreeam
68b642a7f8
Fix race condition in IteratorSafeOrderedReferenceSet ( #278 )
...
* Fix race condition in IteratorSafeOrderedReferenceSet
* Use cached firstInvalidIndex at the beginning of the method
2025-04-17 18:44:13 -04:00
Dreeam
dd22d9caff
[ci skip] cleanup imports
2025-04-17 03:17:40 -04:00
Dreeam
7ea4d4b639
[ci skip] cleanup
2025-04-17 03:04:03 -04:00
Dreeam
dff5b11bd9
cleanup
2025-04-17 02:45:56 -04:00
Dreeam
502701329c
Drop ShreddedPaper: Don't block main thread in Connection#syncAfterConfigurationChange & Move to TODO
2025-04-14 21:28:16 -04:00
Dreeam
7eb3c4f5de
Update Spark
2025-04-14 09:21:10 -04:00
Dreeam
d5d6ac4a44
Updated Upstream (Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Purpur Changes:
PurpurMC/Purpur@d4af7947 Add configurable smooth snow accumulation (#1651 )
PurpurMC/Purpur@51aafbc7 Final 1.21.4 Upstream (Paper)
2025-04-13 19:43:38 -04:00
Taiyou06
3d7b15ba53
cleanup and make concurrency level higher
2025-04-13 03:59:07 +02:00
Taiyou06
2308f08ae3
make StringCanonizingOpenHashMap faster
2025-04-13 03:23:40 +02:00
Taiyou06
bb67247bbd
fix bfs on getSlopeDistance
2025-04-13 02:17:01 +02:00
Dreeam
caf961ac08
Updated Upstream (Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Purpur Changes:
PurpurMC/Purpur@135e2c41 Updated Upstream (Paper)
PurpurMC/Purpur@e19b6707 Updated Upstream (Paper)
PurpurMC/Purpur@304174ec Updated Upstream (Paper)
PurpurMC/Purpur@4a3b139f Updated Upstream (Paper)
PurpurMC/Purpur@a14011f4 Updated Upstream (Paper)
PurpurMC/Purpur@3a1b29a9 [ci/skip] Updated Upstream (Paper)
PurpurMC/Purpur@5d1df704 Updated Upstream (Paper)
PurpurMC/Purpur@bc8c597b Updated Upstream (Paper)
PurpurMC/Purpur@ca56b414 Updated Upstream (Paper)
PurpurMC/Purpur@75efb975 Updated Upstream (Paper)
PurpurMC/Purpur@9249a2ca Updated Upstream (Paper)
PurpurMC/Purpur@8c293626 [ci/skip] ignore deprecation or removal warnings
PurpurMC/Purpur@65b1288b Updated Upstream (Paper)
PurpurMC/Purpur@96f0ee1e Add check for max growth age special case (#1652 )
2025-04-12 16:47:06 -04:00
Taiyou06
b0bfeb2b11
fix buffer resize
2025-04-11 17:55:54 +02:00
Taiyou06
255433caba
time to think something else
2025-04-11 10:52:50 +02:00
Taiyou06
d31559d60b
i pushed this but need someone to test before and after for sake of testing
2025-04-10 15:05:59 +02:00
Dreeam
339bff6a8a
Fix plugin compatibility
...
Fix checking whether inventory owner is player in calling PlayerInventoryOverflowEvent
2025-04-08 14:39:30 -04:00
Dreeam
1a64b379a6
Fix version fetcher
2025-04-07 20:00:12 -04:00
Dreeam
4363934dc9
Fix NPE
2025-04-06 20:08:28 -04:00
Dreeam
fbb040e930
Fix
2025-04-06 14:43:38 -04:00
Taiyou06
4cd885a8c2
more virtual thread options
2025-04-06 14:44:44 +02:00
Dreeam
d004ce16ff
Fix connection message parse
...
Move name parse before minimessage component deserialize, to prevent failed show connection message which has name placeholder in the minimessage string
2025-04-06 04:18:47 -04:00
Taiyou06
996427ed5d
null handling on MultifaceSpreader (idk why this errors to begin with???)
2025-04-05 16:31:09 +02:00
Taiyou06
15237645d5
fix a regression caused by advencement fixing for PWT
2025-04-05 16:30:48 +02:00
Taiyou06
96c6601300
fix 🐢
2025-04-02 19:58:38 +02:00
hayanesuru
f1a31d88c8
Add timeout to AsyncPlayerDataSaving ( #275 )
...
* Add timeout to AsyncPlayerDataSaving
* dump thread if failed to save playerdata
* PlayerDataStorage#lockFor break loop after cancel
2025-03-31 18:34:44 +03:00
Taiyou06
8e11af1228
fix race condition on AsyncTargetFinding
2025-03-29 19:04:26 +01:00
Taiyou06
faf2abdd88
remove experimental tag on AsyncBlockFinding
2025-03-29 14:59:43 +01:00
Taiyou06
e797ead637
perf: Async Target Finding
2025-03-29 14:19:14 +01:00
Taiyou06
a34c396a15
PWT Fix: race condition at Advencements
2025-03-29 14:18:58 +01:00
Dreeam
1977a5b12c
Fix purpur client identifying
2025-03-28 16:44:13 -04:00
Dreeam
2f8915ce2b
cleanup
2025-03-28 16:22:53 -04:00
hayanesuru
233da80a87
Update async playerdata saving ( #269 )
2025-03-28 17:25:23 +03:00
Dreeam
e56ef42b4e
[ci skip] cleanup
2025-03-27 17:12:32 -04:00
Dreeam
c36c34cf85
Updated Upstream (Paper/Gale)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@9b1798d6 Simplify custom payload handling (#12347 )
Gale Changes:
Dreeam-qwq/Gale@ffc98037 Updated Upstream (Paper)
2025-03-27 16:24:19 -04:00
Dreeam
be7545504f
Add back Prevent double chunk retrieving in entity fluid pushing check and fluid height updating
2025-03-26 15:54:42 -04:00
Taiyou06
89b317a1b0
PWT Fix: potentially fix BlockSpreadEvent
2025-03-26 18:46:06 +01:00
Taiyou06
bb9f3a5600
Optimize NonFlush Packet Sending
2025-03-26 18:08:18 +01:00
Taiyou06
1e36d848c2
remove AsyncPacketSending for now (needs some fixes and testing 🙏 )
2025-03-26 08:56:18 +01:00
Dreeam
2c7cb52e6b
Fix build
2025-03-25 03:29:15 -04:00
Taiyou
cbcc54726a
Async playerPacket sending ( #245 )
...
* async player packet sending
* small cleanup
* eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
* holy shit this is fast
* some cleanup
* change .size to O(1)
* rewrite starts (i need to do this OMEGA SAFE)
* rebuilt
* rebase
* Rewritten AsyncPacketSending
2025-03-25 03:20:49 -04:00