#Can you do a attachable with data?
1 messages · Page 1 of 1 (latest)
cause this isnt working
{
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "minecraft:banner:4",
"render_controllers": ["controller.render.item_default"],
"materials": {
"default": "entity_alphatest",
"enchanted": "entity_alphatest_glint"
},
"textures": {
"default": "textures/entity/banner/blue_banner",
"enchanted": "textures/misc/enchanted_item_glint"
},
"geometry": {
"default": "geometry.banner_blue"
},
"animations": {
"first_person_hold": "animation.banner_blue.first_person_hold",
"third_person_hold": "animation.banner_blue.third_person_hold"
},
"scripts": {
"animate": [
{
"first_person_hold": "c.is_first_person"
},
{
"third_person_hold": "!c.is_first_person"
}
]
}
}
}
}```
I don't believe that you can.
bruh
What is the data used for?
like different banner colors
You can add multiple texture to attachable using the render controller of the attacchable, like the horse skin. Then you can change this thexture using player propertirs and other query, but is a little advanced
code?
For multiple texture you can see the vanilla file of the horse for example: horse.entity.json and horse.render_controller.json