baritone

baritone

高性能Minecraft自动寻路和任务执行系统

Baritone是一款开源的Minecraft自动寻路和任务执行系统。它支持多个Minecraft版本,能够自动完成采矿、建造等任务,并提供API接口。Baritone以高效的寻路算法和稳定性能著称,已被多个知名客户端采用。项目提供详细文档,适合Minecraft自动化爱好者和开发者使用。

BaritoneMinecraft寻路系统模组自动化Github开源项目

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&amp;utm_medium=referral&amp;utm_content=cabaletta/baritone&amp;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 服务器

快速下载链接:

ForgeFabric
1.12.2 Forge
1.16.5 Forge1.16.5 Fabric
1.17.1 Forge1.17.1 Fabric
1.18.2 Forge1.18.2 Fabric
1.19.2 Forge1.19.2 Fabric
1.19.3 Forge1.19.3 Fabric
1.19.4 Forge1.19.4 Fabric
1.20.1 Forge1.20.1 Fabric
1.20.3 Forge1.20.3 Fabric
1.20.4 Forge1.20.4 Fabric

给寻找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

入门指南

以下是一些帮助你入门的链接:

星标数量随时间变化

Stargazers over time

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-Logo

YourKit通过创新和智能的工具支持开源项目,用于监控和分析Java和.NET应用程序。

YourKit是YourKit Java ProfilerYourKit .NET ProfilerYourKit YouMonitor的创造者。

我们感谢他们为Baritone授予OSS许可,使我们能够将软件做到最好。

为什么叫Baritone?

它是以FitMC深沉悦耳的嗓音命名的。

编辑推荐精选

潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

AI助手热门AI工具AI创作AI辅助写作讯飞绘文内容运营个性化文章多平台分发
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

热门AI工具生产力协作转型TraeAI IDE
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

Keevx

Keevx

AI数字人视频创作平台

Keevx 一款开箱即用的AI数字人视频创作平台,广泛适用于电商广告、企业培训与社媒宣传,让全球企业与个人创作者无需拍摄剪辑,就能快速生成多语言、高质量的专业视频。

下拉加载更多