9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-28 03:19:22 +00:00
Commit Graph

74 Commits

Author SHA1 Message Date
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
Lumine1909
a416f476d3 Fix bot use actions (#606) (#605)
* Stupid me

* Fix bot use actions

* clean up

* Update leaves-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAutoAction.java

AND operator always has higher priority than OR operator, this is not "unclear"

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update leaves-server/src/main/java/org/leavesmc/leaves/bot/agent/actions/ServerUseItemAutoAction.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Reuse getEntityHitResult

* No bukkit, yes nms

* Better rayTrace for inside aabb collision

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-23 17:59:31 +08:00
violetc
2f8255bd9e Fix LitematicaEasyPlaceProtocol 2025-07-22 21:23:04 +08:00
Lumine1909
c5ecbe85d2 1.21.7/8 (#587)
---------

Co-authored-by: MC-XiaoHei <xor7xiaohei@gmail.com>
Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
Co-authored-by: Fortern <blueten.ki@gmail.com>
Co-authored-by: Helvetica Volubi <88063803+Suisuroru@users.noreply.github.com>
2025-07-21 21:18:24 +08:00
violetc
cb64df44fa Old Throwable Projectile tick order (#520) 2025-07-01 01:32:30 +08:00
violetc
550dba491b Configurable item damage check and good shear behavior (#559) 2025-07-01 00:20:49 +08:00
violetc
e1c21d3f28 Movable Budding Amethyst bind carpet rule (#561) 2025-06-30 22:52:58 +08:00
violetc
df8397c794 Fix bot invulnerable 2025-06-30 21:44:33 +08:00
MC_XiaoHei
6d76c1f13d Fix unexpected IOE (#582) 2025-06-28 09:26:54 -07:00
violetc
6c07912dd2 Remove Force peaceful mode switch (#265) (#579) 2025-06-26 01:42:03 -07:00
Lumine1909
f33f5feac7 Refactor command system, fix bugs (#573) 2025-06-25 04:52:35 +08:00
Helvetica Volubi
2654bf5390 Fully rewrite I18n support (#545)
* feat: fully rewrite I18n support

support all language from https://minecraft.wiki/w/Language, format: zh_cn ,en_us etc.

* fix:fix up some bugs

* fix:fix up some bugs - 2

* Modify and reformat

* feat: Use URI instead of URL

rename LocalLangUtil to ServerI18nUtil

* feat: add pre-load status

* fix: fix some key name

* ???

* Add finishPreload for fixup

* Fix bugs, use slf4j logger

* feat: add I18n Leaves support

* fix

* move up

* tiny patch

* fix up logs

* refactor:fix up format

* feat: use version flag from server

---------

Co-authored-by: Lumine1909 <133463833+Lumine1909@users.noreply.github.com>
2025-06-24 11:29:11 -07:00
Lumine1909
911ec9b971 Fix Carpet protocol (#552) 2025-06-18 10:34:54 -07:00
Lumine1909
093b9290c7 Fix protocol bugs (#537)
* Fix stupid protocol bug with for loop

* Fix tick freeze in jade and etc.

* Try to fix syncmatica

* Try to fix servux entity and build

* Go away LMS!

* Remove config

* Formatting

* Add ticker interval
2025-06-16 20:17:05 +08:00
Lumine1909
9d32c5bd3d Fix protocols (#534)
* Try to fix LMS

* Fix jade empty ender chest

* Remove useless code
2025-06-06 14:55:18 +08:00
violetc
59856751ab Configurable trading with the void 2025-06-06 12:31:56 +08:00
violetc
73bd42af2e Remove fast resume, mojang added it 2025-06-06 02:24:57 +08:00
Lumine1909
f09fbb247d 1.21.5 (#470)
---------

Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
Co-authored-by: Fortern <blueten.ki@gmail.com>
Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com>
Co-authored-by: Helvetica Volubi <88063803+Suisuroru@users.noreply.github.com>
Co-authored-by: MC_XiaoHei <xiaohei.xor7@outlook.com>
2025-06-05 18:41:51 +08:00
Helvetica Volubi
fa69061879 Raid revert - old FindSpawnPosition (#475) (#461) 2025-05-03 11:50:07 +08:00
Lumine1909
015eccb661 Try to fix #472 (#474)
* Try to fix #472

* Fix carried data not sent

* Restore deletion of Hopper
2025-04-28 04:55:40 -04:00
violetc
1997ad9da6 Fix easy place make CoralFans waterlogged 2025-04-22 18:22:39 +08:00
wzp
359e1be5e6 Support Servux Litematics protocol (#448)
---------

Co-authored-by: Lumine1909 <133463833+Lumine1909@users.noreply.github.com>
Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com>
2025-04-22 17:53:02 +08:00