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

95 Commits

Author SHA1 Message Date
MC_XiaoHei
463e408b0d feat: neo command 2025-08-22 09:54:53 +08: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
Lumine1909
293273498b Fix #667 (#668) 2025-08-09 23:47:07 -07:00
MC_XiaoHei
e047327cbb fix: fix bot use raytrace (#669)
* fix: fix bot use raytrace

* chore: refactor
2025-08-09 23:42:22 -07:00
MC_XiaoHei
956f0227af feat: add skipTripwireHookPlacementValidation to mc-technical-mode, and format config (#664) 2025-08-08 20:15: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
MC_XiaoHei
3c09044e86 fix: fix grindstone curse book overstacking(#658) (#659)
* fix: fix grindstone curse book overstacking

* fix: remove unused import
2025-08-06 10:59:44 +08:00
MC_XiaoHei
c29ff9a824 feat: swap action (#657) 2025-08-05 20:33:07 +08:00
Lumine1909
12f665c066 Refactor actions (#650)
* Refactor actions

* Fix some bugs

* Update master and modify mount action

* Clean up and make me happy

* Make sy_h(doge) happy

---------

Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
2025-08-05 19:56:57 +08:00
MC_XiaoHei
230e0987a9 feat: mount action(#619) (#649)
* feat: mount action(#619)

* fix: fix comment

* feat: optimize performance

* fix: update manhattanDistance method to use precise coordinates

* refactor: remove canAddPassengerPublic

* refactor: remove single method

* fix: rebuild patches

* fix: rebuild patches

* fix: rebuild patches

* fix: rebuild patches

* fix: remove ???
2025-08-04 21:12:15 +08:00
MC_XiaoHei
ea91106ae5 fix: fix hopper counter config (#646)
* fix: fix hopper counter config

* fix: stupid me
2025-08-02 15:17:51 +08:00
MC_XiaoHei
8d9a5b2f1b [ci skip]chore: rename hopper counter enable config (#644) 2025-08-01 22:00:24 +08:00
MC_XiaoHei
e5aba7eb5c feat: hopper counter unlimited speed(#625) (#639)
* feat: hopper counter unlimited speed

* fix: fix checkout err

* fix: fix comment

* chore: format
2025-08-01 13:41:00 +08:00
Lumine1909
04dac366f8 Fix vanilla display name (#638)
* Fix vanilla display name

* Fix and update
2025-08-01 13:24:26 +08:00
MC_XiaoHei
610eee60ef fix: fix bot resume CME (#635) 2025-07-31 18:19:18 +08:00
MC_XiaoHei
08bfa446a5 Lithium Sleeping Block Entity(#618) (#630)
* feat: try to impl Lithium Sleeping Block Entity

* feat: add sleepingBlockEntity config

* chore: update branch

* fix: lock sleepingBlockEntity config to expect hot update

* chore: format code

* chore: format code

* fix: unapplied mixin
2025-07-31 14:29:34 +08:00
violetc
c581f1311e Some fix, and clear 2025-07-31 12:47:50 +08:00
Lumine1909
4c4712d330 Fix endermite spawn (#632)
* Fix

* Remove location instance
2025-07-30 21:18:05 -07:00
violetc
e68eb3fe98 Chat command max length 2025-07-30 18:00:20 +08:00
Lumine1909
cadc126902 Fix replay api and add null check in botlist (#627)
* Fix replay api and add null check in botlist

* Update botlist fix

* Fix bugs

* All done!

* Clean up
2025-07-29 06:03:18 -07:00
Lumine1909
6a2b9ee6b3 Fix long config (#617) 2025-07-26 04:59:10 -07:00
MC_XiaoHei
eb3d87b8aa feat: finish MOVE_ITEM_NEW_PACKET, fix rei protocol packet transformer (#615) 2025-07-26 10:15:40 +08:00
Helvetica Volubi
c245ee6734 Remove a useless patch (#614) 2025-07-26 01:43:52 +08:00
Lumine1909
46cccfc39c Fix #609 & #612, add maxNbt in litematics, improve protocol invoker (#611)
* Fix #609, add maxNbt in litematics, improve protocol invoker

* Add long validator

* Go away inf check

* Fix #612
2025-07-25 07:18:45 -07:00
violetc
357a03dfe5 Fix LitematicaEasyPlaceProtocol * 2 2025-07-25 10:47:18 +08:00
violetc
aaa2323d60 Fix Syncmatica file name 2025-07-24 16:56:01 +08:00
MC_XiaoHei
bfde470a86 fix: revert Configurable-collision-behavior patch (#607)
Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
2025-07-23 04:05:32 -07:00