8000 GitHub - Malte0621/MinePal: AI friend that you can talk to and play with in Minecraft.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Malte0621/MinePal

 
 

Repository files navigation

MinePal

Overview

MinePal is a desktop Minecraft companion app built with Electron that adds an AI agent to your Minecraft world.

Structure

MinePal Structure

  • Frontend: Located in frontend/, built with React and Vite.
  • Agent: Minecraft agent logic in src/agent/.
  • Libraries: Located in libs/, contains several submodules:
    • node-minecraft-protocol-forge/
    • mineflayer-collectblock/
    • mineflayer-auto-eat/
    • mineflayer-pvp/
    • prismarine-world/
    • mineflayer/
    • minecraft-protocol/

Setup

Prerequisites

Installation

  1. Clone the repository

  2. Install dependencies:

    npm install
  3. Install and build submodules:

    cd libs
    for dir in */; do
      cd "$dir"
      npm install
      if [ -f "package.json" ] && grep -q "\"build\"" "package.json"; then
        npm run build
      fi
      if [ -f "package.json" ] && grep -q "\"prepare\"" "package.json"; then
        npm run prepare
      fi
      cd ..
    done
    cd ..
  4. Build the app:

    npm run buildLocal

Running the App

npm start

Agent

  1. Navigate to src/agent/.
  2. Actions that the bot can take are in src/agent/commands/actions.js or src/agent/commands/queries.js.

License

MIT

About

AI friend that you can talk to and play with in Minecraft.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.4%
  • TypeScript 15.5%
  • CSS 7.0%
  • HTML 0.1%
0