#bow animation not showing
1 messages · Page 1 of 1 (latest)
We need more information such as code, video of the issue etc.
well its not really my addon (dunno if thats not allowed) but the bow pulling textures are there, however they are placed in subfolders
also in the item texture json the bow textures r mapped (dunno if thats the correct term) but not the pulling textures (dunno if thats normal)
for context i am dealing with many bows
The pulling textures are defined in the attachable of the bow not item_texture.json.
well im no expert on code but it looks like this
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "new:mini_bow",
"materials": {
"default": "entity_alphatest",
"enchanted": "entity_alphatest_glint"
},
"textures": {
"default": "textures/items/mini_bow",
"bow_pulling_0": "textures/items/mini_bow_pulling_0",
"bow_pulling_1": "textures/items/mini_bow_pulling_1",
"bow_pulling_2": "textures/items/mini_bow_pulling_2",
"enchanted": "textures/misc/enchanted_item_glint"
},
"geometry": {
"default": "geometry.bow_standby",
"bow_pulling_0": "geometry.bow_pulling_0",
"bow_pulling_1": "geometry.bow_pulling_1",
"bow_pulling_2": "geometry.bow_pulling_2"
},
"animations": {
"wield": "animation.player.bow_custom.first_person",
"thierd": "animation.player.bow_custom",
"wield_first_person_pull": "animation.bow.wield_first_person_pull"
},
"scripts": {
"animate": [
{"wield": "c.is_first_person"},
{"thierd": "!c.is_first_person"},
{
"wield_first_person_pull": "query.main_hand_item_use_duration > 0.0f && c.is_first_person && (temp.value = 0; temp.index = 0; loop(27, {temp.value = (query.is_item_name_any('slot.inventory', temp.index, 'new:mini_arrow') || (query.is_item_name_any('slot.hotbar', temp.index, 'new:mini_arrow'))); temp.value ? {return temp.value;}; temp.index = temp.index+1;}););"
}
]
},
"render_controllers": [ "controller.render.bow_custom" ]
}
}
}```
render controller
"format_version": "1.10",
"render_controllers": {
"controller.render.bow_custom": {
"arrays": {
"textures": {
"array.bow_texture_frames": [
"texture.default",
"texture.bow_pulling_0",
"texture.bow_pulling_1",
"texture.bow_pulling_2"
]
},
"geometries": {
"array.bow_geo_frames": [
"geometry.default",
"geometry.bow_pulling_0",
"geometry.bow_pulling_1",
"geometry.bow_pulling_2"
]
}
},
"geometry": "array.bow_geo_frames[query.scoreboard('using')]",
"materials": [ { "*": "variable.is_enchanted ? material.enchanted : material.default" } ],
"textures": [ "array.bow_texture_frames[query.scoreboard('using')]", "texture.enchanted" ]
}
}
}
```
and if it helps im using multiple addons
It's using q.scoreboard in render controller which is deprecated and does not work on client side unless the objective is set to display.
It's not simple but for now just try running this command:-
/scoreboard objectives setdisplay using sidebar
it says no objective found
Oh sorry, it should be:-
/scoreboard objectives setdisplay sidebar using
Does the value of using change when you use the bow ?
cant see it
It should show up at the right side of the screen if you had ran the command I sent.
or maybe the author hid it using JSON UI.
It's better to contact them.
yea i think