跳到正文

Forge AI Bridge

作者:aron_dark1000

A Forge 1.20.1 bridge that allows Python AI agents to observe and control Minecraft in real time through a local TCP connection.

收藏

介绍

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

Minecraft AI Bridge

Minecraft AI Bridge is a Forge 1.20.1 mod that creates a local bridge between Minecraft and external AI agents written in Python.

The goal is to allow AI systems to observe Minecraft in real time and control the game through a local TCP connection, making it possible to experiment with reinforcement learning, machine learning, autonomous agents, robotics, and LLM-powered Minecraft agents.

Features

  • 🔌 Local TCP connection between Minecraft and Python

  • 🤖 Designed for AI agents and reinforcement learning

  • 🎮 Real Minecraft action execution

  • 👀 Real-time game state observations

  • 🔄 Reset functionality for AI training environments

  • 🐍 Python-compatible architecture

  • ⚡ Low-latency local communication

  • 🧠 Designed to support future LLM-based agent

☕ Support the Project

If you find Minecraft AI Bridge useful and want to support its development, you can make a contribution through PayPhone:

💙 Support Minecraft AI Bridge

Every contribution helps support future development, testing, improvements, and new AI features.

 

Current Actions

The bridge currently supports actions such as:

  • Move forward

  • Move backward

  • Turn left

  • Turn right

  • Jump

  • Other AI-controlled Minecraft actions

Observations

The mod can provide information such as:

  • Player position

  • Player health

  • Distance to target

  • Nearby blocks

  • Other environment information

This information can be used by an external AI agent to decide what action to take next.

How It Works

Minecraft 1.20.1
       │
       │ Forge Mod
       ▼
Minecraft AI Bridge
       │
       │ TCP — localhost
       ▼
Python AI Agent
       │
       ├── Reinforcement Learning
       ├── Machine Learning
       └── LLM / AI Planning

The Minecraft mod acts as the body and interface, while the external Python program acts as the AI brain.

Use Cases

Minecraft AI Bridge can be used to experiment with:

  • Reinforcement learning

  • Autonomous Minecraft agents

  • AI navigation

  • AI-controlled characters

  • Machine learning research

  • Robotics concepts

  • LLM + game agents

  • Minecraft automation

  • AI training environments

Requirements

  • Minecraft 1.20.1

  • Forge

  • Python for external AI agents

  • A Python AI framework such as Gymnasium or Stable-Baselines3 for reinforcement learning experiments

Development Status

🚧 Early Development / Experimental

This project is actively being developed. APIs, actions, observations, and communication protocols may change in future versions.

 

Disclaimer

Minecraft AI Bridge is an independent community project and is not affiliated with, endorsed by, or sponsored by Mojang Studios or Microsoft.


Tags

AI
Artificial Intelligence
Machine Learning
Reinforcement Learning
Minecraft AI
Python
Forge
Automation
Robotics

常见问题

Forge AI Bridge 支持哪些 Minecraft 版本?

Forge AI Bridge 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Forge AI Bridge 怎么安装?

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

评论

登录后评论和评分

aron_dark1000 的其他作品

查看全部 →