Render Item Basic-1.12

In order to have a basic model for our first item we need to make a json file and access this. Again there are many approaches that one can follow and this tutorial just presents one possibility:

First we have to extend our item class so that we can initialize where Minecraft can find our model. The name 'inventory' refers to the variant in the json. It is commonly used to indicate the model as it should render in the inventory itself:

Now the only thing left to do is to define your json file and add a texture. In this case we just need a single json file located in main/resources/assets/<yourmod>/models/item/simpletextureditem.json: