9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00
Commit Graph

99 Commits

Author SHA1 Message Date
Dreeam
0912dd341c Update Leaf 1.21.7 2025-07-01 17:53:06 +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
a87c3ecba3 [ci skip] Add RainYun ad 2025-06-18 02:18:50 +08:00
Dreeam
e9a24c833d Update changes from ver/1.21.4 branch 2025-06-14 03:34:46 +08:00
Dreeam
46e876280c [ci skip] Update license information 2025-06-11 20:56:06 +08:00
Dreeam
ca56147d0f Update changes from ver/1.21.4 branch 2025-06-11 05:20:38 +08:00
Dreeam
985513a2f7 [ci skip] Improve grammar for README CN
Co-Authored-By: YuanYuanOwO <81153017+YuanYuanOwO@users.noreply.github.com>
2025-06-09 23:23:36 +08:00
Dreeam
48c39c3570 Cache direction values
micro opt
2025-06-09 07:39:27 +08:00
Dreeam
08e1802690 [ci skip] Add README CN 2025-06-09 05:16:07 +08:00
Dreeam
5bcf0f9400 [ci skip] Update README.md & Gradle 2025-06-09 05:09:48 +08:00
Dragin
950be3d8cd [ci skip] Fix grammatical issues in README.md (#351)
* Fix grammatical issues in README.md
2025-06-06 07:43:59 +08:00
Dreeam
ff110e539d Update changes from ver/1.21.4 branch 2025-05-03 07:55:50 -04:00
Dreeam
1431eff510 [ci skip] cleanup 2025-05-03 07:50:33 -04:00
Taiyou06
445df88770 few Sakura patches 2025-05-01 23:22:30 +02:00
sh1kcs
8fe6d13765 [ci skip] Update docs links (#305)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2025-05-01 17:49:50 +03:00
Dreeam
4103e3f226 Fix build 2025-04-18 08:59:17 -04:00
Dreeam
2fe143b468 Init 1.21.5 setup 2025-03-26 11:19:18 -04:00
Taiyou
45cce1260e [ci skip] Update README about moonrise 2025-03-13 03:27:20 +03:00
Kaan D.
c4b9d82924 [ci skip] Update README.md 2025-02-09 15:06:39 +03:00
Dreeam
18508592a3 [ci skip] Fix typo 2025-02-08 14:04:23 -05:00
Dreeam
e2117eaa3f [ci skip] Update funding option 2025-02-08 13:58:30 -05:00
Dreeam
07b7aebd80 [ci skip] cleanup 2025-01-23 05:54:25 -05:00
Dreeam
ed1cdcd19d Leaf 1.21.4
WIP
2025-01-17 19:54:25 -05:00
Creeam
9b6d4c133d Add Leaf docs to readme (#201)
* [ci skip] Add doc badge

* [ci skip] Documentation section
2025-01-18 10:30:48 -05:00
Dreeam
72bd6442ed API patches done 2024-12-13 01:54:34 -05:00
Kaan D.
714cb8a9cf [ci skip] Update README.md (#177) 2024-11-30 16:54:13 -05:00
Dreeam
b158b02e63 [ci skip] Remove PandaSpigot from credits
Since the configurable knockback is WIP, or maybe directly removed in the future
2024-11-28 15:52:52 -05:00
Dreeam
e9f5738e97 [ci skip] Reorder patches 2024-11-10 17:34:53 -05:00
Kaan D.
cca144f3c7 Added some optimizations (#154)
* DivineMC - Lithium: Early checks for LivingEntity#updateSwingTime and updateFallFlying

* C2ME-Reduce-Allocations

* Lithium-fast-util

* Lithium-CompactSineLUT

* Compact-SineLUT

* some lithium patches

* Create 0141-Use-MCUtil.asyncExecutor-for-MAIN_WORKER_EXECUTOR.patch

* Fix tick function & Better inline world height

* improve the clamp logic by 1.2x

* Remove imports on IterateOutwardsCache

* Remove imports from 141

* Rename getCachedOrNewBits to CachedOrNewBitsGetter

* Remove thread instanceof checks

---------

Co-authored-by: kidofcubes <kidofcubes@gmail.com>
2024-11-09 12:51:27 -05:00
Kaan D.
d357853cbc [ci skip] Update README.md (#132)
removed the "for chinese only" text since afdian accepts paypal and stripe now.
2024-10-21 21:53:24 -04:00
Dreeam
fb95f9ed07 Moonrise: Avoid streams for block retrieval in Entity#move 2024-10-20 14:01:56 -04:00
Dreeam
8c986599c9 [ci skip] Remove tiny feature descriptions in feature section 2024-10-16 12:58:16 -04:00
Dreeam
9c4df142cf [ci skip] Correct description in credit section 2024-10-16 12:55:22 -04:00
Dreeam
356b3b42be [ci skip] Update upstream Gale repo link to my fork repo of Gale 2024-09-20 22:33:46 -04:00
Dreeam
c5edeac381 Change to new QQ group 2024-09-10 19:50:26 -04:00
Dreeam
43fae827ad Add Mutltithreaded Tracker & Async playerdata saving (#109)
* init Multithreaded Tracker

* Rebase & Clean up

* Some clean up

* Some work

* Checked some petal issues

* Fix tracker

* Unify thread name again

* Nitori: Async playerdata Save

* Rebase

* Fix Citizens player type NPC tracking issue (WIP)

Temporary move sendChanges to off-main only. This can fix Citizens's player type NPC visible issue. But still working on making updatePlayer async too, since it also takes big part of performance, and also need to be compat with Citizens.

* Drop useless patch

* Adjust comments

* Optimize tracker, batch processing sendChanges tasks

* Clean up and fix

* Rebase

* Partial update player asynchronously & Fix citizens player type NPC visual issue

This made async tracker compat with CItizens, but still need to further optimize

* Optimize and update config

* Fix realPlayer detect condition & Made more async & Update patch comment

* Add compat mode for tracker

By isolating Citizens compat logic into compat mode, it can gain more performance if Citizens is not installed.

* Update comment
2024-09-06 13:44:53 -04:00
Dreeam
143e40279a Remove useless Event TriState async API 2024-09-03 15:27:31 -04:00
Dreeam
aad915a149 1.21.1 2024-08-11 20:24:46 +08:00
Dreeam
f3b9b961db [ci skip] Clean up 2024-08-09 20:42:32 +08:00
Dreeam
098c822e0b [ci skip] Add donate method 2024-08-09 20:38:25 +08:00
Dreeam
0bae9452af Publish API 2024-07-17 01:30:22 +08:00
Dreeam
4a06d00973 Refactor: Leaf Config v3 (#81)
* 1

* 2

* 3

* 4

* 5

* 6

* 7

* Change contact info in config

* Add contact info for QQ group

* Add more detailed explanation for configurable connection message config

* Fix comments grammar issues

* Purge old or outdated config on load config

* Clean up
2024-07-12 01:34:15 +08:00
Kobe ⑧
cd9e5b8deb Readd Linear region file format (#74)
* Linear region file format
2024-06-30 13:03:04 +08:00
Dreeam
1cbc007739 Updated API patches to 1.21 2024-06-17 13:00:35 +08:00
Dreeam
ef4878e62e [ci skip] Add WIP donation in README.md 2024-05-24 21:13:48 +08:00
Dreeam
28d9a1f3a8 [ci skip] Update API publish work 2024-05-07 09:04:40 -04:00
Dreeam
e703cd5445 Update 1.20.6 (#49)
* Update Leaf API patches to 1.20.5

* Updated Upstream (Purpur API)

* Some server patches work

* Update 1.20.6

* Some server patches work

* Some some server patches work

* 0oO0oO0oOo

* iI1IiI1i|!il|

* Updated Upstream (Gale/Purpur)

* Server patches work

* Updated Upstream (Gale)
2024-05-01 12:08:20 -04:00
Dreeam
4572974133 [ci skip] Add YourKit 2024-04-25 20:47:51 -04:00
Dreeam
3327fb69cc Updated Upstream (Gale/Purpur/Dependencies) 2024-04-17 04:01:05 -04:00
Dreeam
2ae1941317 [ci skip] Fold fork links to make view of Credits section better 2024-04-15 06:13:29 -04:00