Page 1 of 1

Bow animation is not ingame

Posted: 04 Sep 2017, 20:35
by zx4000
so i have started making textures for the minecraft bow which works inside minecraft, but i have now tried making a bow animation for the pulling but it wont load into the game for me and just keeps the new bow design but at a strange angle. would anyone be able to find out why this is not working? it is saved into the same place the model is saved? MANY THANKS!

Re: Bow animation is not ingame

Posted: 05 Sep 2017, 07:12
by Geenium
The animation for the bow is made using predicates, these are actually included in the bow.json by default.
When you made the custom model you've removed the predicates from the bow model, you need to add the predicates back into the bow.json.

Add this into your bow.json file:

Code: Select all

"overrides": [
    {
        "predicate": { "pulling": 1 }, "model": "item/bow_pulling_0"
    },
    {
        "predicate": { "pulling": 1, "pull": 0.65 }, "model": "item/bow_pulling_1"
    },
    {
        "predicate": { "pulling": 1, "pull": 0.9 }, "model": "item/bow_pulling_2"
    }
]