9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-29 11:59:24 +00:00
Commit Graph

455 Commits

Author SHA1 Message Date
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
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
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
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
hayanesuru
cdd379f424 fix async tracker deadlock 2025-07-16 15:09:19 +09:00
Dreeam
4dc9f4bebe Re-route SetClosestHomeAsWalkTarget's poi finding to paper's faster logic 2025-07-16 11:18:51 +08:00
Dreeam
5dc1d65ff7 [ci skip] Update patch header 2025-07-16 07:29:39 +08:00
hayanesuru
ea00b11d11 Refactor async entity tracker (#390)
* prevents async entity tracker update equipment

* fix seenBy updated check

* skip submit empty

* fix invertedVisibilityEntities data race

* strict thread check

* set max-threads to 1 by default

* use fixed thread count

* increase thread priority

* Revert "use fixed thread count"

This reverts commit 6746bc25a8.

* Revert "set max-threads to 1 by default"

This reverts commit 5295b6d3e1.

* update entity tracker

* cleanup

* [ci skip] fix phrasing

* cleanup

* cleanup

* support Citizens

* optimize update if chunk player no change

* configurable threads

* configurable no blocking

* fix pos y and z

* optimize no blocking

* cleanup

* cleanup

* add handle during waitUntilNextTick

* fix entity disappear

* cleanup

* disable nonblocking by default

* [ci skip] add entity slice

* impl fork-join

* fix async locator diff

* optimize queue

* inline iterator

* [ci skip] Update patch header

* cleanup

* improve compatibility

* add license header

* optimize spin wait

* remove queue-size option

* dynamic adjust subtasks

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
2025-07-16 02:42:37 +09:00
Dreeam
46825749cd Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@fcfc6c3f Expose HexColor argument type (#12833)
PaperMC/Paper@4000fcc3 Fix typo in PluginBootstrap javadocs (#12821)
PaperMC/Paper@25d358cf [ci/skip] javadoc: Fix grammatical error for getState (#12817)
PaperMC/Paper@ba7c9826 Add missing Range annotations to dialog types
PaperMC/Paper@533d93c7 Don't consume anchor charge if loc changes (#12835)
2025-07-14 00:51:12 +08:00
HaHaWTH
1c63bd73e2 Fix cloud compat 2025-07-14 01:31:14 +14:00
hayanesuru
2f72924ec7 fix MC-298464 2025-07-13 19:40:29 +09:00
Taiyou06
900e035df9 Optimise getEntities with couple simple stuff 2025-07-12 15:43:54 +02:00
Dreeam
ccf2f9c0d2 Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@a9399451 Fixup sendAllDataToRemote calls
PaperMC/Paper@cb47e018 Remove more dead code, fix pre-existing desync when cancelling and closing container
PaperMC/Paper@40764534 Specify the class loader when loading services (#12829)
PaperMC/Paper@1bf6364b Update Mache for horse decompile fix
PaperMC/Paper@76fb5060 Add vanilla error message to precondition for DialogBaseImpl (#12831)

Purpur Changes:
PurpurMC/Purpur@5b26bab8 Updated Upstream (Paper)
PurpurMC/Purpur@8734844b sigh...
PurpurMC/Purpur@09ea9cb9 fix mobs not burning in daylight (#1689)
PurpurMC/Purpur@4d5a8e6e Updated Upstream (Paper)
PurpurMC/Purpur@7dbe4153 Add support for "/chase", a disabled Minecraft command. (#1690)
PurpurMC/Purpur@11c030a8 Updated Upstream (Paper)
2025-07-12 18:14:29 +08:00
Dreeam
af39f5cf5f Fix infinite loop in dismount loc check 2025-07-11 06:22:22 +08:00
Creeam
871e004368 Skip inactive entity for execute functions (#396) 2025-07-11 02:09:28 +08:00
Dreeam
a9c10502d5 Format patch & get fluidstate from blockstate, instead of from level 2025-07-09 06:41:16 +08:00
Dreeam
87c17a40cc Apply default item pickup delay in throwing item for non-villager entity
With Minecraft updates, allay and pligin also have throw item behavior, calling this method.

Needs to keep item pickup delay since they are not villager entity, and also be consistent with vanilla
2025-07-09 04:29:58 +08:00
Dreeam
3c25377465 Drop some unused patches
ClassInstanceMultiMap belongs to Minecraft vanilla entity storage.
And is unused, since replaced by spottedleaf's entity storage (rewrite chunk system).
However these patches might be useful for vanilla entity storage if is used.
2025-07-09 04:20:02 +08:00
Taiyou06
d041342e8a drop ReduceChunkSourceUpdates 2025-07-08 20:28:58 +02:00
hayanesuru
ac6e483e8d fix async mob spawning TRACKED entities not count (#393)
* fix unloaded and TRACKED entities not count

#392

* move to archived
2025-07-08 22:54:12 +09:00
Dreeam
495cc7c0b4 Update Cache FluidOcclusionCacheKey hash
Original BlockStatePairKey is unused, and replaced by spottedleaf's FluidOcclusionCacheKey, so move to there
2025-07-08 04:53:06 +08:00
Dreeam
445186994f [ci skip] Update some patch comments 2025-07-08 00:29:01 +08:00
Dreeam
b095bee8df Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f7d5a0a0 [ci/skip] Add remote build cache configuration through Gradle properties (#12797)
PaperMC/Paper@b4466ec9 Dialog API (#12671)
2025-07-07 22:42:05 +08:00
Dreeam
69c285eb4c [ci skip] cleanup 2025-07-07 03:51:07 +08:00
Dreeam
f2ca28183f Cleanup 2025-07-06 20:08:35 +08:00
Dreeam
1eeda75d3b Fix predict Halloween date check 2025-07-06 18:49:23 +08:00
hayanesuru
ee45897239 fix reduce chunk source updates position check and mark experimental 2025-07-06 00:41:59 +09:00
HaHaWTH
becff2ac20 Fix Paper config fixClimbingBypassingCrammingRule 2025-07-06 00:16:40 +14:00
hayanesuru
7e5b4707ef cleanup 2025-07-05 17:05:54 +09:00
hayanesuru
83f5b0851c fix random value bounds in optimize mob spawning 2025-07-05 05:34:19 +09:00
hayanesuru
a80d2bd374 cancel async target finding when entity removal 2025-07-04 16:11:17 +09:00
hayanesuru
8e2a94a7d2 fix async EndermanAttackPlayerEvent 2025-07-04 15:52:39 +09:00
hayanesuru
b904e81e27 remove capture world in async target finding 2025-07-04 15:52:39 +09:00
hayanesuru
7b8c74e584 fix entity activation data race 2025-07-04 14:20:34 +09:00
hayanesuru
f7f7bb772e fix waypoint check 2025-07-04 03:48:36 +09:00
hayanesuru
eb760fb69c fix player alive check and add optimize despawn 2025-07-04 03:35:33 +09:00