ItemsModels & CustomModelData

In the new versions of Minecraft they changed things about the CustomModelData and now they are located in the items folder, this allows adding a component in the item to change its model.

Item Model Component

This is a new component added in 1.21.3, but in 1.21.4 it has been modified, is a way to use an item model different from those already created or modifying the existing ones, in this case the component references to assets/<namespace>/items/<id> and would be used as <namespace>:<id>

📦resource_pack.zip
  └── 📁assets
       └── 📁minecraft
           └── 📁items
               └── 📁📑some_item.json
circle-info

In 1.21.3 referenced to assets/<namespace>/models/item/<id>

Give Command

/give @p diamond[item_model='minecraft:some_item'] 1

CustomModelData Examples

📦resource_pack.zip
  └── 📁assets
       └── 📁minecraft
           ├── 📁items
           │    └── 📑diamond.json
           └── 📁models
               └── 📁item
                    └── 📑awesome_item.json

diamond.json

Give Command

/give @p diamond[custom_model_data={floats:[1382]}] 1

circle-info

custom_model_data Component Tutotial Here!

More Items Examples

file-download
3KB
Bow Examples
file-download
6KB
Crossbow Examples
file-download
2KB
Fishing Rod Examples
file-download
2KB
Shield Item Examples
file-download
3KB
Trident Item Example (Only you can modify the item on hand using ResourcePack)

Example of 2D Item in Inventory and 3D Item in Hand

Example of eating animation

apple.json

Items with CustomModelData that change according to a date

This would be an example with Christmas

Last updated