9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 18:39:23 +00:00
Commit Graph

655 Commits

Author SHA1 Message Date
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
Dreeam
532da4bc41 [ci skip] Add TODO 2024-09-30 07:11:05 -04:00
Dreeam
600723edc3 Fix shulker box contents drop when destroyed 2024-09-30 06:27:24 -04:00
Dreeam
850adae00c Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f9c7f2a Begin switching to JSpecify annotations (#11448)
PaperMC/Paper@e3c8a8e Add PlayerInsertLecternBookEvent [1.20 port] (#7305)
PaperMC/Paper@b410fe8 Configurable per-world void damage offset/damage(#11436)
PaperMC/Paper@ea00be3 Do not NPE on uuid resolution in player profile (#11449)
PaperMC/Paper@ba3c29b Finish converting all events to jspecify annotations

Gale Changes:
Dreeam-qwq/Gale@51fb9cd Updated Upstream (Paper)
Dreeam-qwq/Gale@7f08ee6 Updated Upstream (Paper)
2024-09-30 06:23:20 -04:00
Dreeam
9a99f8f649 Build 2024-09-29 11:40:02 -04:00
Dreeam
72d744bf48 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@41bc31b Update paperweight to 1.7.3 (#11445)
PaperMC/Paper@e17eb6b Improve entity effect API (#11444)
PaperMC/Paper@7b03141 Add startingBrewTime (#11406)
PaperMC/Paper@355b1cb Add API for explosions to damage the explosion cause (#11180)
PaperMC/Paper@6d7a438 Call bucket events for cauldrons (#7486)

Gale Changes:
Dreeam-qwq/Gale@2c4cde4 Updated Upstream (Paper)
Dreeam-qwq/Gale@d4d81da [ci skip] Update paperweight
2024-09-29 11:39:11 -04:00
Dreeam
e860fce788 Try to fix mutlithreaded tracker NoSuchElement in broadcast attribute packets 2024-09-28 11:26:37 -04:00
Dreeam
1b8cb4f747 Clean up change max stack count 2024-09-28 11:23:20 -04:00
Dreeam
5e82c7c7fc Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@20ec622 use correct types for preloading CraftRegistry
PaperMC/Paper@627cc64 Adjust HAProxy's existance to log for console masters (#11433)
PaperMC/Paper@01c4820 Call EntityDropItemEvent when a container item drops its contents (#11441)
PaperMC/Paper@9c76642 Deprecate for removal Block#isValidTool (#11439)
PaperMC/Paper@dd6d184 Remove redundant fillUsableCommands call (#11425)
PaperMC/Paper@f33611c fix ItemStack#removeEnchantments creating non-stackable items (#11442)
PaperMC/Paper@8f56db8 Add enchantWithLevels with tag specification (#11438)
PaperMC/Paper@b7ab22d Fix console completions on invalid commands (#7603)
PaperMC/Paper@41bc31b Update paperweight to 1.7.3 (#11445)

Gale Changes:
Dreeam-qwq/Gale@0f495ae Updated Upstream (Paper)
2024-09-28 11:17:28 -04:00
Dreeam
b414b0152c Add Leaf legacy config backup notification 2024-09-28 10:37:59 -04:00