hayanesuru
cdd379f424
fix async tracker deadlock
2025-07-16 15:09:19 +09:00
Dreeam
4dc9f4bebe
Re-route SetClosestHomeAsWalkTarget's poi finding to paper's faster logic
2025-07-16 11:18:51 +08:00
Dreeam
5dc1d65ff7
[ci skip] Update patch header
2025-07-16 07:29:39 +08:00
hayanesuru
ea00b11d11
Refactor async entity tracker ( #390 )
...
* prevents async entity tracker update equipment
* fix seenBy updated check
* skip submit empty
* fix invertedVisibilityEntities data race
* strict thread check
* set max-threads to 1 by default
* use fixed thread count
* increase thread priority
* Revert "use fixed thread count"
This reverts commit 6746bc25a8 .
* Revert "set max-threads to 1 by default"
This reverts commit 5295b6d3e1 .
* update entity tracker
* cleanup
* [ci skip] fix phrasing
* cleanup
* cleanup
* support Citizens
* optimize update if chunk player no change
* configurable threads
* configurable no blocking
* fix pos y and z
* optimize no blocking
* cleanup
* cleanup
* add handle during waitUntilNextTick
* fix entity disappear
* cleanup
* disable nonblocking by default
* [ci skip] add entity slice
* impl fork-join
* fix async locator diff
* optimize queue
* inline iterator
* [ci skip] Update patch header
* cleanup
* improve compatibility
* add license header
* optimize spin wait
* remove queue-size option
* dynamic adjust subtasks
---------
Co-authored-by: Taiyou06 <kaandindar21@gmail.com >
Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com >
2025-07-16 02:42:37 +09:00
Dreeam
46825749cd
Updated Upstream (Paper)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@fcfc6c3f Expose HexColor argument type (#12833 )
PaperMC/Paper@4000fcc3 Fix typo in PluginBootstrap javadocs (#12821 )
PaperMC/Paper@25d358cf [ci/skip] javadoc: Fix grammatical error for getState (#12817 )
PaperMC/Paper@ba7c9826 Add missing Range annotations to dialog types
PaperMC/Paper@533d93c7 Don't consume anchor charge if loc changes (#12835 )
2025-07-14 00:51:12 +08:00
HaHaWTH
1c63bd73e2
Fix cloud compat
2025-07-14 01:31:14 +14:00
hayanesuru
2f72924ec7
fix MC-298464
2025-07-13 19:40:29 +09:00
Taiyou06
900e035df9
Optimise getEntities with couple simple stuff
2025-07-12 15:43:54 +02:00
Dreeam
ccf2f9c0d2
Updated Upstream (Paper/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@a9399451 Fixup sendAllDataToRemote calls
PaperMC/Paper@cb47e018 Remove more dead code, fix pre-existing desync when cancelling and closing container
PaperMC/Paper@40764534 Specify the class loader when loading services (#12829 )
PaperMC/Paper@1bf6364b Update Mache for horse decompile fix
PaperMC/Paper@76fb5060 Add vanilla error message to precondition for DialogBaseImpl (#12831 )
Purpur Changes:
PurpurMC/Purpur@5b26bab8 Updated Upstream (Paper)
PurpurMC/Purpur@8734844b sigh...
PurpurMC/Purpur@09ea9cb9 fix mobs not burning in daylight (#1689 )
PurpurMC/Purpur@4d5a8e6e Updated Upstream (Paper)
PurpurMC/Purpur@7dbe4153 Add support for "/chase", a disabled Minecraft command. (#1690 )
PurpurMC/Purpur@11c030a8 Updated Upstream (Paper)
2025-07-12 18:14:29 +08:00
Dreeam
af39f5cf5f
Fix infinite loop in dismount loc check
2025-07-11 06:22:22 +08:00
Creeam
871e004368
Skip inactive entity for execute functions ( #396 )
2025-07-11 02:09:28 +08:00
Dreeam
a9c10502d5
Format patch & get fluidstate from blockstate, instead of from level
2025-07-09 06:41:16 +08:00
Dreeam
87c17a40cc
Apply default item pickup delay in throwing item for non-villager entity
...
With Minecraft updates, allay and pligin also have throw item behavior, calling this method.
Needs to keep item pickup delay since they are not villager entity, and also be consistent with vanilla
2025-07-09 04:29:58 +08:00
Dreeam
3c25377465
Drop some unused patches
...
ClassInstanceMultiMap belongs to Minecraft vanilla entity storage.
And is unused, since replaced by spottedleaf's entity storage (rewrite chunk system).
However these patches might be useful for vanilla entity storage if is used.
2025-07-09 04:20:02 +08:00
Taiyou06
d041342e8a
drop ReduceChunkSourceUpdates
2025-07-08 20:28:58 +02:00
hayanesuru
ac6e483e8d
fix async mob spawning TRACKED entities not count ( #393 )
...
* fix unloaded and TRACKED entities not count
#392
* move to archived
2025-07-08 22:54:12 +09:00
Dreeam
495cc7c0b4
Update Cache FluidOcclusionCacheKey hash
...
Original BlockStatePairKey is unused, and replaced by spottedleaf's FluidOcclusionCacheKey, so move to there
2025-07-08 04:53:06 +08:00
Dreeam
445186994f
[ci skip] Update some patch comments
2025-07-08 00:29:01 +08:00
Dreeam
b095bee8df
Updated Upstream (Paper)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@f7d5a0a0 [ci/skip] Add remote build cache configuration through Gradle properties (#12797 )
PaperMC/Paper@b4466ec9 Dialog API (#12671 )
2025-07-07 22:42:05 +08:00
Dreeam
69c285eb4c
[ci skip] cleanup
2025-07-07 03:51:07 +08:00
Dreeam
f2ca28183f
Cleanup
2025-07-06 20:08:35 +08:00
Dreeam
1eeda75d3b
Fix predict Halloween date check
2025-07-06 18:49:23 +08:00
hayanesuru
ee45897239
fix reduce chunk source updates position check and mark experimental
2025-07-06 00:41:59 +09:00
HaHaWTH
becff2ac20
Fix Paper config fixClimbingBypassingCrammingRule
2025-07-06 00:16:40 +14:00
hayanesuru
7e5b4707ef
cleanup
2025-07-05 17:05:54 +09:00
hayanesuru
83f5b0851c
fix random value bounds in optimize mob spawning
2025-07-05 05:34:19 +09:00
hayanesuru
a80d2bd374
cancel async target finding when entity removal
2025-07-04 16:11:17 +09:00
hayanesuru
8e2a94a7d2
fix async EndermanAttackPlayerEvent
2025-07-04 15:52:39 +09:00
hayanesuru
b904e81e27
remove capture world in async target finding
2025-07-04 15:52:39 +09:00
hayanesuru
7b8c74e584
fix entity activation data race
2025-07-04 14:20:34 +09:00
hayanesuru
f7f7bb772e
fix waypoint check
2025-07-04 03:48:36 +09:00
hayanesuru
eb760fb69c
fix player alive check and add optimize despawn
2025-07-04 03:35:33 +09:00
hayanesuru
9bf04bdb11
optimize waypoint
2025-07-04 03:13:46 +09:00
hayanesuru
6bc70724a4
optimize no action time
2025-07-04 03:12:10 +09:00
hayanesuru
38658070f5
add comment throttle mob spawning
2025-07-03 17:23:50 +09:00
HaHaWTH
437e63e61c
Fix DAB condition
2025-07-03 03:50:09 +14:00
hayanesuru
b6972a770f
fix biome cache alloc during world gen
2025-07-02 21:54:17 +09:00
HaHaWTH
d312323458
Datapack functions optimization
2025-07-03 01:40:35 +14:00
Dreeam
199749f50d
Do thread check if async mob spawn enabled
2025-07-02 18:07:13 +08:00
Dreeam
419ae9c420
Updated Upstream (Paper/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@6ea679eb Allow listening to plugin messages during configuration phase (#12775 )
PaperMC/Paper@c3be00f0 Always call plugin message dispatch on PlayerConnection
PaperMC/Paper@3fec37a9 Move the double call into the dispatch method
PaperMC/Paper@108255cb Reduce PlayerLoginEvent alt behavior nag for now (#12782 )
PaperMC/Paper@2141ca52 Port plugins command to brigadier (#12632 )
PaperMC/Paper@0cadaefc Fix quitmessage nullability issues (#12783 )
Purpur Changes:
PurpurMC/Purpur@2d8cdd15 Updated Upstream (Paper)
2025-07-02 15:48:00 +08:00
Dreeam
0912dd341c
Update Leaf 1.21.7
2025-07-01 17:53:06 +08:00
Dreeam
c72f7dab2d
Updated Upstream (Paper/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@4d854e66 Disable MC-163962 fix by default
Purpur Changes:
PurpurMC/Purpur@04a9045d Fix phantom high speed by modifying the speed: Part 2 (#1682 )
PurpurMC/Purpur@175bb181 [ci/skip] micro opt when applying block friction on flying ridable mobs
PurpurMC/Purpur@d0b705e4 Updated Upstream (Paper)
PurpurMC/Purpur@3658291d Fix llama not moving when ridden, Fixes #1507 (#1684 )
PurpurMC/Purpur@051566db check for purpur.debug.f3n on new serverbound change gamemode packet, closes #1683
PurpurMC/Purpur@a112b6ac Final 1.21.6 Upstream (Paper)
2025-07-01 14:23:50 +08:00
Dreeam
e9db24dbd8
Fix diff
2025-06-30 06:26:23 +08:00
Dreeam
66887e3367
Update Leaf 1.21.6 ( #385 )
...
* Init 1.21.6
* Finish API patches
* Apply purpur patches & all paper server patches
* Apply some
* Apply all
* Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@6aafe29e 1.21.6 dev
PaperMC/Paper@ae7c74ec tweak mob goal keys, generate missing api
PaperMC/Paper@9ea1460b Revert "fix sponge-absorb deleting chest content (#12647 )"
Purpur Changes:
PurpurMC/Purpur@eb0ba67d Updated Upstream (Paper)
PurpurMC/Purpur@7c6502dc Updated Upstream (Paper)
PurpurMC/Purpur@aa289e2c Updated Upstream (Paper)
PurpurMC/Purpur@b1d412fb Updated Upstream (Paper)
PurpurMC/Purpur@293e28a0 use empty registryaccess where context is not needed, closes #1676
PurpurMC/Purpur@452bb319 port PaperMC/Paper#12654 , closes #1665
PurpurMC/Purpur@849bc79c register test subcommands used for debugging, closes #1675
* Fix build & diff
* Update vanilla attribute size
* [ci/skip] Forget to remove this
* Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@a24f9b20 1.21.6 dev
PaperMC/Paper@457a0a69 Bump version string and protocol version to 1.21.6 release
PaperMC/Paper@245b5473 Update base to 1.21.6
PaperMC/Paper@b28d77b3 Update Moonrise to 1.21.6
PaperMC/Paper@8318dcb7 Update DataConverter to 1.21.6-rc1
Purpur Changes:
PurpurMC/Purpur@b228e316 Updated Upstream (Paper)
PurpurMC/Purpur@d6562a57 make happy ghast takes-damage-from-water and always-drop-exp options work
PurpurMC/Purpur@08d989b6 inline import
PurpurMC/Purpur@61d7f559 Updated Upstream (Paper)
PurpurMC/Purpur@469a4de5 Merge branch 'ver/1.21.5' into ver/1.21.6
* Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@d2b1158e Set correct world access on BSL snapshots
* Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@023e6c29 Ensure waypoints are per world
PaperMC/Paper@40d5d31c Fix recursively converting JSON Text Components
* Update spigot mapping to remap reobf mapping to mojamp for plugins
* Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@1fcc4162 Implement FeatureHooks#isChunkSent for Moonrise chunk system
PaperMC/Paper@e4d7178a Implement WaypointTransmitter#isChunkVisible
PaperMC/Paper@8980ead7 Directly walk text component after converting from JSON
PaperMC/Paper@5613ed6d Provide env environment variable and copy spigots sys prop for overriding default repository
PaperMC/Paper@62b7f86d Avoid and discourage use of Maven Central as a CDN (#12689 )
PaperMC/Paper@f5534cb7 [ci/skip] Run generators (#12691 )
PaperMC/Paper@4781d28b Re-add Log4j Javadocs (#12693 )
PaperMC/Paper@74fbcce5 Check type of Material in get/set stats (#12607 )
PaperMC/Paper@4b3f967e Improve Fix MC-44654 (#12703 )
PaperMC/Paper@a7dd2635 Enable spigot obfuscation support (#12695 )
PaperMC/Paper@6a51c44e Cleanup Primed TNT Fix (#12704 )
PaperMC/Paper@839c6a18 Fix #11169 (#12706 )
PaperMC/Paper@c77d5f99 Fix MC-297591
PaperMC/Paper@219f86ee Implement chunk unload delay config option
PaperMC/Paper@e4eb69b8 Do not allow ticket level decreases to be processed asynchronously
PaperMC/Paper@71b0c768 Adds support for vanilla negative explosions (#12705 )
PaperMC/Paper@3750927a [ci/skip] Fix PermissionManager#clearPermissions() docs bad wording (#12657 )
PaperMC/Paper@d61a51e8 Add ItemType#getBurnDuration() (#12604 )
PaperMC/Paper@29fc8532 Allow empty paths in namespaced keys (#12687 )
PaperMC/Paper@4419afb9 fix: Safely handle nanosecond overflow in ClickCallback (#12686 )
PaperMC/Paper@56528821 Add `isProxyEnabled` method to ServerConfiguration (#12664 )
PaperMC/Paper@c0dda0ea Add `isForceDefaultGameMode` method (#12673 )
PaperMC/Paper@e714de63 Fix excess slot updates
PaperMC/Paper@6d0821d2 [ci/skip] Fix docs for Spawner class and cleanup (#12710 )
PaperMC/Paper@cceffe3d Release ItemType and BlockType (#12708 )
PaperMC/Paper@186e9e33 Relocate CommandMap#registerServerAliases() call to after lifecycle events have been run (#12601 )
PaperMC/Paper@5edcf6dd Cleanup/command dispatching (#12713 )
Purpur Changes:
PurpurMC/Purpur@baa196f5 Updated Upstream (Paper)
PurpurMC/Purpur@fdd1e980 Updated Upstream (Paper)
PurpurMC/Purpur@439f15db Updated Upstream (Paper)
PurpurMC/Purpur@46a28b93 [ci/skip] update version in README
PurpurMC/Purpur@162bd288 Updated Upstream (Paper)
PurpurMC/Purpur@afcdf9bb Updated Upstream (Paper)
* fix random tick order
Signed-off-by: hayanesuru <hayanesuru@outlook.jp >
* update optimize random tick
* fix mob spawning over limit
* optimize mob spawning
* fix FastBitRadixSort memory leak
* optimize brain collections
* [ci/skip] update comments
* Revert "fix FastBitRadixSort memory leak"
This reverts commit bdea683525 .
* optimize brain collections
* fix async mob spawning data race
* [ci/skip] cleanup
* remove hash lookup in optimize random tick
* Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@803baf0b Support hidden entities in Waypoints (#12715 )
PaperMC/Paper@1814d8b4 build: publish to fill (#12717 )
PaperMC/Paper@e454fef4 Add support for private constructors in plugin main classes (#12652 )
PaperMC/Paper@d0e808f4 Move player to correct position in vehicle move packet handler
PaperMC/Paper@46b4b0b8 Improve keepalive ping system
PaperMC/Paper@38c1ddb5 Add and use FeatureHooks.getAllEntities
PaperMC/Paper@2f083acb Ensure player entity schedulers are ticked when they are dead
PaperMC/Paper@7c90c7c4 Optimise EntityScheduler ticking
PaperMC/Paper@aa6ee44a Re-add global region scheduler tick erroneously removed in last commit
PaperMC/Paper@d7510efc Fix #12722 (#12726 )
PaperMC/Paper@0caf75f8 Fix #12721 (#12725 )
PaperMC/Paper@bee28792 Adventure 4.23.0 (#12690 )
PaperMC/Paper@692e93a9 Fix MC-299110
PaperMC/Paper@ea10fa4a Don't mutate the position of Items for MC-4 Fix (#12702 )
PaperMC/Paper@aa6cd74c Remove unnecesary item check for ServerboundPlayerActionPacket RELEASE_USE_ITEM (#12668 )
PaperMC/Paper@c9e89f49 Expose arrow velocity in EntityShootBowEvent for mobs (#12688 )
PaperMC/Paper@7ec3174a Jump out of experimental phase
PaperMC/Paper@4e1a2555 Update try catch for command handling
PaperMC/Paper@e382e687 Fix 0 yield on explosion events
PaperMC/Paper@35b2c6ec Use dropped item for stats info (#12747 )
PaperMC/Paper@bd79e20c [ci/skip] PluginManager#getPlugin and PluginManager#isPluginEnabled are case-insensitive (#12723 )
Purpur Changes:
PurpurMC/Purpur@4a5974cf Updated Upstream (Paper)
PurpurMC/Purpur@3893bba0 this is important...
PurpurMC/Purpur@47e758fb Updated Upstream (Paper)
* Update PWT patch
* cleanup
* fix playermobcaps command
* fix Didn't fill chunk buffer in async chunk sending
* cleanup
* fix HurtByTargetGoal npe
* optimize collectSpawningChunks (#382 )
* optimize collectSpawningChunks
* add bit set
* cleanup
* cleanup
* cleanup
* cleanup
* Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@57c202e0 Allow adventure nbt codec to parse all tags
Purpur Changes:
PurpurMC/Purpur@a4776d7b Updated Upstream (Paper)
PurpurMC/Purpur@dfd8a7ad Fix phantom going at high speed when ridden (#1680 )
* Fix diff
---------
Signed-off-by: hayanesuru <hayanesuru@outlook.jp >
Co-authored-by: hayanesuru <hayanesuru@outlook.jp >
2025-06-30 05:17:33 +08:00
Dreeam
d1eb927f3a
[ci skip] Update TODO
2025-06-30 02:16:54 +08:00
Dreeam
4c221a03ed
Updated Upstream (Leaves)
...
Upstream has released updates that appear to apply and compile correctly
Leaves Changes:
LeavesMC/Leaves@e3b0cf4a Fix tripwire with end platform (#542 )
LeavesMC/Leaves@8615b2f4 Recheck for null before handling player join (#550 )
LeavesMC/Leaves@093b9290 Fix protocol bugs (#537 )
LeavesMC/Leaves@852184c1 Vanilla Fluid Pushing (#547 ) (#551 )
LeavesMC/Leaves@911ec9b9 Fix Carpet protocol (#552 )
LeavesMC/Leaves@2654bf53 Fully rewrite I18n support (#545 )
LeavesMC/Leaves@f33f5fea Refactor command system, fix bugs (#573 )
LeavesMC/Leaves@6c07912d Remove Force peaceful mode switch (#265 ) (#579 )
LeavesMC/Leaves@2dcf9f85 Fix spawnInvulnerableTime (#583 )
LeavesMC/Leaves@6d76c1f1 Fix unexpected IOE (#582 )
LeavesMC/Leaves@3187d77f Fix IAE update suppression crash (#581 )
2025-06-30 01:34:04 +08:00
Dreeam
a1a34805e1
Update changes from ver/1.21.4 branch
2025-06-29 23:37:13 +08:00
hayanesuru
34d9673f3e
backport from dev/1.21.6
...
73ffcb09fa optimize mob spawning
333373d204 fix async mob spawning data race
7c9f88e4f8 [ci skip] cleanup
bf9486f0f0 remove hash lookup in optimize random tick
915ac01cd3 cleanup
b90c1cd527 fix playermobcaps command
fd34d9f626 cleanup
5d663b4d36 optimize collectSpawningChunks (#382 )
2025-06-29 23:58:26 +09:00
hayanesuru
e7c221e91d
backport some fixes in async target finding
...
cb21caa1c2
58575d0adc
2025-06-29 13:47:48 +09:00
hayanesuru
186a317f5d
Backport fix HurtByTargetGoal npe
...
58575d0adc
2025-06-29 13:15:56 +09:00