HomeJavaModsCraftGPT
CraftGPT
CraftGPT — screenshot 1

This simple client-sided mod allows you to prompt ChatGPT without leaving your game. It always assumes you are talking about Minecraft, making it a useful Minecraft assistant!

How to use it
  1. Go to OpenAI's website and obtain an API key. Make sure to keep this API key somewhere safe because it will only show you the key once.
  2. Go into the config file for the mod (Mod Menu works too) and enter the API key into its respective field. The other option lets you change what model the AI uses. gpt-4o-mini is the default because it is the cheapest one. You can change this to gpt-4o for more expensive but accurate responses (no matter what model you choose, the AI may get some things wrong). Keep in mind that with the most recent models, ChatGPT is trained up to October 2023, just a month after 1.20.2 was released, meaning that it does not know anything about Minecraft versions newer than 1.20.2.
  3. Enter any world and use /ai prompt <prompt> (use /ai chat <prompt> to have the AI remember what you said) to ask ChatGPT anything. To get information on the current held item, use /ai info hand. For information about the targeted block or entity, use /ai info looking.
Known issues
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more