#3d model on armor

11 messages · Page 1 of 1 (latest)

ruby yacht
#

I have been making a 3d model of an axolotl, the problem is that I don't know how to make it an armor piece because I have it as an item and not as an armor model and I would like to know how to do it with the CustomModelData in fabric ( I attached the texture pack)

he estado haciendo un modelo en 3d de un axolote el problema es que no se como hacer que sea una pieza de armadura por que yo lo tengo como ítem y no como un modelo de una armadura y quisiera saber como hacerlo con el CustomModelData en fabric (adjunto el texture pack)

stark domeBOT
# frozen orbit !faq java-armor

The armor model when worn on players/entities cannot be remodeled in vanilla Java edition, only retextured. Pumpkins and other items set on a player's head can be remodeled for custom hats, but won't display if set on feet/legs/torso.
(Any item can be put on the players head via the /item replace command (aka /replaceitem before 1.18), or ofc via mod or plugin methods).
Furthermore, with this pack you can give a large set of specific leather armor colors a unique texture without interfering with the colors available in a normal survival situation: https://github.com/Ancientkingg/fancyPants

With Optifine it is possible to add texture variants on any armor pieces depending on the name, damage and other nbt, but remodelling is also not possible with it.

frozen orbit
#

TL;DR unfortunately armor cannot be remodeled

ruby yacht
#

!faq custom-model-data

stark domeBOT
# ruby yacht !faq custom-model-data

(Result for "custom_model_data")
Disclaimer: This only works for items (not placed blocks!) and only if you are in Java Edition 1.14 or later!

Example to give a stick 4 new models:
You'd place this file in YourResourcePack/assets/minecraft/models/item and call it stick.json.

stick.json

{
    "parent": "item/generated",
    "textures": {
        "layer0": "item/stick"
    },
    "overrides": [
        { "predicate": {"custom_model_data": 1}, "model": "item/custom_stick"},
        { "predicate": {"custom_model_data": 2}, "model": "custom/branch"},
        { "predicate": {"custom_model_data": 3}, "model": "block/stone"},
        { "predicate": {"custom_model_data": 4}, "model": "item/more_sticks"}
    ]
}```
Ingame you can give yourself one of the custom sticks by doing `/give <player> stick{CustomModelData:X}` (X being replaced by the number you want)

*PS: The model path is **always** relative to the models folder of your pack.*
*So `"item/custom_stick"` will load the model in `YourPack/assets/minecraft/models/item` called custom_stick.json.*
*For `"custom/branch"` it would be the model in `YourPack/assets/minecraft/models/custom` called branch.json and so on.*
frozen orbit
ruby yacht
#

Is the pumpking

frozen orbit
#
"parent": "item/generated",
"textures": {
    "layer0": "item/stick"
},

This section up there in the example needs to be replaced with the contents of the relevant default model (minus the outermost {} ofc)