9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

154 Commits

Author SHA1 Message Date
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
d9f7afc4b2 fix: fix sleeping block entity(#654) (#655)
* fix: fix sleeping block entity

* fix: fix comment
2025-08-05 09:59:05 +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
81da0c5e83 [ci skip] Bring back LivingEntity effect CME (#648) 2025-08-02 14:58:19 +08:00
MC_XiaoHei
cc019e8f4c [ci skip] feat: add Bukkit.getFeatureManager api (#645) 2025-08-02 14:53:13 +08:00
MC_XiaoHei
8d9a5b2f1b [ci skip]chore: rename hopper counter enable config (#644) 2025-08-01 22:00:24 +08:00
MC_XiaoHei
cb6cd65886 [ci skip] chore: fix patch header 2025-08-01 16:01:29 +08:00
MC_XiaoHei
5d653e319b fix: fix faster chunk serialization patch (#641)
* fix: fix faster chunk serialization patch

* fix: fix patch license

* fix: fix patch, config

* fix: fix patch, config

* fix: fix patch author and licnese
2025-08-01 15:29:30 +08:00
MC_XiaoHei
e44e469a47 fix: fix SleepingBlockEntity crash when /tick freeze (#640)
* fix: fix SleepingBlockEntity crash when /tick freeze

* feat: faster
2025-08-01 14:00:30 +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
violetc
1242a2a66c Update Paper and Leavesclip 2025-07-29 01:23:13 +08:00
Lumine1909
9cba2ea20f Fix #622 (#624) 2025-07-28 18:21:28 +08:00
Helvetica Volubi
2c9f83c7b9 fix: fix a bug in redstoneShearsWrench (#621) 2025-07-27 04:59:40 -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
9c12d2960a Update Paper 2025-07-24 21:13:00 +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
Lumine1909
b5793e809b Fix bot infinity desync (#584) 2025-07-01 13:21:12 +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
3187d77f57 Fix IAE update suppression crash (#581) 2025-06-28 20:42:41 -07:00
MC_XiaoHei
6d76c1f13d Fix unexpected IOE (#582) 2025-06-28 09:26:54 -07:00
Helvetica Volubi
2dcf9f8509 Fix spawnInvulnerableTime (#583) 2025-06-27 16:21:01 -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