Mods Functional

AI Build Generator + 3D Model Importer

  • 29,676 views • 56 today
  • 6,273 downloads • 13 today
  • 38
  • 30
  • 19
KNKevin
Level 78 : Legendary Miner
605
This mod lets you import 3D models into Minecraft, as well as use AI to generate your own.

Version:
Forge 1.21.1

Key Features:

  • Generate builds from text prompts using the power of AI.
  • Seamlessly import 3D models into your Minecraft world.
  • Scale, rotate, and move models in-game.
  • Manipulate models using the Model Hammer item, or using commands.
  • Built-in undo button.



Limitations:

Only supports .obj and .stl model files.

Generating models using AI requires a personal API key from meshy.ai

Only works on singleplayer.



Loading a Model:
  1. Upon starting the game, a "models" folder will be created within your Minecraft directory. Place models and textures you want to use within this folder.
  2. Once you load up your world, run the command "/model load <filename>" to load a model. The command will automatically list valid filenames within your folder.


Generating a Model:
  1. To generate models using AI, an API key from Meshy is required. This involves creating an account on their website, and purchasing a subscription to get access to their API. This can be done here: Meshy API Page
  2. After acquiring an API key, go into the config folder of your Minecraft directory, and open "ai_builder-common.toml". Paste your API key here.
  3. Once you load up your world, run the command "model generate <prompt> to generate a model.


Manipulating Model using Model Hammer:

Models can be manipulated using the keyboard and mouse while holding the Model Hammer.

To set the initial position of the model, right click on where you want the model to be placed.

To scale, rotate, or move the model, switch between the three transformation modes by pressing their corresponding keys. By default, these are S for scale, R for rotate, and M for move. Then, simply scroll the wheel up or down to manipulate the model.

To select which access to apply the transformations to, press their corresponding keys. By default, these are X, Y, and Z.

To place and unplace the model, press P or U.

These keys can all be changed in settings.



Manipulating Model using Commands:

This mod adds the /model command, which has 7 subcommands.



/model load <filename>

Loads the file in your model folder. Only accepts .stl and .obj files.



/model generate ...
  • ... <prompt> [<model_name>] Generates a 3D model from the given text prompt. If a model name is specified, will save the 3D model and textures to files using that name.
  • ... cancel Cancels the current model generation if it exists. Useful for if generation is taking a long time or not responding.



/model place

Places the loaded model.



/model undo

Undoes the last placement of the model.



/model scale ...
  • ... <scale> Scales the model in all dimensions by the given number.
  • ... <x-scale> <y-scale> <z-scale> Scales the model in each dimension by the corresponding numbers given.
  • ... <axis> <scale> Scales the model in the specified axis by the specified amount. <axis> can be "x", "y", or "z".



/model rotate ...
  • ... <x-angle> <y-angle> <z-angle> Rotates the model around each axis by the corresponding angles given.
  • ... <axis> <angle> Rotates the model around the specified axis by the given angle.



/model move <distance> [<direction>]

Moves the model by the specified distance.

If the direction is unspecified, will move the model in the direction the player is looking.

Direction can be "up", "down", "north", "east", "south", or "west".



Changing Model Appearance

There are three possible rendering previews that can be switched between by pressing "V".
  • Bounding Box (Default) [​Low Performance Impact]
  • Mesh/Wireframe [​Medium Performance Impact]
  • Blocks Preview [​High Performance Impact]
Progress90% complete
Game VersionMinecraft 1.21.1
Tags

1 Update Logs

AI Model Generation : by KNKevin 05/31/2025 5:03:57 pmMay 31, 2025 @ 9:03 pm UTC

  • Added a feature to generate models from text using AI.
  • Block preview now renders with textures instead of just iron blocks.
  • Added a new preview mode (Mesh outline).
  • Updated from 1.19.4 to 1.21.1.

  Have something to say?

TiboDP
08/18/2025 3:08 pm
He/Him • Level 21 : Expert Architect
Fantastic!
1
SuperMegaGlitch1
08/05/2025 1:37 pm
Level 1 : New Explorer
Great mod you made, when it's going to be available on CurseForge?
1
YuiiLord
06/30/2025 11:42 am
Level 1 : New Miner
how i can import model with full color
1
KNKevin
07/05/2025 10:47 pm
Level 78 : Legendary Miner
STL models do not have colors or textures. OBJ models do, and you need to make sure you also have the corresponding MTL file and textures.
1
User6032202G
10/11/2025 8:22 am
Level 1 : New Miner
I'm using the obj file with its texture's folder and the mtl file but the color isnt loading, How do I fix?
1
User5802915G
06/14/2025 12:10 pm
Level 1 : New Miner
I put it in my mods folder and it doesn't load. I'm using fabric.
1
KNKevin
06/14/2025 4:53 pm
Level 78 : Legendary Miner
It is a Forge mod.
1
SuperMegaGlitch1
08/07/2025 3:21 pm
Level 1 : New Explorer
And when it's going to be available for CurseForge, because I want to add it to my map creating modpack, that is if you allow your mod to be used in a modpack.
1
mrbryantq07
06/03/2025 4:22 am
Level 1 : New Miner
Ok, I don't know what I could be doing wrong, mod works great with importing my own .obj or .stl files, but when I tried to tie a meshy api key into the system and go off that, it keeps saying "Payment required. Please add funds to the Meshy account associated with your API key." even though there is 80 credits in my account. please help
1
KNKevin
06/10/2025 3:26 am
Level 78 : Legendary Miner
The Meshy API requires you to be subscribed to at least the Pro plan in order to gain access to the API. Even if you have enough credits, if you are not subscribed, you cannot use the API.
1

Welcome