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

635 Commits

Author SHA1 Message Date
𝑩𝒊𝒒𝒖𝒂𝒕𝒆𝒓𝒏𝒊𝒐𝒏𝒔
ac774bb511 Added back getHighestBlockYAt validation in CraftWorld (#444) 2025-08-03 20:04:21 +03:00
Taiyou06
8f101e696c couple small changes on the custom NonNullList 2025-08-02 13:53:06 +02:00
hayanesuru
290b140776 fix npe in tickChunks 2025-08-02 02:39:44 +09:00
hayanesuru
106af6dc38 [ci skip] fix build 2025-08-02 02:19:44 +09:00
Dreeam
a476b12f33 [ci skip] Change to new lithium repo 2025-08-01 19:11:33 +08:00
Overwrite987
4f89f61d9f Do not try to create fire if explosion was cancelled (#433)
* Do not create fire if explosion was cancelled

* [ci/skip] Cleanup
2025-07-31 14:45:28 +08:00
Dreeam
6686e0f507 Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@9c12d296 Update Paper
LeavesMC/Leaves@357a03df Fix LitematicaEasyPlaceProtocol * 2
LeavesMC/Leaves@46cccfc3 Fix #609 & #612, add maxNbt in litematics, improve protocol invoker (#611)
LeavesMC/Leaves@c245ee67 Remove a useless patch (#614)
LeavesMC/Leaves@eb3d87b8 feat: finish MOVE_ITEM_NEW_PACKET, fix rei protocol packet transformer (#615)
LeavesMC/Leaves@6a2b9ee6 Fix long config (#617)
LeavesMC/Leaves@2c9f83c7 fix: fix a bug in redstoneShearsWrench (#621)
LeavesMC/Leaves@9cba2ea2 Fix #622 (#624)
LeavesMC/Leaves@1242a2a6 Update Paper and Leavesclip
LeavesMC/Leaves@cadc1269 Fix replay api and add null check in botlist (#627)
LeavesMC/Leaves@e68eb3fe Chat command max length
LeavesMC/Leaves@4c4712d3 Fix endermite spawn (#632)
LeavesMC/Leaves@c581f131 Some fix, and clear
2025-07-31 14:21:26 +08:00
Dreeam
9ba16f36ed Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@4d44b5fd Remove @Experimental annotation from the org.bukkit.damage package (#12898)
PaperMC/Paper@4f79e9ee [ci/skip] no need to ever import non-library files ever again (#12765)
PaperMC/Paper@a4da45e3 Fix typo in give command (#12905)
PaperMC/Paper@ec9c83fa Adventure 4.24.0 (#12908)
PaperMC/Paper@0c8efe4d [ci/skip] Remove redundant adventure version specification
PaperMC/Paper@ed31825a HIDE_ADDITIONAL_TOOLTIP backwards compat. not hiding disc names (#12900)
2025-07-31 14:04:29 +08:00
Dreeam
1f7afdaf1f [ci skip] Cleanup 2025-07-31 12:20:39 +08:00
Taiyou
276ca064a0 have safer dab blacklist by default (#436) 2025-07-31 01:57:12 +08:00
Dreeam
5a8e28b04b [ci skip] Cleanup 2025-07-28 21:42:16 +08:00
Dreeam
4d814b60d2 Cleanup 2025-07-28 20:58:25 +08:00
Taiyou
cc6f1d672a Custom NonNullList (#425)
* Custom NonNullList

* minimize diff

* cleanup and fixes

* silly

* bit more

* martjin the goat
2025-07-27 21:35:28 +03:00
Dreeam
3268a57db8 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@6bb9dc6b Normalize and trim spaces in Player#performCommand (#12892)
PaperMC/Paper@840dd9e1 Fix dialog preconditions (#12895)
PaperMC/Paper@9ccc51df Fix legacy pearls forgetting owner on disconnect (#12884)
PaperMC/Paper@57c13137 Allow to change despawnInPeaceful (#12880)
PaperMC/Paper@a5763618  Add WorldDifficultyChangeEvent (#12471)
PaperMC/Paper@dbc367ba Keep non-container slots synced when in container view (#12881)
2025-07-27 16:36:16 +08:00
hayanesuru
cb4da1a644 cleanup 2025-07-27 17:06:01 +09:00
Overwrite987
b43bda8fb7 Optimise TextColor (#411)
* Create 0278-Optimise-TextColor.patch

* update patch for the new requirements

* fix patch number and save 0.5 ns

* [ci/skip] cleanup
2025-07-27 15:44:33 +08:00
hayanesuru
ab1bdc7c38 fix build 2025-07-27 13:28:22 +09:00
hayanesuru
107d616ff2 optimize MpmcQueue memory layout (#427)
* optimize MpmcQueue memory layout

fix share cache line

* move to tail
2025-07-27 13:14:03 +09:00
Dreeam
deec3e5d37 [ci skip] cleanup 2025-07-27 10:10:18 +08:00
hayanesuru
2f8499fb3c fix async tracker cause player velocity not updated (#432)
* fix async tracker player velocity not updated

* fix velocity packet not send to self
2025-07-27 04:56:11 +09:00
𝑩𝒊𝒒𝒖𝒂𝒕𝒆𝒓𝒏𝒊𝒐𝒏𝒔
42caad5a46 Simplified AsyncPath (#423)
* Some improvements for Async Path

* Fix small race condition, thx to @MartijnMuijsers

* This @Nullable is from an old implementation and no longer required
2025-07-26 19:31:11 +03:00
Dreeam
fd2f6e6bef Update AsteorBarProtocol to adapt Leaves's protocol manager update
Fixes https://github.com/Winds-Studio/Leaf/issues/430
2025-07-26 17:50:41 +08:00
hayanesuru
3e48b67319 fix async target finding entity headbang (#424)
closes #417
2025-07-26 01:05:41 +09:00
hayanesuru
49d29920a5 Revert "Optimize async pathfinding (#418)"
This reverts commit 9f5f764e7d.
2025-07-25 12:36:13 +09:00
Dreeam
ffa437b4aa Update reduce array allocations 2025-07-25 10:22:55 +08:00
Taiyou
006fe7ce3a rewritten profile cache (#415)
* rewritten profile cache

* cleanup

* Fix build

* Update comments
2025-07-25 04:48:54 +08:00
Dreeam
3b9d8feb03 Updated Upstream (Paper/Purpur/Leaves)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@a5f2f614 Fix offhand item desync on cancelling interact events (#12828)
PaperMC/Paper@10318775 [ci/skip] Update mache for codebook 1.0.15 (#12887)

Purpur Changes:
PurpurMC/Purpur@c4e5604c Updated Upstream (Paper)
PurpurMC/Purpur@c130b18e Updated Upstream (Paper)
PurpurMC/Purpur@60bdf1c7 Final Paper Upstream
PurpurMC/Purpur@a39c4cb0 Updated Upstream (Paper)
PurpurMC/Purpur@ea7b18ab Updated Upstream (Paper)
PurpurMC/Purpur@0f82c210 Updated Upstream (Paper)
PurpurMC/Purpur@8de15d66 this is important for the build to not fail..
PurpurMC/Purpur@5053eb0c use a different method for dropping lapis, closes #1692

Leaves Changes:
LeavesMC/Leaves@df8397c7 Fix bot invulnerable
LeavesMC/Leaves@e1c21d3f Movable Budding Amethyst bind carpet rule (#561)
LeavesMC/Leaves@550dba49 Configurable item damage check and good shear behavior (#559)
LeavesMC/Leaves@cb64df44 Old Throwable Projectile tick order (#520)
LeavesMC/Leaves@b5793e80 Fix bot infinity desync (#584)
LeavesMC/Leaves@c5ecbe85 1.21.7/8 (#587)
LeavesMC/Leaves@5497dfb4 Fix CI
LeavesMC/Leaves@2f8255bd Fix LitematicaEasyPlaceProtocol
LeavesMC/Leaves@a416f476 Fix bot use actions (#606) (#605)
LeavesMC/Leaves@bfde470a fix: revert Configurable-collision-behavior patch (#607)
LeavesMC/Leaves@aaa2323d Fix Syncmatica file name
2025-07-24 20:18:23 +08:00
hayanesuru
e3edba1bdc [ci skip] typo MpmcQueue header 2025-07-24 01:11:12 +09:00
hayanesuru
80108127c3 fix shutdown 2025-07-23 18:14:11 +09:00
HaHaWTH
6f552d491e Correctly shutdown AsyncLocator 2025-07-23 17:30:26 +14:00
HaHaWTH
d50f8985fa Temporarily drop function execution result caching 2025-07-23 16:50:28 +14:00
hayanesuru
574f49304e fix bundle packet too large (#419)
restore to vanilla behavior
bundle delimiter packet used to ensure handle multiply packet in same tick (client side)
handle all packets together is unnecessarily
2025-07-23 10:42:37 +09:00
Taiyou06
394402fb64 op lock for stinky plugins 2025-07-22 23:19:27 +02:00
Taiyou
847cafc34d fix async pathfind bees in raid (#422) 2025-07-22 21:49:07 +03:00
Taiyou
9f5f764e7d Optimize async pathfinding (#418)
* reduce async pathfinding cpu impact

* revert batch handling

* requests

* forgot this

* cant read for cry out loud 😭
2025-07-22 18:50:20 +03:00
hayanesuru
182623f020 fix ender dragon check despawn 2025-07-22 21:30:14 +09:00
Taiyou06
0bddec33f8 fix rabbit randompath 2025-07-22 12:24:21 +02:00
hayanesuru
d2ec1cf133 fix incorrect nature spawnable chunk count compute 2025-07-22 03:23:47 +09:00
Dreeam
84990204ee Fix build 2025-07-21 08:35:48 +08:00
Dreeam
cb403fe2cd Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@1f93f566 [ci/skip] Improve getPotentialBedLocation deprecation (#12857)
PaperMC/Paper@6fb36e34 Replace compileOnly with implementation for test visibility (#12841)
PaperMC/Paper@aa4ef067 Update DataConverter constants for 1.21.8
PaperMC/Paper@f7c59f91 Fix broken resource pack API when configured in configuration stage (#12866)
PaperMC/Paper@0dad7f15 Add Bee#set/getTimeSinceSting() methods (#12792)
PaperMC/Paper@782ce950 Allow forcing break effects when using breakNaturally (#12734)
PaperMC/Paper@a2d37f12 Remove invalid team colors nicely (#12874)
PaperMC/Paper@617e5a46 Update to configurate 4.2.0 (#12869)
PaperMC/Paper@602ea9f0 Restore previous PlayerToggleSneakEvent behaviour (#12815)
PaperMC/Paper@c8a8c0ef feat(plugin): make Plugin extend Namespaced (#12867)
2025-07-21 08:29:33 +08:00
Taiyou06
f31e24cd93 making jvm happy 2025-07-21 00:35:18 +02:00
hayanesuru
e32588174c optimize entity despawn (#409)
* Reapply "optimize despawn (#399)"

This reverts commit 7992f91631.

* log FMA and Vector API

* axis order XYZ to XZY

* cleanup

* fix pivot at offset + median not included & fix simd min mask
2025-07-21 00:46:34 +09:00
Taiyou06
6dbab430f5 thanks Martijn 2025-07-20 16:59:33 +02:00
Taiyou
25d70c5800 optimize checkInsideBlocks calls (#408) 2025-07-20 17:16:47 +03:00
hayanesuru
7992f91631 Revert "optimize despawn (#399)"
This reverts commit 3e109078ae.
2025-07-20 09:13:25 +09:00
hayanesuru
3e109078ae optimize despawn (#399)
* optimize despawn

* set LEAF_THRESHOLD to 4

* cleanup

* SIMD

* cleanup

* typo

* Depth-first search

* update optimize mob despawn

* cleanup

* optimize despawn map
2025-07-20 09:06:36 +09:00
hayanesuru
fb4067a731 fix BehaviorControlArraySet#equals 2025-07-20 04:56:58 +09:00
hayanesuru
dbfd54780a cleanup 2025-07-19 23:03:54 +09:00
hayanesuru
bdb5f4586c optimize brain collections 2025-07-19 22:48:59 +09:00
Taiyou06
22a714c058 rewrite InsideBrownianWalk 2025-07-19 12:11:02 +02:00