Skip to content

tristanradams/minecraft-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Agent

This is a project utilizing Mineflayer to create a bot that consults an API regarding what actions it should take in the world. Currently implemented actions can be found within src/core/actions.

NOTE: Mineflayer only supports up to Minecraft version 1.21.8.

Configuration

This agent must be configured via a .env.profile file. During agent startup, it will look for an .env, .env.local then via a PROFILE environment variable (which defaults to default), a .env.PROFILE file. Each file overrides values coming from earlier environment files.

Currently, utilizing Gemini 2.5 Flash Lite as its API, which requires a GEMINI_API_KEY.

Commands

Run npm run dev to start a bot locally. Run npm run format to format the project. Run npm run build to build the project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published