9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-27 10:59:16 +00:00
Commit Graph

664 Commits

Author SHA1 Message Date
HaHaWTH
c4d5c6ef20 Fix AsyncLocator 2024-10-26 05:18:09 +08:00
Kobe ⑧
d97082ee10 Merge branch 'Winds-Studio:ver/1.21.1' into ver/1.21.1 2024-10-26 05:17:30 +08:00
Kobe ⑧
1d6dd2e6de Optimize Brain (#136) 2024-10-25 14:52:58 -04:00
HaHaWTH
ad27520a6e Optimize Brain 2024-10-26 02:42:45 +08:00
Kobe ⑧
9dd0026f4c Async locator & Virtual thread for chat executor & Fix potential array out of bound in tracker (#134)
* Fix MC-177381

* Asynchronous locator

* Add patch origin

* Extend TickThread

* Ensure event is called on server thread

* default to false

* Async locator for eye of ender

* Virtual thread for chat executor

* Remove import

* Cleanup patch

* Fix dolphin treasure finding

* move

* Fix potential ArrayIndexOutOfBoundsException

* Format patch
2024-10-25 14:34:00 -04:00
Dreeam
98dab127fd Revert action releases change 2024-10-23 07:41:43 -04:00
Dreeam
bda25ccf14 Update workflow 2024-10-22 22:56:28 -04:00
Dreeam
cdb90c11d6 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@7616822 Update workflow
2024-10-22 22:55:50 -04:00
Dreeam
f56dc061d3 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@755a775 [ci skip] rebuild patches
PaperMC/Paper@3b9db2b Updated Upstream (Bukkit/CraftBukkit) (#11501)
PaperMC/Paper@c13f9fd Fix potential annotation testing interruption (#11460)
PaperMC/Paper@260c3bb Always send Banner patterns to the client (#11506)
PaperMC/Paper@14a48cd Some small touchups to the GUI (#11505)
PaperMC/Paper@d348cb8 Restrict BlockProjectileSource#launchProjectile

Gale Changes:
Dreeam-qwq/Gale@e893e3d Updated Upstream (Paper)
2024-10-22 22:05:12 -04:00
Kobe ⑧
09fa2d6a0f Cache blockstate cache (#133)
* Cache blockstate cache

* rename
2024-10-22 08:19:08 -04:00
Dreeam
ad4499267d Skip if failed publish 2024-10-22 02:41:24 -04:00
Dreeam
a5ddca9838 Remove areChunksLoaded check to avoid double get chunk
In `moonrise$areChunksLoaded`, it pre loop chunks in range and do fullchunk.get calls to check if the chunk is loaded. But get chunk calls are expensive, then I moved the check in the following loop to prevent double call it.

can be around 1 to 2 more faster in test (8192 stacked minecarts with 1min spark profiling).
2024-10-22 00:33:03 -04:00
Dreeam
31026f4fda Forget to add return 2024-10-22 00:26:22 -04: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
Kobe ⑧
5b0251fde8 Cleanup ChatImage protocol support & Further reduce worldgen allocation (#131)
* Cleanup protocol comment & Reduce worldgen allocations

* Cleanup protocol
2024-10-21 15:44:41 -04:00
Kobe ⑧
e324f59a03 Enhanced sentry dsn (#130) 2024-10-21 13:57:46 -04:00
Dreeam
520d6fae40 Added Optimized nearby alive players for spawning 2024-10-20 14:03:25 -04:00
Dreeam
6f4031c988 Reduce object complexity to make block isValid calls more efficient 2024-10-20 14:03:06 -04:00
Dreeam
f6a7007600 Added optimized trial spawner ticking 2024-10-20 14:02:48 -04:00
Dreeam
fb95f9ed07 Moonrise: Avoid streams for block retrieval in Entity#move 2024-10-20 14:01:56 -04:00
Dreeam
f890915133 Moonrise: Optimise checkInsideBlocks 2024-10-20 14:01:07 -04:00
Dreeam
743c6f7c38 Moonrise: Add direct lookup by chunk for NearbyPlayers 2024-10-20 14:00:52 -04:00
Dreeam
1828dd7918 Moonrise: Optimise BiomeManager#getFiddle 2024-10-20 14:00:44 -04:00
Dreeam
ffd9b8c817 Moonrise: Store ticking blocks in chunk sections as positions only 2024-10-20 14:00:35 -04:00
Dreeam
8097beeef7 Moonrise: Optimize nearby players for spawning iteration 2024-10-20 14:00:24 -04:00
Dreeam
2bb96e7084 [ci skip] Drop Optimize check nearby fire or lava on entity move 2024-10-20 14:00:07 -04:00
Dreeam
de8900295f [ci skip] Remove some unapplied patches
The implementations of these patches are not appropriated or useless
2024-10-19 02:43:54 -04:00
Dreeam
97323064a9 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@5fffc5e Updated Upstream (Paper)
2024-10-18 01:41:22 +00:00
Dreeam
959e6324dd Remove stream and double iteration in enough deep sleeping player check 2024-10-17 01:53:03 -04:00
Dreeam
1fb19fc1e7 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@aebbdc9 Add proper async player disconnections

Gale Changes:
Dreeam-qwq/Gale@de0aa14 Updated Upstream (Paper)
2024-10-17 01:34:32 -04:00
Dreeam
9df5b5f72c Format patch 2024-10-16 17:07:20 -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
1f7276dbb7 Able to fully customize unknown command message 2024-10-13 02:13:54 -04:00
Dreeam
397c82bc86 Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@57c75a4 Fix CraftMagicNumbers#getTag (#11484)
PaperMC/Paper@b16c0ae Add offline PDC API (#8117)
PaperMC/Paper@4430e96 Add AnvilView#bypassEnchantmentLevelRestriction (#11475)

Gale Changes:
Dreeam-qwq/Gale@d6c9313 Updated Upstream (Paper)
Dreeam-qwq/Gale@a235416 Added notification when executed perf command

Purpur Changes:
PurpurMC/Purpur@4565f41 these options should be off by default
PurpurMC/Purpur@4671e1e show a message stating the removal of mojang profiler when running perf comamnd, closes #1591
PurpurMC/Purpur@e12a4de Updated Upstream (Paper)
2024-10-12 23:27:28 -04:00
Dreeam
dfcae93fa7 Able to show verified icon on client if No Chat Report installed and message signature disabled 2024-10-12 12:15:21 -04:00
Dreeam
b7a090e828 Added both minecraft:example and example format of entity type support for dab blacklist 2024-10-12 10:38:29 -04:00
Dreeam
3e45fc81a8 Update logger in Pufferfish patches 2024-10-12 10:12:03 -04:00
Dreeam
cca44728e7 Don't leave virtual threads in async scheduler thread pool 2024-10-12 09:50:56 -04:00
Dreeam
eadbbc2349 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@7829acf Updated Upstream (Paper)
2024-10-10 01:41:22 +00:00
Dreeam
b4dbddae1b Use new ThreadPoolExecutor to create executor of VT scheduler
This probably can avoid high CPU usage when executing plugin's high frequency tasks
2024-10-08 12:08:57 -04:00
Dreeam
bc80a3e56c Disable async playerdata save temporarily
Async playerdata save may have issue in some strange circumstances
2024-10-07 09:20:21 -04:00
Dreeam
44487f5c61 Disable multithreaded tracker by default
To avoid useless reports from plugin related issue. You should enable it by yourself
2024-10-07 09:19:15 -04:00
Dreeam
25e7236e67 [ci skip] Update en bug report issue template to be same as cn bug report template 2024-10-07 08:33:23 -04:00
Dreeam
3eb14107c3 Add TODO 2024-10-05 12:34:49 -04:00
Dreeam
387edb77c1 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@be61a07 Updated Upstream (Paper)
PurpurMC/Purpur@f154903 Updated Upstream (Paper)
PurpurMC/Purpur@0fa9a50 Updated Upstream (Paper)
PurpurMC/Purpur@d7a7c91 Updated Upstream (Paper)
PurpurMC/Purpur@20fa61e Updated Upstream (Paper)
PurpurMC/Purpur@501e7c5 Updated Upstream (Paper)
PurpurMC/Purpur@2a50638 Updated Upstream (Paper)
PurpurMC/Purpur@639bcbd Updated Upstream (Paper)
PurpurMC/Purpur@bcf8103 remove obsolete allowUnsafeEnchants config option
PurpurMC/Purpur@51f15ee fully remove obsolete allowUnsafeEnchants config option
PurpurMC/Purpur@3d0716d Fix colored shulker box contents not dropping when destroyed, supercedes #1594
PurpurMC/Purpur@12e2926 [ci skip] drop old migration patch
PurpurMC/Purpur@212c942 delegate itemstack convenience methods
PurpurMC/Purpur@2eaea6a switch to JSpecify annotations
2024-10-05 12:25:41 -04:00
Dreeam
f15d5c5cef Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@e7e1ab5 Finish converting most of the undeprecated api to jspecify
PaperMC/Paper@69ffbec Fix hex color check
PaperMC/Paper@709f0f2 Use components properly in ProfileWhitelistVerifyEvent (#11456)
PaperMC/Paper@fb76840 [ci skip] Add section on nullability annotations (#11461)
PaperMC/Paper@7cd4f2c Check if leash tag has a uuid

Gale Changes:
Dreeam-qwq/Gale@c81a4b5 Updated Upstream (Paper)
Dreeam-qwq/Gale@da78f95 Updated Upstream (Paper)
Dreeam-qwq/Gale@c8d1f9b Updated Upstream (Paper)
2024-10-04 19:36:14 -04:00
Dreeam
e01d4bb3c9 [ci skip] Configurable LibraryLoader maven repos 2024-10-04 19:34:41 -04:00
Dreeam
5face05cc3 [ci skip] Cleanup replay mod api 2024-10-04 19:33:59 -04:00
Dreeam
6ffcb57cd2 Fix duplicate mark map decorations dirty 2024-10-02 13:50:14 -04:00