HomeJavaModsGemini in Minecraft
Gemini in Minecraft
Gemini in Minecraft — screenshot 1Gemini in Minecraft — screenshot 2Gemini in Minecraft — screenshot 3Gemini in Minecraft — screenshot 4

I close this mod. Cuz i hate everything what i do. Thx y'all for your downloadings and other things. It's only support 1.21.4...

Build and Release

Gemini in Minecraft

Brought to you by Roflboy, with love for the Minecraft community. <3

This Fabric mod integrates Google's Gemini AI into Minecraft, allowing you to interact with an AI assistant directly within the game. The AI can answer questions, provide information about your current environment, and even execute in-game commands (if enabled).

Mod Demo

Features

Dynamic Variables in System Prompt

The systemMessage supports several dynamic variables that are replaced with real-time game information when the AI is queried. This allows the AI to provide context-aware responses. Here's a list of the available variables:

These variables are automatically updated each time you send a query to the AI, ensuring that the responses are relevant to your current situation. You can use these variables in your custom systemMessage to tailor the AI's behavior.

Commands

Installation

  1. Install Fabric: Make sure you have the Fabric Loader installed for your Minecraft version.
  2. Download the Mod: Download the GeminiInMinecraft mod (jar file).
  3. Place in Mods Folder: Place the downloaded jar file into your Minecraft mods folder.
  4. Obtain an API Key: You'll need a Google Gemini API key. You can obtain one from the Google AI Studio website.
  5. Configure the Mod: After launching the game, use the /setupai apikey <your_api_key> command to set your API key.

Configuration

The mod uses a configuration file (geminiinminecraft.json) located in your Minecraft config directory. This file is automatically created when the mod is first run. You can edit this file directly, or use the in-game /setupai commands to modify the settings.

Configuration Options:

Important Notes

Acknowledgments and Thanks

A huge thank you to the Minecraft and Fabric communities for their continued support and inspiration. This mod wouldn't be possible without the amazing tools and resources available.

Special thanks to Google for their Gemini AI models, which power this mod's core functionality, Zaggott for the mod logo.

And, of course, thank you for using my mod! I hope you find it helpful and fun.

Contributing

If you'd like to contribute to the development of this mod, feel free to submit issues or pull requests on the GitHub repository. All contributions are welcome, whether it's bug fixes, feature suggestions, or code improvements. Please make sure your pull request is relevant.

Support the Project (Optional)

If you enjoy using this mod and would like to support its development, you can buy me a coffee!

Any support is greatly appreciated and helps me continue to improve and maintain the mod.

Final Thanks

Thanks again for trying out my mod! I'm excited to see how you use it and hear your feedback.

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