Baritone
<p align="center">
<a href="https://github.com/cabaletta/baritone/releases/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/eb210024-ccb5-4f79-bfc2-1a54db59679f.svg" alt="GitHub 所有版本"/></a>
</p>
<p align="center">
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/b28bb31f-d974-49f5-bff5-fb4ffad3020a.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/48e72c8c-f41d-4df1-936f-fda7925e9073.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/709fd8d8-9166-41e2-931f-e039e9df31f1.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/eac3e743-7edd-48a9-a723-922bbeca14e0.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/203af966-1001-42b9-bf23-7deb95217c48.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/4d677881-7231-4338-b40d-051b49e23c7f.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/74f2ea3a-c8eb-4eaa-964b-fab5153dbdfc.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/fb88f30f-0596-4850-9f7a-56b8d6d73d05.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/494a2a02-fbf9-416c-a79b-7ccb9d51882f.svg" alt="Minecraft"/></a>
<a href="#Baritone"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/29ee4ab4-6616-4c90-98e8-d97eea42bd3e.svg" alt="Minecraft"/></a>
</p>
<p align="center">
<a href="https://travis-ci.com/cabaletta/baritone/"><img src="https://travis-ci.com/cabaletta/baritone.svg?branch=master" alt="构建状态"/></a>
<a href="https://github.com/cabaletta/baritone/releases/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/961a332f-9b11-4abe-9e9b-3b13a1a5a4c6.svg" alt="发布"/></a>
<a href="LICENSE"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/34239094-bab4-43ea-aa7e-126104849260.svg" alt="许可证"/></a>
<a href="https://www.codacy.com/gh/cabaletta/baritone/dashboard?utm_source=github.com&utm_medium=referral&utm_content=cabaletta/baritone&utm_campaign=Badge_Grade"><img src="https://app.codacy.com/project/badge/Grade/cadab857dab049438b6e28b3cfc5570e" alt="Codacy 徽章"/></a>
<a href="https://github.com/cabaletta/baritone/blob/master/CODE_OF_CONDUCT.md"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/e57e5e43-632a-4be1-a292-995437d4cba3.svg?style=flat" alt="行为准则"/></a>
<a href="https://snyk.io/test/github/cabaletta/baritone?targetFile=build.gradle"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/42cc37f8-b419-44f1-989f-ab41632cdb2b.svg?targetFile=build.gradle" alt="已知漏洞"/></a>
<a href="https://github.com/cabaletta/baritone/issues/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/96da3353-fe42-4a3f-a14c-4de83a0f7047.svg?style=flat" alt="欢迎贡献"/></a>
<a href="https://github.com/cabaletta/baritone/issues/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/a4149cb1-188d-4b3b-8901-41e7a1f6bc4d.svg" alt="问题"/></a>
<a href="https://github.com/cabaletta/baritone/issues?q=is%3Aissue+is%3Aclosed"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/68aad5b1-0728-4235-8c01-3c32f605e7aa.svg" alt="GitHub 已关闭的问题"/></a>
<a href="https://github.com/cabaletta/baritone/pulls/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/ad38e0a6-7a85-4a11-ac25-5fdaeedb8465.svg" alt="拉取请求"/></a>
<a href="https://github.com/cabaletta/baritone/graphs/contributors/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/97ba41f6-98b7-4b65-bd8f-6c5e0f912ac3.svg" alt="GitHub 贡献者"/></a>
<a href="https://github.com/cabaletta/baritone/commit/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/865c523d-4e38-4fdd-8251-99e288aee5a8.svg" alt="GitHub 提交"/></a>
<img src="https://yellow-cdn.veclightyear.com/ab5030c0/c58b3b3d-0b3a-4418-81d2-7e0b69972b42.svg" alt="代码大小"/>
<img src="https://yellow-cdn.veclightyear.com/ab5030c0/53c7e79c-cd90-41ff-9644-7f641319ab0f.svg" alt="GitHub 仓库大小"/>
<img src="https://tokei.rs/b1/github/cabaletta/baritone?category=code&style=flat" alt="代码行数"/>
<img src="https://yellow-cdn.veclightyear.com/ab5030c0/427e7d00-d65a-41f0-9c40-73219dc1fc3c.svg" alt="是"/>
</p>
<p align="center">
<a href="https://impactclient.net/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/79879c68-c386-4203-9381-bf422bef46af.svg" alt="Impact 集成"/></a>
<a href="https://github.com/lambda-client/lambda"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/0592ed74-f92a-45d5-bf76-71ad090783ed.svg" alt="Lambda 集成"/></a>
<a href="https://github.com/fr1kin/ForgeHax/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/89f748ad-09d7-4423-ba8b-db43cb682cd4.svg" alt="ForgeHax 集成"/></a>
<a href="https://aristois.net/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/f918168a-bc20-4899-92b8-529802c3cdc1.svg" alt="Aristois 附加集成"/></a>
<a href="https://rootnet.dev/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/e9c9159a-f60d-439b-b202-f242bd397240.svg" alt="rootNET 集成"/></a>
<a href="https://futureclient.net/"><img src="https://img.shields.io/badge/Future%20integration-v1.2.12%20%2F%20v1.3.6%20%2F%20v1.4.4-red" alt="Future 集成"/></a>
<a href="https://rusherhack.org/"><img src="https://img.shields.io/badge/RusherHack%20integration-v1.2.14-green" alt="RusherHack 集成"/></a>
</p>
<p align="center">
<a href="http://forthebadge.com/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/cecd1aff-1b40-4167-8aab-81751c710929.svg" alt="forthebadge"/></a>
<a href="http://forthebadge.com/"><img src="https://yellow-cdn.veclightyear.com/ab5030c0/81670dcc-387e-43d7-9774-3998c09382c3.svg" alt="forthebadge"/></a>
</p>
一个 Minecraft 寻路机器人。
Baritone 是 Impact 自 4.4 版本以来使用的寻路系统。这里是一个(非常旧的!)我制作的展示其功能的视频。
Baritone Discord 服务器
快速下载链接:
给寻找1.19/1.20版本Baritone的2b2t玩家的信息 如果你愿意,请尝试2b2t的Baritone Elytra测试版,可以在Baritone的Discord的#announcements频道中找到。它支持1.19.4和1.20.1版本,适用于Forge或Fabric。如果你需要亲眼看到才能相信,请观看这个YouTube视频。
如何立即开始使用: 在聊天框中输入#goto 1000 500
以前往x=1000 z=500的位置。输入#mine diamond_ore
以开始挖掘钻石矿石。输入#stop
以停止。更多信息请阅读使用说明页面和/或观看这个教程播放列表。也可以尝试使用#elytra
命令在下界使用烟花火箭进行鞘翅飞行。
对于其他版本的Minecraft或更复杂的情况或开发需求,请参阅安装与设置。你也可以考虑直接安装Impact,它已经包含了Baritone,比手动处理版本JSON和压缩包更容易安装。对于1.16.5版本,点击这里并查看描述。安装Baritone后,请查看这里了解如何使用它的说明。我推荐观看由@Adovin#6313制作的Baritone展示视频。
这个项目是MineBot的更新版本,原版是为Minecraft 1.8.9开发的机器人,现在已经重建并适用于1.12.2及以后的版本。Baritone注重可靠性,特别是性能(在计算路径方面比MineBot快30倍以上)。
从2018年8月1日到2019年8月1日,每天至少提交一次。
1Leijurv3DWTrGAfmmiTphjhXLvQiHg7K2
入门指南
以下是一些帮助你入门的链接:
星标数量随时间变化

API
API有详尽的文档,你可以在这里找到最新版本的Javadocs。
请注意,使用baritone.api
包之外的任何内容都不受API发布jar的支持。
以下是一个基本用法示例,展示了如何更改一些设置,然后设置一个X/Z目标进行寻路。
BaritoneAPI.getSettings().allowSprint.value = true;
BaritoneAPI.getSettings().primaryTimeoutMS.value = 2000L;
BaritoneAPI.getProvider().getPrimaryBaritone().getCustomGoalProcess().setGoalAndPath(new GoalXZ(10000, 20000));
常见问题
我可以在自定义实用程序客户端中使用Baritone作为库吗?
当然可以!这正是它的用途。(只要使用符合LGPL 3.0许可证即可)
它为什么这么快?
魔法。(leijurv忍受了数小时的痛苦)
特别鸣谢:

YourKit通过创新和智能的工具支持开源项目,用于监控和分析Java和.NET应用程序。
YourKit是YourKit Java Profiler、YourKit .NET Profiler和YourKit YouMonitor的创造者。
我们感谢他们为Baritone授予OSS许可,使我们能够将软件做到最好。
为什么叫Baritone?
它是以FitMC深沉悦耳的嗓音命名的。