#Dyeable Custom Armour

1 messages · Page 1 of 1 (latest)

feral juniper
#

What do I need to add?

indigo trail
#

Your item needs the "dyed" parameter in the "minecraft:icon" component, also it must need the "minecraft:dyeable" component to work.

feral juniper
feral juniper
indigo trail
#

i dont know yet, ill find some info

#

ill be back

feral juniper
indigo trail
#

so, in the attachables, add another material called "dyed" and set the value to "entity_alphatest_change_color"

#

also, place another texture called "dyed" and a name.

#

oh wait, sorry, wrong explanation

feral juniper
indigo trail
#

it needs a render controller

feral juniper
#

What should I put in the render controller?

indigo trail
#

kinda

#

i think it needs molang to work

feral juniper
# indigo trail kinda

I don't seem to understand what part will I have molang in, I'm not familiar with it, I searched it up but I don't know where in the render controller I will put it

feral juniper
# indigo trail kinda

Like this? I checked the internet
"format_version": "1.8.0",
"render_controllers": {
"controller.render.armor.chest.v1.0": {
"arrays": {
"materials": {
"array.armor_material": [
"material.armor",
"material.armor_enchanted",
"material.armor_leather",
"material.armor_leather_enchanted"
]
},
"textures": {
"array.armor_texture": [
"texture.leather",
"texture.chain",
"texture.iron",
"texture.diamond",
"texture.gold"
]
}
},
"geometry": "geometry.armor",
"materials" : [
{ "body": "array.armor_material[query.armor_material_slot(1)]" },
{ "leftarm": "array.armor_material[query.armor_material_slot(1)]" },
{ "rightarm": "array.armor_material[query.armor_material_slot(1)]" }
],
"part_visibility" : [
{ "*": 0 },
{ "body": "query.has_armor_slot(1)" },
{ "leftarm": "query.has_armor_slot(1)" },
{ "rightarm": "query.has_armor_slot(1)" }
],
"color": {
"r": "query.armor_color_slot(1, 0)",
"g": "query.armor_color_slot(1, 1)",
"b": "query.armor_color_slot(1, 2)",
"a": "query.armor_color_slot(1, 3)"
},
"textures": ["array.armor_texture[query.armor_texture_slot(1)]", "texture.enchanted"]
}
}

indigo trail
#

sorry, i dont have any expert knowledge about render controllers

#

you could try asking at the resource pack forrum

feral juniper
indigo trail
#

yeah

#

welcome

undone latch
#

it's how dyeable textures change their color

#

the non-transparent parts are the ones that will be colored, while the almost transparent parts are the parts that doesn't change color (it must be almost-transparent, making it fully transparent will make the texture empty)

feral juniper
undone latch
#

I see, so it is wonky to deal with

#

have you tried other dyeable material perhaps?

#

like leather armor for example

#

or even cats and dogs