Skip to content
header

Introduction

When making a mod for Minecraft: Dungeons, it is important to know that most weapons, melee and ranged, are not like items in Java or Bedrock Edition - their model is not generated from their texture, but rather it's made to fit it. This tutorial will show you how to make and render models for your own, custom item textures. Never worked with any 3D modelling software of any kind? Not to worry, this tutorial will show you exactly what to do, without any need for previous 3D modelling knowledge! Let's get started:

Requirements

PART 0: Controls & Hotkeys

Blockbench:

hotkey blockbench

Blender:

hotkey blender

If you are on Mac: use Cmd instead of Ctrl

* What if I don't have a 3rd button mouse/numpad?

You can skip this part if you've got a normal keyboard & mouse.

That's no problem! Blender allows you to emulate both of these, allowing you to access the controls you need. Here's how to do it:

  1. Go to Edit tab up top, then select Preferences. A window should pop up. no 3rd mouse emulation 1

  2. In that window, go to the Input tab and check the Emulate 3 Button Mouse and Emulate Numpad boxes. no 3rd mouse emulation 2

By default, alt+LMB will be registered as MMB. If you emulate the numpad, you can access the numpad hotkeys by pressing numbers in the top row of the keyboard (do NOT press shift!). The emulation will override some existing hotkeys placed on the numerical row, but we don't need them anyway, so don't worry about that.

Additionally, if you've got an Apple Magic Mouse, on top of having to emulate a 3 button mouse the view controls are a bit different: hotkey mac

All other controls are the same.

PART 1: Modelling

1) Prepare a texture

When you're finished making a texture for your item, it should look something like this:

prepare a texture 1

This is the texture that you want to use in your mod. For our purposes we'll need another, slightly modified texture. Make a copy of your texture and modify that. For your texture to work properly with Blockbench, you need to get rid of all the parts that you do not want to be included in the model. In this case we need to remove the palette thingy, but depending on the texture you might also need to make the background transparent etc. This is how your texture should look before importing to Blockbench:

prepare a texture 2

Now with that out of the way, let's get to modelling itself!

2) Extrude texture in Blockbench

Upon opening Blockbench you should get to this screen:

extrude texture 1

Make a new generic model and name it whatever you want. DO NOT change the texture dimensions in the window that pops up, it will break things!

extrude texture 2

Before importing the texture, make sure that your snapping grid resolution is 16x16. You can do that by going to File > Settings... and then the Snapping tab.

extrude texture 3

Now go to File > Import and select Extrude Texture. Do not change anything in the window that pops up. You should get something like this:

extrude texture 4

Now move the model so that it's centered on the grid.

extrude texture 5

Finally, right click on the texture under the Textures tab, and then change the file to your original, unmodified texture.

extrude texture 6

If you done that correctly, you shouldn't see a visual change.

3) Export the model as OBJ

You can do that by going to File > Export and then selecting Export OBJ Model.

export as obj Save the OBJ file somewhere you can find it - you'll need it in the next step:

4) Import the model into Blender

Time to get our hands dirty in Blender!

Upon opening you should see small window pop up - don't change anything in there, just click away so the window disappears. Next, delete the default cube by selecting it, right clicking and selecting Delete. Now you can import your OBJ model by going to File > Import, selecting Wavefront (.obj) and then navigating to your model.

import model to blender 1

You might notice that your model doesn't show any textures - that is completely normal, it's just blender's default view mode. Switch to Material mode (top right) to see the texture.

import model to blender 2

Your model should then look something like this:

import model to blender 3

Additionally, you can box select all the part of your model, shift-click on one of them and press Ctrl + J to merge all parts into one like so:

import model to blender 4

This will make it easier to edit the model all at once. We don't want the textures this blurry though! To fix that you'll need to

5) Set up a material

You can edit your material by clicking on the red checkered circle in the tab on the right: set up a material 1

First you need to name your material correctly. Go to the location of the default texture in the Dungeons game files (assuming you've extracted them); you should see a bunch of files besides the texture. Locate the one with the .mat extension and copy its name (without the extension).

set up a material 2

Next, copy the name into this field at the top of the Material Properties tab, and press Enter.

set up a material 3

Now you can fix the texture filtering by going into this dropdown menu and selecting Closest.

set up a material 4

If you've done everything correctly, your model should look roughly like this:

set up a material 5

6) Position and scale your model

Now it's time to position your model to fit the default scale and placement. To do that we're going to use the default item model. For importing Unreal skeletal meshes into Blender we're gonna need the Import Unreal Skeletal Mesh add-on. To install it, go to `Edit > Preferences`, then in the window that pops up go into the Add-ons tab, click the Install button and navigate to where you saved the .py file position and scale 1

When you've installed the add-on, make sure it's enabled by ticking the box below in the Add-ons tab and checking if the add-on is present in the list. (if it's not, untick the box, find the add-on and enable it manually.)

position and scale 2

Now you can import the default model by going to File > Import, selecting Skeleton mesh (.psk) and navigating to the model.

position and scale 3

Now that you've imported the model you can scale, move and rotate your custom one to fit the default like so:

position and scale 4

TIP: You can use a present view (like topdown) by clicking any of these points on the top right corner for more accurate positioning.

position and scale 5

You don't have to be super precise though - just try to roughly match the position and size of the default model.

When you're finished, delete the default model by selecting it, right clicking it and selecting Delete.

7) Export your model as FBX

You can export your model into the FBX format by going to File > Export and then selecting FBX.

export as fbx 1

In the window that pops up you can navigate to your desired file location. That's not all though - we'll also need to change some settings in the tab on the right side. Set the scale in the Transform tab to 0.01 and then, in the Geometry tab, set Smoothing to Face.

export as fbx 2

Next, look at the model's name in the default game files and name your model that.

export as fbx 3

Finally, click the blue Export button to finish the process.

export as fbx 4

Congratulations! You've made it through the entire modelling process and now have a model that will function properly when put into a mod!

This is the end of the tutorial for those of you that are making items like the apple health drop, which do not require a render. But if you're making a model of a weapon - or just need to make a render - get ready for the next part:

PART 2: Rendering

1) Import your model

if you've followed the tutorial up to this part, you can skip this step.

To import the model ripped from Minecraft: Dungeons we will need to install the Import Unreal Skeletal Mesh add-on for Blender. To do that, go to Edit > Preferences, then in the window that pops up go into the Add-ons tab, click the install button and navigate to where you saved the.py file.

rendering import model 1

When you've installed the add-on, make sure it's enabled by ticking the box below in the Add-ons tab and checking if the add-on is present in the list. (if it's not, untick the box, find the add-on and enable it manually.)

rendering import model 2

Now you can import the default model by going to File > Import, selecting Skeleton mesh (.psk) and navigating to the model.

rendering import model 3

2) Set up a material (again)

First, check if the Use Nodes button in the red checkered circle tab is blue. If it's not, click on it to make it blue. set up a material again 1

Then switch to the Shader Editor using this menu up top:

set up a material again 2

The tab should change into a node editor. Enlarge it so you can see it better and then make it look like this:

set up a material again 3

TIP: You can add a node by pressing Shift + A, selecting Search and then typing the node's name. You can also zoom in and out using Ctrl + scroll. TO connect two nodes together just click and drag from one point (as seen above) to another with your mouse.

set up a material again 4

3) Add a light

First of all, your model is probably HUGE because Minecraft: Dungeons scales it down. This can cause some issues with lightning, so make your model smaller before doing anything. Next, delete any lights that might've been added by Blender when you created the model. Just select them, right click and select Delete. They look like this:

add a light 1

Before adding a light, switch to Render mode (the third circle in the top right menu) to see the changes properly.

add a light 2

Now you can add a light by pressing Shift + A while hovering above the model view, going to Light and selecting Sun.

add a light 3

Now move and rotate the sun while trying to roughly match the lightning of the default render. You can also move and rotate the model itself to help you out. TIP: You can adjust the strength of your sun on this slider in the right-side menu while having the sun selected:

add a light 4

When you're done you should get something that matches the default view and lightning pretty closely:

add a light 5

4) Set up a camera

For Blender to actually know what to render, we need to set up a camera. First, we will enable an add-on that will make handling the camera easier. To do it, go to Edit > Preferences, open the Add-ons tab, find the add-on called "3D View: Stored views" and enable it like so:

set up a camera 1

Next, click this little arrow next to the axis cross thing:

set up a camera 2

A menu should pop up. Open the View tab and check the Lock Camera to View box.

set up a camera 3

Next, select a camera that should already be placed somewhere in your project. It should look like this:

set up a camera 4

Now rotate your view around so you get a view that looks the most like the default one. After that open the Stored Views tab, click Initialize and then click Camera to View. This will move the selected camera to your viewpoint.

set up a camera 5

Now press Numpad 0 to switch to camera view.

5) Configure output and render

We're almost done! The only thing left to do is to configure the resolution and transparency of the output render. You can make the output transparent by going to this tab in the menu on the right side, opening the Film tab and checking the Transparent box.

configure and render 1

For the resolution control, first get the default render and see how big it is. (There are usually 2 renders - and yes, you'll be rendering your model twice.) When you've located the resolution of the default render, go to the tab in Blender immediately below the one you just opened and set the resolution in the first two fields.

configure and render 2

(You can then pan and zoom your view a bit so your model is roughly in the centre of the square.)

Before we get to the render itself, select your sun, go to the tab with the lightbulb and uncheck the Shadow box.

configure and render 3

Now you can finally initiate the render by pressing F12 (fn + F12 on mac).

When the render is finished, you can save it by going to Image > Save as.

configure and render 4

And there you have it! You have made yourself a model and render that is usable in Minecraft: Dungeons!

configure and render 5

Thank you so much for reading this tutorial, and good luck with your mod!

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT
This website was made using the VitePress framework. View the source here!