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

896 Commits

Author SHA1 Message Date
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>
1.21.8-86-12f665c
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
1.21.8-85-d9f7afc
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 ???
1.21.8-84-230e098
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
1.21.8-83-ea91106
2025-08-02 15:17:51 +08:00
MC_XiaoHei
81da0c5e83 [ci skip] Bring back LivingEntity effect CME (#648) 1.21.8-83-81da0c5 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) 1.21.4-82-b04ebcb 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
1.21.8-81-5d653e3
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
1.21.8-80-e44e469
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
1.21.8-79-e5aba7e
2025-08-01 13:41:00 +08:00
Lumine1909
04dac366f8 Fix vanilla display name (#638)
* Fix vanilla display name

* Fix and update
1.21.8-78-04dac36
2025-08-01 13:24:26 +08:00
MC_XiaoHei
610eee60ef fix: fix bot resume CME (#635) 1.21.8-77-610eee6 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
1.21.8-76-08bfa44
2025-07-31 14:29:34 +08:00
violetc
c581f1311e Some fix, and clear 1.21.8-75-c581f13 2025-07-31 12:47:50 +08:00
Lumine1909
4c4712d330 Fix endermite spawn (#632)
* Fix

* Remove location instance
1.21.8-74-4c4712d
2025-07-30 21:18:05 -07:00
violetc
e68eb3fe98 Chat command max length 1.21.8-73-e68eb3f 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
1.21.8-72-cadc126
2025-07-29 06:03:18 -07:00
violetc
1242a2a66c Update Paper and Leavesclip 1.21.8-71-1242a2a 2025-07-29 01:23:13 +08:00
Lumine1909
9cba2ea20f Fix #622 (#624) 1.21.8-70-9cba2ea 2025-07-28 18:21:28 +08:00
Helvetica Volubi
2c9f83c7b9 fix: fix a bug in redstoneShearsWrench (#621) 1.21.8-69-2c9f83c 2025-07-27 04:59:40 -07:00
Lumine1909
6a2b9ee6b3 Fix long config (#617) 1.21.8-68-6a2b9ee 2025-07-26 04:59:10 -07:00
MC_XiaoHei
eb3d87b8aa feat: finish MOVE_ITEM_NEW_PACKET, fix rei protocol packet transformer (#615) 1.21.8-67-eb3d87b 2025-07-26 10:15:40 +08:00
Helvetica Volubi
c245ee6734 Remove a useless patch (#614) 1.21.8-66-c245ee6 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
1.21.8-65-46cccfc
2025-07-25 07:18:45 -07:00
violetc
357a03dfe5 Fix LitematicaEasyPlaceProtocol * 2 1.21.8-64-357a03d 2025-07-25 10:47:18 +08:00
violetc
9c12d2960a Update Paper 1.21.8-63-9c12d29 2025-07-24 21:13:00 +08:00
violetc
aaa2323d60 Fix Syncmatica file name 1.21.8-62-aaa2323 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>
1.21.8-61-bfde470
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>
1.21.8-60-a416f47
2025-07-23 17:59:31 +08:00
violetc
2f8255bd9e Fix LitematicaEasyPlaceProtocol 1.21.8-59-2f8255b 2025-07-22 21:23:04 +08:00
violetc
5497dfb4b5 Fix CI 1.21.8-58-5497dfb 2025-07-21 21:53:52 +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) 1.21.5-57-b5793e8 2025-07-01 13:21:12 +08:00
violetc
cb64df44fa Old Throwable Projectile tick order (#520) 1.21.5-56-cb64df4 2025-07-01 01:32:30 +08:00
violetc
550dba491b Configurable item damage check and good shear behavior (#559) 1.21.5-55-550dba4 2025-07-01 00:20:49 +08:00
violetc
e1c21d3f28 Movable Budding Amethyst bind carpet rule (#561) 1.21.5-54-e1c21d3 2025-06-30 22:52:58 +08:00
violetc
df8397c794 Fix bot invulnerable 1.21.5-53-df8397c 2025-06-30 21:44:33 +08:00
MC_XiaoHei
3187d77f57 Fix IAE update suppression crash (#581) 1.21.5-52-3187d77 2025-06-28 20:42:41 -07:00
MC_XiaoHei
6d76c1f13d Fix unexpected IOE (#582) 1.21.5-51-6d76c1f 2025-06-28 09:26:54 -07:00
Helvetica Volubi
2dcf9f8509 Fix spawnInvulnerableTime (#583) 1.21.5-50-2dcf9f8 2025-06-27 16:21:01 -07:00
violetc
6c07912dd2 Remove Force peaceful mode switch (#265) (#579) 1.21.5-49-6c07912 2025-06-26 01:42:03 -07:00
Lumine1909
f33f5feac7 Refactor command system, fix bugs (#573) 1.21.5-48-f33f5fe 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>
1.21.5-47-2654bf5
2025-06-24 11:29:11 -07:00
Lumine1909
911ec9b971 Fix Carpet protocol (#552) 1.21.5-46-911ec9b 2025-06-18 10:34:54 -07:00
Fortern
852184c106 Vanilla Fluid Pushing (#547) (#551) 1.21.5-45-852184c 2025-06-18 10:18:26 -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
1.21.5-44-093b929
2025-06-16 20:17:05 +08:00
Creeam
8615b2f4ca Recheck for null before handling player join (#550) 1.21.5-43-8615b2f 2025-06-15 12:36:19 +08:00
Lumine1909
e3b0cf4a3d Fix tripwire with end platform (#542)
* Fix tripwire with end platform

Co-authored-by: Helvetica Volubi <suisuroru@blue-millennium.fun>

* update

---------

Co-authored-by: Helvetica Volubi <suisuroru@blue-millennium.fun>
1.21.5-42-e3b0cf4
2025-06-13 16:11:09 +08:00
Lumine1909
9d32c5bd3d Fix protocols (#534)
* Try to fix LMS

* Fix jade empty ender chest

* Remove useless code
1.21.5-41-9d32c5b
2025-06-06 14:55:18 +08:00