Using Custom Model Data to Create New Item into the Game

This is for basic items. (2D)

  1. To create a new item, you first need to select an original item. Original item is item that you are going to use for basement.

For example: If you are going to add a new eatable item into the game, your original item could be apple, cooked_beef, beef... I want to use the apple, because I'm going to create Green Apple.

  1. Take the original item .json file and put it into your resource pack. This must go into the vanilla namespace. For example, I want to use apple for original model:

..\assets\minecraft\models\item\apple.json
  1. Then, create a new folder for your own assets within the assets directory. For example, I want to use "custompack" name for namespace:

..\assets\custompack\
  1. Within this folder, create the initial folders models, and textures, and an item folder within both of those:

Create models & textures files inside of "Your Namespace"
Create item file inside of models
Create item file inside of textures
  1. Open the original item .json file you're basing off of and add the following code at below and change it for your item:

  1. This code tells the game which model file to look for. The model file should be in the ../assets/<your namespace>/models/<your item path> folder.

  1. Then, create a model file in the folder that you declared path in previous stages:

Create .json file for Your Model
  1. Inside of this .json file add the code at below, you are telling the game which texture file(s) to look for:

  1. So, you must be have the texture in path where you declared in:

Texture .png file in the path
  1. After, go to the game and execute those commands by ordered:

Last updated