跳到正文

projectBEA

作者:emqnuele

BeaCraft is a Fabric mod bridge. It exposes game state and player actions via WebSocket, enabling autonomous LLM agents to play Minecraft.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

BeaCraft: Technical Bridge for Autonomous Agents

BeaCraft is a Fabric mod that functions as a WebSocket interface between Minecraft and external AI systems. It provides the necessary infrastructure for LLM-based agents to perceive the game world and execute complex tasks programmatically.

Core Functionalities

  • State Broadcasting: Periodically transmits JSON packets containing player health, hunger, coordinates, inventory, and surrounding block/entity data.
  • Action Execution: Maps external command packets to in-game behaviors including pathfinding, mining, crafting, and combat.
  • Asynchronous Feedback: Returns status updates (IDLE, FINISHED, INTERRUPTED) to the agent, allowing for reactive logic and error handling.
  • Vision & Communication: Supports remote screenshot requests for visual context processing and bridges the in-game chat for social interaction.

Technical Architecture

  • Protocol: WebSocket (default ws://localhost:8080).
  • Format: Standardized JSON envelopes for both state updates and action requests.
  • Compatibility: Specifically designed for integration with Python-based AI frameworks like ProjectBEA.

Implementation Requirements

  • Loader: Fabric Loader.
  • Configuration: Managed via config.json to define server ports and update frequencies.
  • Environment: Operates as a local bridge, requiring the external agent to run on a reachable network address.

常见问题

projectBEA 支持哪些 Minecraft 版本?

projectBEA 支持 Minecraft Java 版 1.21.1–26.2,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

projectBEA 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

emqnuele 的其他作品

查看全部 →