Importing Models - korbynullevig/craftmoto GitHub Wiki

Before we begin, we want to tell you that everything you do is at your own risk. Any damages you create to your own property is not our responsibility!

What you need

Preparations

To prepare your model, you need to get a template resource pack. A template resource pack is made by going to your versions folder in .minecraft and copying the assets folder inside the .jar file of the version you click on, you copy the assets folder by creating a folder inside your resource packs folder named INSERT RESOURCE PACK NAME and moving the assets folder up there. After that you make a pack.mcmeta file. and paste in the following code:

{ "pack": { "pack_format": 4, "description": "PACK DESCRIPTION" } }

The number 4 differs per version, go to the minecraft wiki for that

Making your model itself

Please follow the Tutorials on learning how to make models. Grasping the concept of making voxel models is much more easy than you think.

Exporting the model

We will go over this with both Blockbench and Cubik studio for the sake of support. It will be done step by step to make sure everything is going fine.

I will use the model of an UAZ469 in terms of importing the model since it is a very basic vehicle.

Make sure your model is as big as possible in terms of how much elements you can place inside the gizmo border, to make scaling it up and down much more easy.

(As you can see, if you resize the model (as an element) towards a direction far enough, it will flatten out at one point, this model reached it's biggest possible size as you see in the picture of the original model so it won't be an issue.)

Blockbench

Centralizing the vehicle

  1. Click on the top right display button

  2. Now click on the head

  3. You should see A player model with the vehicle on it's head., fortunately the vehicle's front side faces the side that the player looks at. This will make sure we don't have to use the rotation tool to rotate the vehicle to the right face.

  4. The following options will be explained, the rotating arrow is a reset button:

    • The Rotation option will allow the model to rotate based on each axis you select.
    • The Translation option will move the object around, based on what coordinates you select.
    • The Scale option will like it says, scale the object upwards to a maximum number of 4 per axis, most models will be made at a number of 4 but it is a preference.
  5. We will scale the UAZ upwards to a number of 4 with all axis-es but like you see in this picture, the wheels don't hit the feet, we will cover this in the next step.

  6. To make sure the wheels hit the feet, we will be using the Translation option. In this case, we only have to slide the model downwards with a number of 13. Here is how it looks like now

  7. Now you can slide down the other axis to make sure the middle point of the vehicle hits the player model. You see in this image that the vehicle's center point is the same as the player's.

Exporting the vehicle

If you need an image reference, click on the number of the step!

1. First you click on the File button above, after that you go to the Export tab and click on Blockmodel

2. After that, you navigate to the resource pack folder's model folder (.minecraft\resourcepacks\INSERT RESOURCE PACK NAME\assets\minecraft\models\block) and then you want to replace the specified model (.json file) and click on save.

3. After you load your resource pack, your model should be in-game right now!