hayanesuru
bd3eb337d0
fix async chunk sending buffer ( #301 )
...
* fix Async chunk sending buffer size
* cleanup
* synchronized write nonEmptyBlockCount
* increase buffer initial capacity
* fix block entity map data race
---------
Co-authored-by: Taiyou06 <kaandindar21@gmail.com >
2025-05-01 03:53:32 +03:00
Taiyou06
259cdaa3d8
[ci skip] cleanup
2025-04-29 23:30:09 +02:00
hayanesuru
c892477ec3
revert optimize AttributeMap
...
MythicMobs access the map
2025-04-29 17:00:26 +08:00
Taiyou06
92876d4b12
fix NPE on isParallelCancelledByPlugin
2025-04-28 20:47:15 +02:00
hayanesuru
1bddbe19f0
optimize AttributeMap ( #299 )
...
* optimize AttributeMap
* update multithreaded tracker config
* use non-sync collection when MT disabled
* cleanup
2025-04-28 18:35:26 +03:00
HaHaWTH
1974f34879
General patch cleanup & New reject policy
2025-04-27 00:22:03 +14:00
Taiyou06
5abe1dfb9a
no need for this, already immutable
2025-04-26 01:38:59 +02:00
Taiyou06
1d19912f1a
add back the lambda
2025-04-25 20:52:07 +02:00
HaHaWTH
97f0017519
Use a dedicated thread pool for PWT event rescheduling
2025-04-26 07:32:35 +14:00
Dreeam
b17a0b3550
Move leaf config saving after config post load
2025-04-25 13:06:52 -04:00
Dreeam
1a693822bc
[ci skip] Split publish api workflow
2025-04-25 13:06:39 -04:00
hayanesuru
08ca77097c
Temporary disable async target finding when PWT enabled
2025-04-26 00:42:37 +08:00
Dreeam
1fa4df017f
Makes Pascalpex happy
2025-04-25 12:04:54 -04:00
hayanesuru
28543d51dd
Fix some async config disappear after reload ( #298 )
...
* fix async config disappear
* fix comment of AsyncPathfinding config
2025-04-25 12:01:52 -04:00
Dreeam
efe2191b1f
Fix plugin compatibility
2025-04-25 11:46:55 -04:00
hayanesuru
0bd14537d9
optimize BlockEntityType#isValid ( #290 )
2025-04-25 12:10:50 +03:00
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
Dreeam-qwq
7e30f9be89
Updated Upstream (Gale)
...
Upstream has released updates that appear to apply and compile correctly
Gale Changes:
Dreeam-qwq/Gale@f57773d2 Fix diff
2025-04-23 01:40:54 +00: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
Dreeam
e8915799db
[ci skip] Move TODOs to dev/1.21.5
2025-04-20 01:25:00 -04: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
14813809e7
Where can I find these behavior
2025-04-14 21:14:14 -04:00
Dreeam
b09978b64b
Fix API publish
2025-04-14 15:52:49 -04:00
Dreeam
7eb3c4f5de
Update Spark
2025-04-14 09:21:10 -04:00
Dreeam
cb6ebf06b0
Fix releases
2025-04-14 09:20:22 -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
Dreeam
f922d959cc
Update prepareRelease base script
...
* Cleanup
* Extract jar name & current tag as var for easy manage
* Only delete release tag if exists, to fix build failed
2025-04-13 02:06:23 -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
Dreeam-qwq
4c9fb21bb9
Updated Upstream (Gale)
...
Upstream has released updates that appear to apply and compile correctly
Gale Changes:
Dreeam-qwq/Gale@4ec6e8a5 Updated Upstream (Paper)
2025-04-12 01:40:03 +00: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
25684977bb
Updated Upstream (Paper/Gale)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@0cf73158 Bump to adventure 4.20.0 (#12391 )
Gale Changes:
Dreeam-qwq/Gale@966b5c68 Updated Upstream (Paper)
2025-04-10 01:45:46 -04:00
Dreeam
339bff6a8a
Fix plugin compatibility
...
Fix checking whether inventory owner is player in calling PlayerInventoryOverflowEvent
2025-04-08 14:39:30 -04:00