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
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
2c1a3f706a
Add test for BlockEntityTickersList
2025-07-12 16:04:32 +08:00
Dreeam
abb8b1fda4
Add Leaf JUnit test suite
2025-07-12 16:03:27 +08:00
Dreeam
ada68f0d1a
Cleanup get java version & SIMD util
...
- Use modern API which introduced since Java 10 to get java major version
- Remove useless fields in SIMD util, Java 21+ supports SIMD.
2025-07-10 00:15:42 +08:00
hayanesuru
a0089ffaa9
fix reduce-chunk-source-updates config disappear
2025-07-08 23:45:54 +09: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
Taiyou06
c87b046a04
toggleable async catcher
2025-07-08 12:30:06 +02: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
hayanesuru
7e5b4707ef
cleanup
2025-07-05 17:05:54 +09:00
Dreeam
199749f50d
Do thread check if async mob spawn enabled
2025-07-02 18:07:13 +08:00
hayanesuru
7c2174d91e
purpur diff
2025-07-02 18:52:25 +09: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
47ac7c20cd
Bring back only do defrag on main thread from Paper 1.20.4
2025-07-01 22:08:02 +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
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
ebce26c051
Update changes from ver/1.21.4 branch
2025-06-30 01:33:00 +08:00
Dreeam
050d22bb7e
[ci skip] Update leaves patch
2025-06-30 01:25:38 +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
Dreeam
7b26b73702
Backport Paper: Check type of Material in get/set stats
...
Co-Authored-By: hayanesuru <68378576+hayanesuru@users.noreply.github.com >
2025-06-26 05:23:09 +08:00
Dreeam
3ab4a104c3
Revert rewriting rules to fix compatibility with Nova
2025-06-22 09:00:32 +08:00
Dreeam
5ef030ab1e
[ci skip] Updated Upstream (Paper/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@39203a65 [ci/skip] Publish PR API and dev bundles (#12672 )
PaperMC/Paper@a1b30587 Provide env environment variable and copy spigots sys prop for overriding default repository
Purpur Changes:
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
PurpurMC/Purpur@61d7f559 Updated Upstream (Paper)
2025-06-21 11:04:38 +08:00
HaHaWTH
b559e1ed72
Add missing rewrite rules
2025-06-20 08:06:42 +14:00
Dreeam
0790debe92
[ci skip] Fix SparklyPaper: Skip "MapItem#update()" if the map does not have the CraftMapRenderer present
2025-06-14 23:17:45 +08:00
Dreeam
13abe281c9
[ci skip] Fix diff
2025-06-14 06:55:28 +08:00
Dreeam
e9a24c833d
Update changes from ver/1.21.4 branch
2025-06-14 03:34:46 +08:00
Dreeam
03de21f0f4
[ci skip] Rebuild patches
2025-06-13 22:25:37 +08:00
Dreeam
bc33d3089a
Updated Upstream (Paper)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@ba7fb23d Finish moving over to Holderable (#12646 )
2025-06-11 09:12:50 +08:00
Dreeam
b5e6e55765
[ci skip] cleanup
2025-06-11 06:09:21 +08:00
Dreeam
915f755b01
Updated Upstream (Paper/Purpur/Leaves)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@03efecf0 Do not fire PlayerDropItemEvent for /give command
PaperMC/Paper@3527ccdf feat: expose updateDemand and restock on Villager (#12608 )
PaperMC/Paper@320f25cb fix sponge-absorb deleting chest content (#12647 )
PaperMC/Paper@95565e0f Add missing attribute serialization updater
PaperMC/Paper@519e4224 Fix infinite loop in RegionFile IO
Purpur Changes:
PurpurMC/Purpur@eb0ba67d Updated Upstream (Paper)
PurpurMC/Purpur@7c6502dc Updated Upstream (Paper)
PurpurMC/Purpur@aa289e2c Updated Upstream (Paper)
Leaves Changes:
LeavesMC/Leaves@f09fbb24 1.21.5 (#470 )
LeavesMC/Leaves@f1cc3ef9 Fix version fetch
LeavesMC/Leaves@73bd42af Remove fast resume, mojang added it
LeavesMC/Leaves@59856751 Configurable trading with the void
LeavesMC/Leaves@9d32c5bd Fix protocols (#534 )
2025-06-11 06:01:22 +08:00
Dreeam
ca56147d0f
Update changes from ver/1.21.4 branch
2025-06-11 05:20:38 +08:00
hayanesuru
f607930827
Revert
...
Revert "async saving player stats and advancements (#334 )"
This reverts commit 107ae7954f .
Revert "optimize random tick (#357 )"
This reverts commit 2e822d3714 .
Revert "disable optimise-random-tick by default"
This reverts commit 20cc10e45f .
Revert "fix random tick do extra tick"
This reverts commit 4bf675075a .
Revert "fix tickingPos out of bounds"
This reverts commit 0eeb6e719c .
Revert "improve ServerStatsCounter compatibility"
This reverts commit 47c1783afc .
Revert "fix random tick"
This reverts commit aad17b0a5b .
Revert "revert level dat"
This reverts commit 8d36c9a5f7 .
2025-06-08 19:22:42 +09:00
hayanesuru
107ae7954f
async saving player stats and advancements ( #334 )
...
* async saving player stats and advancements
* remove thread check
* fix interrupt
* longer wait IO tasks time
* safe replace
* delay join while saving player
* mark as experimental
---------
Co-authored-by: Taiyou06 <kaandindar21@gmail.com >
2025-06-08 12:18:01 +09:00
hayanesuru
e2eaa9b746
dump pwt thread
2025-06-07 20:39:59 +09:00
hayanesuru
5e570748a7
Revert "fix pwt thread dead"
...
This reverts commit ffe613e0e9 .
2025-06-07 14:44:37 +09:00
hayanesuru
ffe613e0e9
fix pwt thread dead
2025-06-07 14:33:28 +09:00
Dreeam
c947b7234a
Updated Upstream (Paper/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@4eda045b Backport fix for MC-296337 (Fixes #12617 ) (#12619 )
PaperMC/Paper@7ebc94c2 Add Registry#getTagValues (#12603 )
PaperMC/Paper@e87320d5 Fix UOE when using generateTree with pale oak (#12616 )
PaperMC/Paper@94f29035 Do not blow up accessing unregistered memories from API (Fixes #12618 ) (#12639 )
Purpur Changes:
PurpurMC/Purpur@916df1a8 use the correct item reference for retrieving components, closes #1668
2025-06-07 12:41:49 +08:00
Dreeam
1e7a052aba
[ci skip] Remove patch
2025-06-07 12:17:33 +08:00
Taiyou06
6cd4ebd40d
Paper: Update CraftWorld#getForceLoadedChunks to avoid using getChunkAt
2025-06-06 10:54:30 +02:00
Dreeam
ae1e3e8355
Paper: Optimise CraftWorld#getLoadedChunks
2025-06-06 02:37:29 +08:00
Dreeam
1d30370d7a
[ci skip] Cleanup
2025-06-06 01:28:17 +08:00
Dreeam
6d4a459066
Fix diff
2025-06-06 00:53:10 +08:00
Dreeam
72a8fb8d95
Readd PWT
2025-06-06 00:26:36 +08:00
Dreeam
6d4f048474
Remove old config runAsyncTasksSync
2025-06-05 01:17:39 +08:00
hayanesuru
73cefcf57a
optimize get biome
2025-06-03 18:55:45 +09:00
Dreeam
3d14e36fe8
Readd Leaves protocols
2025-06-03 09:49:56 +08:00
Dreeam
da5610cdc4
Updated Upstream (Paper/Purpur)
...
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@47650100 Improve error messages when PluginRemapper fails to initialize (#12598 )
PaperMC/Paper@6f315356 Add MCUtil#toLocation from Folia
PaperMC/Paper@2ba1675c Replace deprecated Thread#getId usage with Thread#threadId
Purpur Changes:
PurpurMC/Purpur@470df8e7 will this bandaid fix work?
PurpurMC/Purpur@f565bc23 use daemon in github actions workflow
PurpurMC/Purpur@42286249 Updated Upstream (Paper)
PurpurMC/Purpur@fe690f55 Updated Upstream (Paper)
PurpurMC/Purpur@5d3463aa Updated Upstream (Paper)
2025-06-03 07:31:45 +08:00
Dreeam
3b74dc2f21
Merge branch 'ver/1.21.4' into dev/1.21.5
2025-06-03 07:23:43 +08:00