hayanesuru
974ede5f87
Do A Barrel Roll Protocol ( #315 )
...
* Do A Barrel Roll Protocol
* cleanup
* [ci skip] cleanup
* [ci skip] cleanup
* [ci skip] rename patch
2025-05-06 18:37:31 +03:00
hayanesuru
41664455a4
extend SpscIntQueue padding size to 252
2025-05-05 15:18:30 +08:00
hayanesuru
3ae994e707
remove box on SpscIntQueue#recv
2025-05-04 23:20:17 +08:00
hayanesuru
1ffa315c13
Reduce AsyncGoal content switching
2025-05-03 22:22:00 +08:00
Dreeam
1431eff510
[ci skip] cleanup
2025-05-03 07:50:33 -04:00
Dreeam
3f20ea5c71
Cleanup
2025-05-02 22:22:53 -04:00
Dreeam
f1df5351ca
Update PlayerInventoryOverflowEvent ( #304 )
...
* Add configurable option in config for PlayerInventoryOverflowEvent and able to define the class name of listener
* Update checking method for overflow items handling logic, only fire event when actual listener is listening to it.
2025-05-02 16:13:19 -04:00
hayanesuru
e3731721df
marks AsyncGoalThread non-daemon
2025-05-01 21:01:29 -07:00
Taiyou06
35d7a185f3
reduce unparking on AsyncGoalThread
2025-05-02 02:00:44 +02:00
Taiyou06
85c8a17e53
[ci skip] remove experimental tags from playerdata and target finding
2025-05-01 23:30:40 +02:00
Taiyou06
445df88770
few Sakura patches
2025-05-01 23:22:30 +02:00
hayanesuru
11ce54da4c
default queueSize to 4096
2025-05-01 22:32:18 +08:00
hayanesuru
3b8ec970c8
optimize async target finding ( #303 )
...
* optimize async target finding
* fix canContinueToUse
* fix data race
* fix TemptGoal start before search entity
* fix AvoidEntityGoal doesn't create path
* fix inactiveTick tickingTarget
* default queueSize to 0
* default queueSize to 4096
2025-05-01 17:29:42 +03: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
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
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
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
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
HaHaWTH
65d24439b8
Mark FasterRandomSource direct impl as static final
2025-04-21 06:40:31 +14: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
dd22d9caff
[ci skip] cleanup imports
2025-04-17 03:17:40 -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
Dreeam
1a64b379a6
Fix version fetcher
2025-04-07 20:00:12 -04:00
Taiyou06
4cd885a8c2
more virtual thread options
2025-04-06 14:44:44 +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
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
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
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
Taiyou06
f1a398f9b5
better locks, perf, readability on ConcurrentLongHashSet
2025-03-24 23:25:00 +01:00
Taiyou06
278b1d635b
remove CompactSineLUT (not needed)
2025-03-24 22:29:45 +01:00
Taiyou06
61e200a959
Revert "modified CompactSineLUT to be both fast and still stay compact"
...
This reverts commit d6ac0d0a2b .
2025-03-24 22:14:25 +01:00
Taiyou06
d6ac0d0a2b
modified CompactSineLUT to be both fast and still stay compact
2025-03-24 22:03:31 +01:00
Taiyou06
b1d127576f
async block finding
2025-03-23 20:46:17 +01:00
Creeam
dab3ca7e0d
Band-aid fix for async events ( #266 )
2025-03-23 21:43:45 +03:00
Taiyou06
4c947f92ce
add temporary compatibility for plugins to PWT
2025-03-22 14:20:34 +01:00
Taiyou06
d5426137dd
add direct RNG
2025-03-22 13:57:21 +01:00
Dreeam
c276c2ba48
[ci skip] cleanup
2025-03-21 08:54:57 -04:00