9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-31 21:06:29 +00:00
Commit Graph

121 Commits

Author SHA1 Message Date
Lumine1909
0749458e61 Improve protocol core behavior 2025-10-08 15:48:39 -07:00
MC_XiaoHei
207626c779 feat: finish jade protocol 2025-10-08 13:46:16 +08:00
MC_XiaoHei
4a164dce4b feat: try to implement jade v9 (WIP) 2025-10-08 13:07:03 +08:00
Lumine1909
57e3a3ccdb Log error on protocol encode & decode fail 2025-10-07 22:02:12 -07:00
MC_XiaoHei
c57fe207dd feat: update to 1.21.10 2025-10-08 10:36:40 +08:00
MC_XiaoHei
8d6817d12f fix: fix extra session service 2025-10-07 20:48:18 +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
1855b074c5 fix: fix i18n again 2025-10-03 09:50:22 +08:00
MC_XiaoHei
11b7c860fe fix: fix i18n 2025-10-02 23:02:43 +08:00
MC_XiaoHei
72bd70267c fix: fix build 2025-10-01 16:17:42 +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
MC_XiaoHei
ce6390c51c fix: stupid me 2025-09-29 22:43:52 +08:00
MC_XiaoHei
1e6866e0a6 Merge branch 'master' into dev/1.21.9 2025-09-28 00:06:57 +08:00
MC_XiaoHei
d907002af0 Do not throw when bot nbt is illegal (#746)
* fix: do not throw when bot nbt illegal

* fix: fix logic and format

* refactor: better format

* refactor: better format

* refactor: better format

* refactor: better format

* refactor: better format
2025-09-27 23:55:13 +08:00
MC_XiaoHei
8ebdcdcbdc fix: fix properties write 2025-09-26 13:28:29 +08:00
MC_XiaoHei
05bc971aa5 feat: pass build 2025-09-26 12:50:55 +08:00
MC_XiaoHei
e0cf524085 feat: fix some error again 2025-09-26 07:07:37 +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
9431e8cde3 feat: fix some error 2025-09-25 17:30:02 +08:00
MC_XiaoHei
60ff1db36d feat: fix some error 2025-09-25 17:21:54 +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
decc9752cb feat: add more features declaration (#732) 2025-09-12 11:41:14 +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
Lumine1909
2915edc2a0 Fix replay api crash with return-nether-portal-fix (#716)
Thank you mojang for set "lastPos" to null instead of the spawning pos.
2025-08-23 02:53:05 -07:00
Lumine1909
3feea8e40a Try to fix replay api crash (#713)
* Try to fix replay api crash

* Revert unnecessary volatile
2025-08-21 18:41:41 -07:00
MC_XiaoHei
13c4e25e4b fix: fix bed easy place (#710) 2025-08-20 16:41:04 +08:00
Helvetica Volubi
f0de3ecd91 refactor: use client side judgement instead of special judgement (#708)
Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
2025-08-19 11:03:58 +08:00
MC_XiaoHei
374605cdbf Fix bot (#705)
* refactor: refactor bot

* fix: fix use

* fix: fix use

* fix: fix
2025-08-19 10:47:44 +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
violetc
122c7365a5 Fix fakeplayer use action 2025-08-16 20:20:02 +08:00
violetc
40af039912 Fix StackableShulker config validator 2025-08-16 19:40:39 +08:00
violetc
aeb8e07d29 Fix fakeplayer break action * 2 2025-08-16 19:08:14 +08:00
violetc
f37e9d3783 Fix fakeplayer break action 2025-08-16 15:32:02 +08:00
MC_XiaoHei
62e6224205 feat: add logger for internal plugin, and format api code (#696) 2025-08-16 14:54:26 +08:00
violetc
3ffbde0b91 Optimize config transfer and remove 2025-08-16 00:22:34 +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
3623aea89c fix: stupid me (#689) 2025-08-14 20:41:20 +08:00
Helvetica Volubi
e55edbf8f8 Resolves #685 (#687)
* fix: fix #685

* chor: remove comments

* wtf the idea

* refactor: use special judgment

maybe temporarily

---------

Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
2025-08-14 20:27:12 +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
Lumine1909
ba8993d381 Fix fakeplayer cant get entity tracker correctly (#676)
* Fix fakeplayer cant get entity tracker correctly

* Remove extra line by mistake

---------

Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
2025-08-11 17:13:32 +08:00
violetc
678d4e20a7 Revert "Fix bot cant get entity tracker (#670)"
叽里咕噜改什么呢改错了
2025-08-10 22:17:39 +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
Lumine1909
08f53c972b Fix bot cant get entity tracker (#670) 2025-08-10 16:55:38 +08:00