You are browsing as a guest. Sign up (or log in) to start making projects!

LMIC-MC-BOT

  • 8 Devlogs
  • 20 Total hours

A Mineflayer-based Minecraft bot integrated with an LLMs API for real-time, context-aware chat and navigation.

Ship #1 Pending review

I make a Mineflayer-based Minecraft bot integrated with an LLM API (Groq, Gemini, HackClub). General chat replies are grounded in the bot’s real inventory and surroundings, so it won’t claim to have items it doesn’t actually have

The bot can

  • Kills nearby monsters (protects the player from them)
  • Follows the player and breaks blocks
  • Delivers gathered resources directly to the player who requested them
  • Auto-equips the best armor set available whenever it picks up new gear

Example commands

  • LMIC-MC-BOT collect 10 oak_log
  • LMIC-MC-BOT attack zombie
  • LMIC-MC-BOT give me 5 dirt
  • LMIC-MC-BOT fight me

The biggest challenge in this project for me was fine-tuning the bot’s movement. A detailed guide on how to test the bot can be found on my GitHub.

  • 8 devlogs
  • 20h
Try project → See source code →
Open comments for this post

5h 1m 14s logged

Devlog8

New

  • Bot no longer gets permanently stuck — it detects when it’s not moving and tries to dig through, jump, or step around the obstacle
  • Bot walks around other players instead of freezing when blocked by them
  • Bot pauses its current task to fight nearby hostile mobs, then goes back to what it was doing
  • Bot auto-equips the best armor set when it picks up new gear
  • New “give item” command (e.g. “give me 5 dirt”)
  • Bot now delivers collected items straight to the player who asked for them
  • AI now knows the bot’s real inventory and surroundings, so it stops making up fake answers
  • Bot retries gathering blocks instead of giving up after one failed attempt
  • Reconnects system wait longer
  • Bot follows closer to the player
  • Added MIT License

Removed

  • Old gather system that stopped completely after a single mistake
  • Old unstick system that barely moved the bot
0
0
12
Open comments for this post

3h 28m 3s logged

Devlog5

New

  • Multi-language support (EN and PL)
  • Limit AI response length
  • Add mineflayer-collectblock
  • Debug system for bot inventory, position, and errors
  • Player following system (bot stays near the player)
  • AI response system using JSON
  • Block-breaking system triggered when a player mentions the bot’s username in chat (video)
  • Custom AI prompt

Removed

  • Old “look” command (replaced by the player following system)
0
0
6
Open comments for this post

1h 50m 55s logged

Devlog4

  • Update README.md
  • Add a test Minecraft server to the GitHub repository for bot testing
  • Add mineflayer-pathfinder for bot movement/navigation
  • Fix reconnect issues
0
0
5
Open comments for this post

1h 57m 20s logged

Devlog3

AI improvements

  • Connect AI system to in-game chat, so the bot responds when mentioned
  • Add conversation history (up to 20 messages, stored in memory)

Other changes

  • Update README.md
0
0
4
Open comments for this post

2h 37m 44s logged

Devlog2

Add new AI providers:

  • Gemini
  • Groq
  • HackClub

Add new AI models:

  • gemini-2.5-flash
  • gemini-2.5-flash-lite
  • llama-3.3-70b-instruct
  • llama-3.1-8b-instant
  • gpt-oss-120b
  • gpt-oss-20b
  • qwen3.6-27b

Other changes:

  • Add requirements to README.md
  • Add function to test AI model availability
  • Create list of available AI providers
0
0
8

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…