9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-04 15:41:31 +00:00
Commit Graph

112 Commits

Author SHA1 Message Date
MC_XiaoHei
c57fe207dd feat: update to 1.21.10 2025-10-08 10:36:40 +08:00
Helvetica Volubi
e25d885bd5 Modify merge ItemEntity logic, update paper & gradle (#754)
* update paper & gradle

* Modify merge ItemEntity logic

Add followTickSequenceMerge to modify merge items, due to Paper's modification of the merge radius, when the merge radius is large and stacks containing many items get stuck in an unexpected position, individual items may never reach their destination. This configuration option is added to fix this behavior.

* add comments
2025-10-03 21:43:11 +08:00
MC_XiaoHei
62a9100b67 feat: rebuild patches 2025-10-03 09:43:31 +08:00
MC_XiaoHei
ab2d39340e Merge branch 'master' into dev/1.21.10 2025-10-03 09:40:30 +08:00
MC_XiaoHei
20b91d844c feat: update to 1.21.10-rc1 2025-10-03 09:35:07 +08:00
MC_XiaoHei
03a78c7df4 feat: update paper 2025-10-02 22:55:56 +08:00
violetc
5083948ac0 Update Update Paper 2025-10-01 19:26:02 +08:00
violetc
5974eea292 Update Paper 2025-10-01 18:23:33 +08:00
MC_XiaoHei
7d3dad94c9 feat: new command system (#714)
* feat: neo command

* feat: add action part

* fix: fix bot action command

* feat: finish perms system, fix bugs

* feat: add bot config command

* feat: switch to new bot command

* fix: fix suppress annotation

* feat: add bot remove, fix stupid me

* feat: add show all config

* feat: finish leaves command

* refactor: refactor command

* refactor: remove unused check

* refactor: refactor

* fix: fix logic

* refactor: format

* fix: fix msg

* refactor: better msg

* feat: custom bot action

* feat: rename patch

* fix: fix bot command register

* refactor: format & refactor code

* Some format

* refactor: refactor config and action

* refactor: use paper command api

* refactor: use paper command api

* feat: use raycasting in mount action

* feat: try to impl custom

* Revert "feat: try to impl custom"

This reverts commit b658777341.

* chore: format

---------

Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
2025-10-01 16:10:56 +08:00
Fortern
9ecdfe1e64 Do not check NaN values in entities (#742) (#749) 2025-10-01 15:53:56 +08:00
MC_XiaoHei
89a73db117 feat: remove temp buildable patch 2025-09-28 09:45:17 +08:00
MC_XiaoHei
0f09ac7004 feat: update paper 2025-09-27 11:47:11 +08:00
MC_XiaoHei
f06bfa762e feat: update to 1.21.9-rc1 2025-09-26 13:18:53 +08:00
MC_XiaoHei
05bc971aa5 feat: pass build 2025-09-26 12:50:55 +08:00
MC_XiaoHei
def2249b48 feat: fix some error 2025-09-25 23:17:53 +08:00
MC_XiaoHei
b428557020 feat: fix some error 2025-09-25 23:00:48 +08:00
MC_XiaoHei
f1ec2a51cf feat: fix some error 2025-09-25 17:40:23 +08:00
MC_XiaoHei
60ff1db36d feat: fix some error 2025-09-25 17:21:54 +08:00
MC_XiaoHei
dfd1125354 feat: temp merge 2025-09-25 16:26:07 +08:00
MC_XiaoHei
c3b0b6dff7 feat: temp merge 2025-09-25 15:54:57 +08:00
MC_XiaoHei
4ade1001e4 Lithium Equipment Tracking (#736)
* feat: merge leaf patch to us

* fix: pass build and fix comment

* feat: make it configurable
2025-09-23 12:55:04 +08:00
MC_XiaoHei
adb02a59cc fix: remove debug output (#740) 2025-09-18 22:38:58 +08:00
MC_XiaoHei
9c8a2fc79b fix: fix hopper event (#739)
* fix: fix hopper event

* fix: fix events

* fix: fix comment
2025-09-18 10:03:56 +08:00
MC_XiaoHei
a82724fc3c Update mc technical mode (#734) 2025-09-12 23:23:02 +08:00
violetc
074f57b54d Update Paper 2025-09-06 23:30:16 +08:00
Helvetica Volubi
ff184c1da6 Modify end void rings generation (#722)
* Modify end void rings generation

* move to fix

* fix up

---------

Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
2025-08-31 11:55:49 +08:00
MC_XiaoHei
b16a74c694 feat: remove some features(#724) (#725)
* feat: remove some features(#724)

* feat: remove some features(#724)

* merge master

* fix
2025-08-31 11:37:55 +08:00
MC_XiaoHei
ec71a2bda2 fix: fix sleeping block entity (#723) 2025-08-27 16:26:39 +08:00
violetc
513768c965 Merge Paper#11831 (#695) 2025-08-24 11:42:38 +08:00
violetc
13651b1120 Update Paper 2025-08-24 11:25:01 +08:00
violetc
0ad976f6b5 Update Paper, and not pre 2025-08-20 16:50:33 +08:00
Lumine1909
ff563baf82 Fix creative no clip can attract xp-orb (#706)
Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
2025-08-19 10:55:02 +08:00
MC_XiaoHei
0f40159c34 Enhance update suppression (#701)
* feat: enhance update suppression

* fix: fix nest exception, better print

* fix: bot update suppression catch

* chore: format

* feat: better performance

* fix: fix build err

* refactor

* fix: throw IAE when call not from net.minecraft

* format: use jbr annotation

* fix: fix comment pos

* chore: format

* fix: fix comment

* feat: add stacktrace to event
2025-08-18 19:31:26 +08:00
Lumine1909
4b21a9687f New shears wrench (#700) 2025-08-16 23:36:08 +08:00
violetc
a30c9abbc4 Remove, and opt config and config command 2025-08-16 22:08:16 +08:00
MC_XiaoHei
0ee8078482 fix: fix photographer bugs (#699)
Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
2025-08-16 20:35:37 +08:00
violetc
122c7365a5 Fix fakeplayer use action 2025-08-16 20:20:02 +08:00
violetc
aeb8e07d29 Fix fakeplayer break action * 2 2025-08-16 19:08:14 +08:00
violetc
7179028625 Fix optimize noise generation 2025-08-15 14:53:25 +08:00
Lumine1909
d87bc544d5 Fix #690 (#691)
* Fix #690

* Clean up

* Remove useless check

* 1 long line

* Reformat
2025-08-14 21:46:54 +08:00
MC_XiaoHei
bb5a1dfff0 [ci skip] fix: fix comment (#692)
* fix: fix comment

* refactor: format code
2025-08-14 21:00:22 +08:00
MC_XiaoHei
a591ec57ee Do not tick Arrow life regardless (#688)
* Do not tick Arrow life regardless

* fix: fix comment

---------

Co-authored-by: Lumine1909 <133463833+Lumine1909@users.noreply.github.com>
2025-08-14 20:34:39 +08:00
Lumine1909
5366b38230 Fix creative no clip with projectile (#683)
* Fix creative no clip with projectile

* Don't check again

* fix comment

---------

Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
2025-08-14 20:15:57 +08:00
MC_XiaoHei
bf55b2a4f5 fix: fix sleeping block entity bug (#682)
* fix: fix sleeping block entity bug

* fix: remove unused vars

* chore: replace var
2025-08-14 05:10:58 -07:00
MC_XiaoHei
d93e9766d3 feat: merge old raid config, fix bugs (#680) 2025-08-12 21:52:25 +08:00
MC_XiaoHei
e298d0978a [ci skip] fix: fix patch name (#672) 2025-08-10 22:25:05 +08:00
MC_XiaoHei
d094bdadd4 fix: fix raid(#626) (#671) 2025-08-10 18:21:04 +08:00
MC_XiaoHei
e0d62b4ed3 fix photographer bugs (#666)
* fix: fix server query contains photographer

* fix: fix scoreboard tracking contains photographer

* fix: fix photographer

* Fix #665-2

* Fix #665-5

* Fix #665-6

---------

Co-authored-by: Lumine1909 <133463833+Lumine1909@users.noreply.github.com>
2025-08-10 17:02:32 +08:00
MC_XiaoHei
0c8662816d Bot Improvements (#661)
* refactor: redesign bot use action

* fix: fix happy ghost and horse control

* fix: fix bot control boat

* fix: fix bot control vehicle

* fix: fix bot boat falling

* fix: fix comment and inline some vars

* fix: fix format and migrate use action nbt data
2025-08-08 19:45:23 +08:00
Lumine1909
e05f3f7c6a Update paper, revert #632 (#662) 2025-08-07 19:07:13 -07:00