Creeam
c963bb3315
Async task handling improvement ( #209 )
...
* All threads are core thread
* Drop later submitted pathfinding tasks if task before is not started yet
* Auto-resize is gone
* Refine error handling
* Handle rejected execution
* Limit size and schedule on EntityScheduler
* Allow pr to build
* Remove duplicate path handling
Since it's a very rare case and Kaiiju has already done something to handle this
* Update thread and logger name format
* Core pool to 1
* Revert entity scheduler changes
* Expose queue size to config
* Add reject policy config to pathfinding
* [ci/skip] To uppercase
* [ci/skip] Add co-authors
---------
Co-authored-by: Taiyou06 <kaandindar21@gmail.com >
Co-authored-by: Altiami <yoshimo.kristin@gmail.com >
2025-02-06 15:12:44 -08:00
Kaan D.
175ff6feeb
Use FastBitRadix on the NearestLivingEntitySensor ( #212 )
...
* Use Radix on the NearestLivingEntitySensor
* Since all distances are non-negative (distanceToSqr), the sign bit (bit 63) is always 0. Start sorting from bit 62 (the MSB of the exponent) instead of 63, saving one unnecessary pass.
* Fix sort issue while keeping the performance of it same
* Cleanup, make bucket size static
* Cleanup
* [ci/skip] Update patch comment
2025-02-06 22:02:25 +01:00
Dreeam
75eb088cc3
[ci skip] cleanup work finished
2025-02-03 20:45:19 -05:00
Dreeam
7e89480eef
Updated Upstream (Paper/Gale/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@1004374a Add further information to thread check errors
PaperMC/Paper@e2f0efd1 Remove nms.Entity#isChunkLoaded
PaperMC/Paper@54b2e9d9 Add buffer to CraftWorld#warnUnsafeChunk
PaperMC/Paper@d4a95784 Experimental annotation changes (#12028 )
PaperMC/Paper@5bcfb12a Fix activation range config and water animal status (#12047 )
PaperMC/Paper@e0711af5 Deprecate UnsafeValues#getSpawnEggLayerColor (#12041 )
PaperMC/Paper@8927091a Do not record movement for vehicles/players unaffected by blocks
PaperMC/Paper@5395ae37 Fix composter block setting bukkit owner twice (#12058 )
Gale Changes:
Dreeam-qwq/Gale@534623a0 Updated Upstream (Paper)
Dreeam-qwq/Gale@7274f287 Updated Upstream (Paper)
Dreeam-qwq/Gale@e9ffadfd Updated Upstream (Paper)
Dreeam-qwq/Gale@9e6d19de Updated Upstream (Paper)
Dreeam-qwq/Gale@f35382c4 Updated Upstream (Paper)
Purpur Changes:
PurpurMC/Purpur@9b575764 Updated Upstream (Paper)
PurpurMC/Purpur@88ed7442 Updated Upstream (Paper)
PurpurMC/Purpur@79c11927 only initialize the config once, closes #1637
PurpurMC/Purpur@c7bb955e Updated Upstream (Paper)
PurpurMC/Purpur@2fe4cf18 [ci/skip] fix indentation
PurpurMC/Purpur@65637fa6 fix(mobs/bee): Set `takes-damage-from-water` back to false by default, closes #1639
PurpurMC/Purpur@16cfd04b feat(mobs/bee): Add `can-instantly-start-drowning` option, defaults to `true`
PurpurMC/Purpur@4f481858 fix: correctly call force when sending particles
2025-02-03 15:56:12 -05:00
Dreeam
47847ebd51
[ci skip] cleanup
2025-01-30 16:03:24 -05:00
Dreeam
df28582c38
Fix disable moved wrongly
2025-01-29 22:18:14 -05:00
Dreeam
0b2da17697
Cleanup MultithreadedTracker deeper
2025-01-29 21:02:42 -05:00
Creeam
58cf07704c
Auto resize tracker thread pool ( #208 )
...
* Cleanup sort
* auto resize
* Limit queue size and add RejectedExecutionHandler
* Flush queue on task rejection
* Move to inner class
* Math.max to choose higher one
2025-01-29 17:58:47 -08:00
Dreeam
c08e79f800
Fix build
2025-01-27 21:38:20 -05:00
Dreeam
d06fb16da3
Updated Upstream (Paper/Gale/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@30fdfb1a [ci/skip] Fix docs for DamageResistant (#11992 )
PaperMC/Paper@6b7650d8 Only add goat horn once (#12001 )
PaperMC/Paper@30046e04 Fix a rare crash with a concurrent modification of scaled health attributes (#12002 )
PaperMC/Paper@88bbead1 Flush regionfiles on save configuration option
PaperMC/Paper@336ea9df Check for empty when sending equipment changes (#12008 )
PaperMC/Paper@939bb782 Add RayTraceConfigurationBuilder (#11907 )
PaperMC/Paper@81bb82f5 Fix wrong piston world border check (#12007 )
PaperMC/Paper@ce95b5d6 Use proper default for setting null display background color (#12010 )
PaperMC/Paper@2477f1f6 [ci/skip] fix and improvements for docs in ConsumeEffect component (#11998 )
PaperMC/Paper@fb5b173c Add PlayerClientLoadedWorldEvent (#11940 )
PaperMC/Paper@3af5e771 Add Player#give (#11995 )
PaperMC/Paper@7e21cb81 fix PlayerChangedMainHandEvent javadoc (#12020 )
PaperMC/Paper@5a34bf04 Correctly retrun true for empty input shapes in EntityGetter#isUnobstructed
PaperMC/Paper@a392d475 Make Watchdog thread extend TickThread
Gale Changes:
Dreeam-qwq/Gale@f9080a7e Updated Upstream (Paper)
Dreeam-qwq/Gale@ff0596c1 [ci/skip] Fix upstream commit sh on mac
Dreeam-qwq/Gale@24970274 [ci/skip] Hermanez - Wutaf
Dreeam-qwq/Gale@85eabf60 [ci/skip] cleanup
Dreeam-qwq/Gale@7d9faf00 [ci/skip] cleanup & drop xor-shift random
Dreeam-qwq/Gale@7af04981 [ci/skip] cleanup
Dreeam-qwq/Gale@4d5d39df [ci/skip] Remove useless params standardize in upstream commit generator
Dreeam-qwq/Gale@964f16ff Updated Upstream (Paper)
Dreeam-qwq/Gale@0566a223 [ci/skip] cleanup
Dreeam-qwq/Gale@5e3f6740 [ci/skip] cleanup work finished
Dreeam-qwq/Gale@98a66cfb Updated Upstream (Paper)
Dreeam-qwq/Gale@f7736578 [ci/skip] Update upstreamCommit.sh
Dreeam-qwq/Gale@1c46c816 Updated Upstream (Paper)
Dreeam-qwq/Gale@2b0a4c09 [ci/skip] Skip tests during auto update validate phase
Purpur Changes:
PurpurMC/Purpur@4a0a86b9 Updated Upstream (Paper)
PurpurMC/Purpur@7399988c Fix hover in /plugins
PurpurMC/Purpur@5e5857dc [ci/skip] modify ci skip references in paper upstream commits
PurpurMC/Purpur@5583a3f1 Updated Upstream (Paper)
2025-01-27 20:08:18 -05:00
Creeam
223056a930
Cleanup Smart sort ( #207 )
2025-01-24 11:58:12 -08:00
Dreeam
73860cbe57
Revert "Fix new config can't be generated caused by wrong purpur config version condition"
...
This reverts commit b11b9bbc40 .
2025-01-24 13:45:17 -05:00
Dreeam
0c123ba166
cleanup
2025-01-24 05:52:39 -05:00
Dreeam
26565ea357
[ci skip] cleanup
2025-01-24 04:51:24 -05:00
Dreeam
55cac358a5
cleanup
2025-01-23 19:58:47 -05:00
Dreeam
0ecd029919
[ci skip] cleanup
2025-01-23 19:57:34 -05:00
Dreeam
b9e1eac3a0
[ci skip] cleanup
2025-01-23 17:13:35 -05:00
Dreeam
90ac3178b7
Fix new config can't be generated caused by wrong purpur config version condition
...
It should be `<=` instead of `<`, to ensure older config and new generated config both can generate config keys under `world-settings.default.tools`.
(unless the config transfer version condition should be config version +1)
2025-01-23 12:17:33 -05:00
Dreeam
07b7aebd80
[ci skip] cleanup
2025-01-23 05:54:25 -05:00
Creeam
5498887e08
Update Faster random generator patch ( #206 )
2025-01-22 12:47:41 -08:00
Dreeam
c4f6505e6f
[ci skip] cleanup
2025-01-21 13:22:08 -05:00
Dreeam
ffd718f6bf
[ci skip] cleanup
2025-01-21 07:14:02 -05:00
Dreeam
bc87c65880
[ci skip] cleanup
2025-01-21 01:32:33 -05:00
Dreeam
1703f9af79
[ci skip] cleanup
2025-01-21 01:13:35 -05:00
Dreeam
6a5fc188a4
[ci skip] cleanup
2025-01-20 23:36:14 -05:00
Dreeam
dd36016bf3
Fix canHoldFluid cache
2025-01-20 03:48:04 -05:00
Dreeam
a7359c2b3d
Drop correct item when stone cutter finished the cutting
2025-01-19 07:57:52 -05:00
Dreeam
5b5462f307
Updated Upstream (Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Purpur Changes:
PurpurMC/Purpur@b7f79d4 Updated Upstream (Paper)
PurpurMC/Purpur@da0a61d [ci skip] move log4j plugin into proper location
PurpurMC/Purpur@1d0d781 fix rambar nbt value not being saved to player, closes #1632
PurpurMC/Purpur@a9bcd9f fix villager not restocking while lobotomized, closes #1629
PurpurMC/Purpur@9d1d9fd [ci skip] inline import
PurpurMC/Purpur@1b5ab0c Updated Upstream (Paper)
PurpurMC/Purpur@4b74604 [ci skip] enable caching (#1634 )
2025-01-19 05:43:02 -05:00
Dreeam
2ad76ae0a5
Fix incorrect Minecraft -> Bukkit entity type cache obtain and update & Remove removed patches source
2025-01-19 04:17:14 -05:00
Dreeam
97c4794444
Move directory
2025-01-18 10:44:55 -05:00