models

Models is where Minecraft models are literally defined and you can find them at

📦resource_pack.zip
  └── 📁assets
       └── 📁minecraft
           └── 📁models
               └── 📁item
                   └── 📑diamond.json

models are defined by assets/<namespace>/models/example.json which inside a json is put as <namespace>:example.json

An example of a common item would be

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/diamond"
  }
}

and something like a sword

{
  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "minecraft:item/diamond_sword"
  }
}
Parameter
Description

parent

The parents are reference to other models that will copy exactly that model and will make the changes that are specified, in this case it is reference to assets/minecraft/models/item/handheld.json

textures

here the texture is defined by models, in the case of item/generated it has “layer0” and “layer1” which is used in armor trims

example of layer0 & layer1

diamond_helmet_iron_trim.json

Useful Parents

minecraft:item/generated

minecraft:item/handheld

minecraft:item/trident_throwing

minecraft:item/trident_in_hand

minecraft:block/crop

minecraft:block/leaves

minecraft:block/cross

minecraft:block/cube_all

minecraft:block/cube_column

minecraft:block/cube_column_horizontal

minecraft:block/template_command_block

minecraft:block/cube_column_uv_locked_x

minecraft:block/cube_column_uv_locked_y

minecraft:block/cube_column_uv_locked_z

minecraft:block/pressure_plate_up

minecraft:block/template_anvil

Last updated