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

219 Commits

Author SHA1 Message Date
Dreeam
1d30370d7a [ci skip] Cleanup 2025-06-06 01:28:17 +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
Dreeam
74bc79d408 Cleanup sentry 2025-06-04 23:53:53 +08:00
hayanesuru
672000867b cleanup 2025-06-05 00:22:17 +09:00
hayanesuru
5ad9ec1b59 move shutdown executor 2025-06-04 22:09:41 +09:00
hayanesuru
9d6e3ae5ff preload mob spawning position 2025-06-04 21:34:07 +09:00
hayanesuru
e32cdae1bf update default config value 2025-06-04 01:22:23 +09:00
hayanesuru
2cd4838b7e shutdown mob spawning thread on exit 2025-06-04 00:39:42 +09:00
hayanesuru
8e48e51e76 add config 2025-06-03 22:38:15 +09:00
hayanesuru
347ef03d5f remove unused KineticDamage config 2025-06-03 15:29:00 +09:00
Dreeam
eadaf2c19d Fix AsteorBar protocol 2025-06-03 10:02:42 +08:00
Dreeam
3d14e36fe8 Readd Leaves protocols 2025-06-03 09:49:56 +08:00
Dreeam
3b74dc2f21 Merge branch 'ver/1.21.4' into dev/1.21.5 2025-06-03 07:23:43 +08:00
Dreeam
12711630d4 Use Leaf config logger 2025-06-03 01:46:26 +08:00
Taiyou
bec3d4c63b Async Data Read for Parallel World Ticking (#333)
* initial

* improve compat further

* cleanup and shit

* more cleanup

* rebase :3

* increase task queue size

* [ci skip] rebuild patches

* Optimise BlockEntity tickersInLevel

* rebase

* [ci skip] cleanup

* cleanup

* cleanup

* clear the buffer at shutdown

---------

Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-06-02 20:18:29 +03:00
Dreeam
607c4f801a Apply some 2025-05-31 23:35:17 +08:00
hayanesuru
a33f10a17a fix attribute crash server 2025-05-31 17:59:41 +09:00
Dreeam
31c42a45b6 Use correct way to resolve all world config path
Fixes https://github.com/Winds-Studio/Leaf/issues/342
supersedes https://github.com/Winds-Studio/Leaf/pull/344
2025-05-29 17:41:47 +08:00
hayanesuru
df1d62bed9 MultithreadedTracker add lock to AttributeMap and TrackedChunk 2025-05-29 12:57:33 +09:00
hayanesuru
2ed7bde9fc Revert "don't use the result when hasn't set waker"
This reverts commit 3e50c4fa8c.
2025-05-28 11:02:45 +09:00
Dreeam
42a2c8d2f6 Cleanup version fetcher 2025-05-28 01:19:57 +08:00
Dreeam
0a650c3c20 Cleanup & fix version fetcher 2025-05-28 01:11:22 +08:00
HaHaWTH
c1297d728e Remove redundant full-qualified name & Higher priority for async tasks 2025-05-27 04:05:52 +14:00
hayanesuru
519ddbf58b remove SendChanges type cast 2025-05-26 19:46:57 +09:00
hayanesuru
3e50c4fa8c don't use the result when hasn't set waker 2025-05-26 18:43:13 +09:00
hayanesuru
c8f0a78d75 low freq poll 2025-05-26 18:41:08 +09:00
Dreeam
59d350d50f Move packages 2025-05-26 15:14:38 +08:00
Dreeam
f253f8163b Add back Rail Optimization: optimized PoweredRailBlock logic 2025-05-26 14:12:49 +08:00
Dreeam
5ddabb083e Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@88a3a870 Configurable xp orb merge group count (#12503)
PaperMC/Paper@53d1d04e Disable Item Obfuscation for entity related stacks (#12297)
PaperMC/Paper@c98cd658 Add configuration interface to expose certain config values (#12273)
PaperMC/Paper@42a2a6c2 Supports the ability for commands to be registered internally (#12520)
PaperMC/Paper@753cff7c Improvements for Dump paper commands (#12512)
PaperMC/Paper@e2da5d2f Registry API for supported Mob Variants (#12417)
PaperMC/Paper@ab0253fe Expand PlayerDeathEvent API (#12221)
PaperMC/Paper@cbcf75a5 Update visual fire handling with TriState support (#12303)
PaperMC/Paper@6c3964d2 Properly save level data async (#12530)
PaperMC/Paper@d2ad2e66 Add missing EntityLookup#getAllMapped from Moonrise
PaperMC/Paper@358e72ec Remove simplify remote item matching stuff for now
PaperMC/Paper@04ffca0b Also remove CraftPlayer methods
PaperMC/Paper@a2525819 Update mache
PaperMC/Paper@d683970d Add FishHookStateChangeEvent (#12165)
PaperMC/Paper@369ad170 Cached tag parser for itemstack reading (#12547)
PaperMC/Paper@841d6342 Fix ItemStack#addUnsafeEnchantment ignored for missing enchantment component (#12549)
PaperMC/Paper@c000b352 fix(bukkit-brig-forwarding-map): Invert isEmpty method (#12555)
PaperMC/Paper@28d7df75 Backport HeroesOfTheVillage datafixer fix
PaperMC/Paper@f1dbed07 Implement BlocksAttack DamageReduction and ItemDamage (#12538)
PaperMC/Paper@cc38032b Deprecate TeleportCause CHORUS_FRUIT for CONSUMABLE_EFFECT (#12546)
PaperMC/Paper@35878677 [ci/skip] Fix format and mentions for ItemDamageFunction (#12560)
PaperMC/Paper@7171d299 [ci/skip] Mention CAN_PLACE/CAN_BREAK component in ItemMeta (#12559)
PaperMC/Paper@6f73e62e Add getPickItemStack (#12552)
PaperMC/Paper@ce0fa4c4 Replace old version command with brigadier equivalent (#12502)
PaperMC/Paper@fa360aa8 Add some missing annotations and an incorrect one (#12204)
PaperMC/Paper@113b18ee Update paperweight and Gradle wrapper (#12573)
PaperMC/Paper@f303a076 fix: Don't hardcode checks for translation registries (#12571)
PaperMC/Paper@87349c31 Fix CombatTracker stale on death (#12562)
PaperMC/Paper@b70bca6b Revert "fix: Don't hardcode checks for translation registries (#12571)"

Purpur Changes:
PurpurMC/Purpur@93011bc1 Add configuration setting to re-add End void rings (#1656)
PurpurMC/Purpur@c2f48591 [ci/skip] only set default world config values once
PurpurMC/Purpur@6f5bbae5 [ci/skip] move some code around
PurpurMC/Purpur@5c1a9835 fix issue with `shift-right-click-repairs-mending-points`
PurpurMC/Purpur@3156e446 check damage value of tool correctly
PurpurMC/Purpur@a9fe4f25 Updated Upstream (Paper)
PurpurMC/Purpur@9d0aa8eb Updated Upstream (Paper)
PurpurMC/Purpur@603c7557 Updated Upstream (Paper)
PurpurMC/Purpur@eca78060 Updated Upstream (Paper)
PurpurMC/Purpur@e4e9cfdf Updated Upstream (Paper)
PurpurMC/Purpur@3de2fc7d Updated Upstream (Paper)
PurpurMC/Purpur@09f547de add `mob-griefing-override` config options (#1661)
PurpurMC/Purpur@1dd9bd0c Updated Upstream (Paper)
PurpurMC/Purpur@7a8aa86a finish updating gradle
PurpurMC/Purpur@fd78b90f bandaid fix: increase the daemon heap for now
2025-05-24 22:06:41 +08:00
Dreeam
2d1c044de6 Update changes from ver/1.21.4 branch 2025-05-24 19:35:20 +08:00
hayanesuru
2deb6989f2 Revert "optimize GoalSelector update order"
This reverts commit 1c6aa60769.
2025-05-23 23:54:41 +09:00
Taiyou06
577ed2650e add ignoreSpawnRules to SpawnerSettings 2025-05-23 15:16:39 +02:00
hayanesuru
1c6aa60769 optimize GoalSelector update order 2025-05-23 15:57:30 +09:00
hayanesuru
727a0827bc remove MultithreadedTracker lambda 2025-05-23 00:03:39 +09:00
LingXD
e5da1b1038 Optimize isEyeInFluid (#327)
* Optimize isEyeInFluid

* Remove accidental formatting

* Fix code removed by oblivion

* Optimize isEyeInFluid

* Update after rebase
2025-05-21 18:54:32 +03:00
Dreeam
efc2a39479 [ci skip] Cleanup 2025-05-21 18:30:32 +08:00
hayanesuru
6e33899f1c cleanup 2025-05-20 22:16:49 +09:00
Taiyou06
69f1f0d43b if it works dont fix it 2025-05-19 18:07:37 +02:00
hayanesuru
ff9e4f506b optimize tracker (#323)
* optimize tracker

* optimize scaledRange

* cleanup

* fix loop

* fix loop

* optimize AttributeMap

* optimize TrackedEntity#seenBy

* revert packDirty

* cleanup
2025-05-17 15:10:27 +03:00
Dreeam
a56de1a3b0 [ci skip] cleanup
stage 2
2025-05-15 21:56:01 -04:00
adabugra
b1e7469480 Add configurable death item drop knockback (#326)
* feat: add configurable death item drop knockback settings

* Add config option xd
2025-05-16 01:30:59 +03:00
Dreeam
2a72c42863 [ci skip] cleanup
stage 1
2025-05-15 00:00:06 -04:00
𝑩𝒊𝒒𝒖𝒂𝒕𝒆𝒓𝒏𝒊𝒐𝒏𝒔
a8e39fa9bc Prevent overriding spark flags (#322)
* Prevent overriding spark flags

* Null check
2025-05-14 22:41:28 -04:00
hayanesuru
c940bde695 optimize async target finding 2025-05-15 10:50:38 +09:00
Taiyou06
7691e546c2 HashedReferenceList on WeightedRandomList 2025-05-13 22:22:21 +02:00
hayanesuru
63edc90be8 fix async-target-finding 2025-05-14 01:00:14 +09:00
hayanesuru
0bdfeeb528 temp disable async-target-finding 2025-05-13 20:31:12 +09:00
Dreeam
e01facb2a3 Update Configurable unknown command message patch to follow the vanilla
* Add <message> to be more configurable
* Fix for custom brigadier exception message #319
2025-05-13 05:20:20 -04:00
Dreeam
af016b1178 Temp fix
Will fix soon when I have time
2025-05-11 17:54:56 -04:00