9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2026-01-04 15:41:40 +00:00
Commit Graph

389 Commits

Author SHA1 Message Date
Dreeam
6a47e09cfa Update changes from ver/1.21.4 branch 2025-06-22 12:09:42 +08:00
Dreeam
96c1019e93 Update changes from ver/1.21.4 branch 2025-06-22 10:50:48 +08:00
Dreeam
60539427ff Cleanup patch 2025-06-22 03:15:03 +08:00
hayanesuru
1d067a780a [ci skip] cleanup 2025-06-22 02:37:00 +09:00
hayanesuru
cb21caa1c2 readd some fixes in async target finding 2025-06-22 02:32:39 +09: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
Dreeam
6a52966a75 Backport DC's 1.21.6 update 2025-06-21 04:08:40 +08:00
Taiyou
731950179b Optimize random tick (#359)
* optimize random tick

* rebase

* fix random tick chance check

* add back zero check fix always tick on first tick

* optimize random check

* cleanup

* remove 0 to 2 random on amount chosen

* cleanup

* add queue and reuse block count

* reduce LevelChunkSection#tickingBlocks memory overhead

* Revert "reduce LevelChunkSection#tickingBlocks memory overhead"

This reverts commit 942376481b.

* fix overflow

* [ci skip] rebuild patches

---------

Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-06-18 14:16:33 +09:00
hayanesuru
adb6a645f6 cleanup & remove threshold in async target finding 2025-06-18 14:10:57 +09:00
Taiyou
6d86da82c1 Optimize random tick (#359)
* optimize random tick

* rebase

* fix random tick chance check

* add back zero check fix always tick on first tick

* optimize random check

* cleanup

* remove 0 to 2 random on amount chosen

* cleanup

* add queue and reuse block count

* reduce LevelChunkSection#tickingBlocks memory overhead

* Revert "reduce LevelChunkSection#tickingBlocks memory overhead"

This reverts commit 942376481b.

* fix overflow

* [ci skip] rebuild patches

---------

Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-06-18 13:56:23 +09:00
Dreeam
1cabe0fef5 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
2025-06-18 08:20:06 +08:00
Dreeam
549ee8c09f 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
2025-06-18 01:55:03 +08:00
HaHaWTH
de2562294c Backport AsyncLocator fixes 2025-06-18 06:10:51 +14:00
HaHaWTH
3c9c28f598 Always poll ServerChunkCache tasks on main 2025-06-18 02:30:48 +14:00
HaHaWTH
d38c7b74c9 Remove dead instance checks in AsyncLocator 2025-06-18 00:03:28 +14:00
Dreeam
2c480e477b Fix build & diff 2025-06-17 04:10:37 +08:00
Dreeam
4180f041c1 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
2025-06-17 01:40:12 +08:00
Dreeam
b5943b4869 Apply all 2025-06-17 00:34:04 +08:00
hayanesuru
04543a97f3 cleanup & remove threshold in async target finding 2025-06-16 20:36:16 +09:00
Dreeam
f6b187c99a Apply some 2025-06-16 05:21:05 +08:00
Dreeam
972565c487 Apply purpur patches & all paper server patches 2025-06-16 04:10:19 +08:00
Dreeam
6d58834bca Finish API patches 2025-06-15 08:53:10 +08:00
Dreeam
d7849d0325 Init 1.21.6 2025-06-15 08:13:47 +08:00
Dreeam
81f5783445 Update changes from ver/1.21.4 branch 2025-06-15 03:04:56 +08:00
Dreeam
07f5022110 Fix crash during parsing unknown command message 2025-06-15 02:28:20 +08:00
Dreeam
03c04f0dcc Optimize leaves protocol manager & Fix diff 2025-06-15 00:46:13 +08:00
Creeam
ebd0c5d3ac Fix fake player plugins compatibility (#373) 2025-06-14 23:18:30 +08: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
e485dabd49 Update Remove iterators from Inventory & Move TODOs to 1.21.6 tracking 2025-06-14 04:14:34 +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
HaHaWTH
8e2099e975 Fast BiomeManager seed obfuscation 2025-06-14 04:09:07 +14:00
hayanesuru
4308de7b7f remove Lithium: equipment tracking (#367) 2025-06-13 18:11:40 +09:00
Taiyou06
df7eef099c fix it when it's off too 2025-06-13 09:55:20 +02:00
Taiyou06
71e5da40da Paper: Fix excess slot updates / inventory state id desync 2025-06-11 20:59:22 +02:00
Taiyou06
b26a5063d1 fix citizens requesting treemap from maps 2025-06-11 18:13:19 +02:00
HaHaWTH
4b46ee2fe7 [ci skip] Include Mojira link 2025-06-12 04:52:31 +14:00
Dreeam
0dae985426 [ci skip] Fix 2025-06-11 21:02:33 +08:00
Dreeam
66856d9382 [ci skip] Add missing license notice header 2025-06-11 21:00:48 +08:00
Dreeam
46e876280c [ci skip] Update license information 2025-06-11 20:56:06 +08:00
Dreeam
01b1d66797 Fix Fix some beacon event issues
In 1.21.5, mojang split the `onRemove` logic in `LevelChunk#setBlockState` to 3 steps,
`preRemoveSideEffects`, then remove block entity, then do `affectNeighborsAfterRemoval`.
beacon deactive call event should move to step 1 instead 3, to keep ollow the original fix logic.

Also always call deactive event on everytime beacon gets removed, to follow the Paper's behavior.
2025-06-11 20:05:38 +08:00
Dreeam
6b9b96cb23 [ci skip] Drop useless Reduce entity allocations patch 2025-06-11 19:59:26 +08:00
hayanesuru
d2dc5a0895 remove preload mob spawning position 2025-06-11 12:51:32 +09:00
hayanesuru
6873fde47d [ci skip] cleanup 2025-06-11 11:50:45 +09: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
Dreeam
ccab3256c2 [ci skip] cleanup 2025-06-11 03:59:45 +08:00
Dreeam
b4ad51dbb5 Correct optimize-block-entities config name to keep consistency
Co-Authored-By: Pascalpex <68245106+Pascalpex@users.noreply.github.com>
2025-06-10 12:26:14 +08:00