mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-21 21:52:07 +02:00
commit
67cf8500ad
3 changed files with 12 additions and 9 deletions
|
@ -10,7 +10,7 @@ This project allows an AI model to write/execute code on your computer that may
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- [Minecraft Java Edition](https://www.minecraft.net/en-us/store/minecraft-java-bedrock-edition-pc) (up to v1.20.4)
|
- [Minecraft Java Edition](https://www.minecraft.net/en-us/store/minecraft-java-bedrock-edition-pc) (up to v1.21.1)
|
||||||
- [Node.js](https://nodejs.org/) (at least v14)
|
- [Node.js](https://nodejs.org/) (at least v14)
|
||||||
- One of these: [OpenAI API Key](https://openai.com/blog/openai-api) | [Gemini API Key](https://aistudio.google.com/app/apikey) |[Anthropic API Key](https://docs.anthropic.com/claude/docs/getting-access-to-claude) | [Replicate API Key](https://replicate.com/) | [Hugging Face API Key](https://huggingface.co/) | [Groq API Key](https://console.groq.com/keys) | [Ollama Installed](https://ollama.com/download)
|
- One of these: [OpenAI API Key](https://openai.com/blog/openai-api) | [Gemini API Key](https://aistudio.google.com/app/apikey) |[Anthropic API Key](https://docs.anthropic.com/claude/docs/getting-access-to-claude) | [Replicate API Key](https://replicate.com/) | [Hugging Face API Key](https://huggingface.co/) | [Groq API Key](https://console.groq.com/keys) | [Ollama Installed](https://ollama.com/download)
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ Then, clone/download this repository
|
||||||
|
|
||||||
Run `npm install` from the installed directory
|
Run `npm install` from the installed directory
|
||||||
|
|
||||||
Install the minecraft version specified in `settings.js`, currently supports up to 1.20.4
|
Install the minecraft version specified in `settings.js`, currently supports up to 1.21.1
|
||||||
|
|
||||||
### Running Locally
|
### Running Locally
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
"@huggingface/inference": "^2.8.1",
|
"@huggingface/inference": "^2.8.1",
|
||||||
"google-translate-api-x": "^10.7.1",
|
"google-translate-api-x": "^10.7.1",
|
||||||
"groq-sdk": "^0.5.0",
|
"groq-sdk": "^0.5.0",
|
||||||
"minecraft-data": "^3.46.2",
|
"minecraft-data": "^3.78.0",
|
||||||
"mineflayer": "^4.20.0",
|
"mineflayer": "^4.23.0",
|
||||||
"mineflayer-armor-manager": "^2.0.1",
|
"mineflayer-armor-manager": "^2.0.1",
|
||||||
"mineflayer-auto-eat": "^3.3.6",
|
"mineflayer-auto-eat": "^3.3.6",
|
||||||
"mineflayer-collectblock": "^1.4.1",
|
"mineflayer-collectblock": "^1.4.1",
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
"mineflayer-pvp": "^1.3.2",
|
"mineflayer-pvp": "^1.3.2",
|
||||||
"openai": "^4.4.0",
|
"openai": "^4.4.0",
|
||||||
"patch-package": "^8.0.0",
|
"patch-package": "^8.0.0",
|
||||||
"prismarine-item": "^1.14.0",
|
"prismarine-item": "^1.15.0",
|
||||||
"prismarine-viewer": "^1.28.0",
|
"prismarine-viewer": "^1.28.0",
|
||||||
"replicate": "^0.29.4",
|
"replicate": "^0.29.4",
|
||||||
"vec3": "^0.1.10",
|
"vec3": "^0.1.10",
|
||||||
|
|
11
settings.js
11
settings.js
|
@ -1,15 +1,18 @@
|
||||||
export default
|
export default
|
||||||
{
|
{
|
||||||
"minecraft_version": "1.20.4", // supports up to 1.20.4
|
"minecraft_version": "1.21.1", // supports up to 1.21.1
|
||||||
"host": "127.0.0.1", // or "localhost", "your.ip.address.here"
|
"host": "127.0.0.1", // or "localhost", "your.ip.address.here"
|
||||||
"port": 55916,
|
"port": 55916,
|
||||||
"auth": "offline", // or "microsoft"
|
"auth": "offline", // or "microsoft"
|
||||||
|
|
||||||
"profiles": [
|
"profiles": [
|
||||||
"./andy.json",
|
"./andy.json",
|
||||||
|
// "./profiles/gpt.json",
|
||||||
// add more profiles here, check ./profiles/ for more
|
// "./profiles/claude.json",
|
||||||
// more than 1 profile will require you to /msg each bot indivually
|
// "./profiles/gemini.json",
|
||||||
|
// "./profiles/llama.json",
|
||||||
|
|
||||||
|
// using more than 1 profile requires you to /msg each bot indivually
|
||||||
],
|
],
|
||||||
"load_memory": false, // load memory from previous session
|
"load_memory": false, // load memory from previous session
|
||||||
"init_message": "Say hello world and your name", // sends to all on spawn
|
"init_message": "Say hello world and your name", // sends to all on spawn
|
||||||
|
|
Loading…
Add table
Reference in a new issue