Перейти к содержимому
Mineforgian

Custom Item Models

Custom Item Models Mod powered by Custom Model Data Component

4K загрузок22 подписчиковMITfabric

Обновлён 26 марта 2026 г. · опубликован 8 апреля 2025 г.

  • Also works for Armor
  • Renaming Name Tag for future usage
  • Applying Name Tag for Ruby
  • End result

Custom Item Models

Setup

This modification is only needed on the server side - clients without this mod will be able to join and use all provided functionality. It also works in singleplayer if installed on client.

Usage

To see compatible ResourcePack examples, navigate into tutorial directory.

Rename Name Tag on the Anvil into the string that you would usually put inside minecraft:custom_model_data={strings:[]} array.

img Diamond before applying Name Tag with the title ruby:

{
    count: 1, 
    Slot: 0b, 
    id: "minecraft:diamond"
}

Then, apply this Name Tag onto the item via Smithing Table.

img Diamond after applying Name Tag with the title ruby:

{
    count: 1, 
    Slot: 0b, 
    id: "minecraft:diamond", 
    components: {
        "minecraft:custom_model_data": {
            strings: ["ruby"]
        }
    }
}

This mod also changes minecraft:equippable component for such items as armor pieces and elytras.

for example, Diamond Helmet before applying Name Tag with the title crown:

{
    count: 1, 
    Slot: 0b, 
    id: "minecraft:diamond_helmet"
}

img and after applying Name Tag with the title crown:

{
    count: 1, 
    Slot: 0b, 
    id: "minecraft:diamond_helmet", 
    components: {
        "minecraft:custom_model_data": {
            strings: ["crown"]
        }, 
        "minecraft:equippable": {
            equip_sound: "minecraft:item.armor.equip_diamond", 
            slot: "head", 
            asset_id: "cim:crown"
        }
    }
}

img

ATTENTION: Be aware that asset_id will always be under cim namespace, due to how vanilla code operates. You can see examples in the tutorial directory.

You don't have to use cim namespace for item models, only for armor rendering.

img

License

This mod is available under the MIT license. Feel free to learn from it and incorporate it in your own projects.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.0.3+26.1Релиз26.1, 26.1.1, 26.1.2, 26.2fabric26 марта 2026 г.Скачать (16 КБ)
1.0.3+1.21.6Релиз1.21.8, 1.21.9, 1.21.10, 1.21.11fabric26 марта 2026 г.Скачать (17 КБ)
1.0.3+1.21.5Релиз1.21.5fabric26 марта 2026 г.Скачать (17 КБ)
1.0.3+1.21.4Релиз1.21.4fabric26 марта 2026 г.Скачать (17 КБ)
1.0.2+1.21.6Релиз1.21.8, 1.21.9, 1.21.10, 1.21.11fabric4 сентября 2025 г.Скачать (21 КБ)
1.0.2Релиз1.21.5fabric4 сентября 2025 г.Скачать (20 КБ)
1.0.1Релиз1.21.4, 1.21.5fabric8 апреля 2025 г.Скачать (975 КБ)

Ченджлог

1.0.3+26.1Релиз26.1.1, 26.1.2, 26.2 · 26 марта 2026 г.
  • Update to Minecraft 26.1
1.0.3+1.21.6Релиз1.21.9, 1.21.10, 1.21.11 · 26 марта 2026 г.
  • Fix mod name in fabric.mod.json
  • Add more links to fabric.mod.json
1.0.3+1.21.5Релиз1.21.5 · 26 марта 2026 г.
  • Fix mod name in fabric.mod.json
  • Add more links to fabric.mod.json
1.0.3+1.21.4Релиз1.21.4 · 26 марта 2026 г.
  • Fix mod name in fabric.mod.json
  • Add more links to fabric.mod.json
1.0.2+1.21.6Релиз1.21.9, 1.21.10, 1.21.11 · 4 сентября 2025 г.
  • Rewritten logic for recipe generation
1.0.2Релиз1.21.5 · 4 сентября 2025 г.
  • Rewritten logic for recipe generation

Комментарии

Загружаем…