Bow pulling models not working [Solved]
Bow pulling models not working [Solved]
So I created a model for each of the bow_pulling_0/1/2.json and one for the bow.json itself but the individual models are not used when I pull my bow in-game, from what I heard you need to put a piece of the default bow.json code into your custom bow.json but I don't know what and where, if anyone could help me out that'll be great.
0 x
Re: Bow pulling models not working
So the issue I think your having is that when you created a model for the bow, you replaced all the overrides for the pulling animation.
This is the original json for the bow, it has all the overrides etc. so what you need to do it change your bow model to something else, like bow_standby but you can really name it what ever you want, then all you have to do it change the first couple lines to parent to that model rather than a generated texture.
doing that should make it have all the overrides and your bow should work perfect.
Code: Select all
{
"parent": "item/generated",
"textures": {
"layer0": "items/bow_standby"
},
"display": {
"thirdperson_righthand": {
"rotation": [ -80, 260, -40 ],
"translation": [ -1, -2, 2.5 ],
"scale": [ 0.9, 0.9, 0.9 ]
},
"thirdperson_lefthand": {
"rotation": [ -80, -280, 40 ],
"translation": [ -1, -2, 2.5 ],
"scale": [ 0.9, 0.9, 0.9 ]
},
"firstperson_righthand": {
"rotation": [ 0, -90, 25 ],
"translation": [ 1.13, 3.2, 1.13],
"scale": [ 0.68, 0.68, 0.68 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 90, -25 ],
"translation": [ 1.13, 3.2, 1.13],
"scale": [ 0.68, 0.68, 0.68 ]
}
},
"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"
}
]
}
Code: Select all
{
"parent": "item/generated",
"textures": {
"layer0": "items/bow_standby"
},
Code: Select all
{
"parent": "item/bow_standby",
0 x
- Cookiesnom
- Early Adopter
- Posts: 45
- Joined: 29 Apr 2015, 07:54
- Location: New Zealand
- Likes: 4 x | 9 x
Re: Bow pulling models not working
ye it worked, thanks a lot!Cookiesnom wrote: 02 Jul 2018, 11:10 So the issue I think your having is that when you created a model for the bow, you replaced all the overrides for the pulling animation.This is the original json for the bow, it has all the overrides etc. so what you need to do it change your bow model to something else, like bow_standby but you can really name it what ever you want, then all you have to do it change the first couple lines to parent to that model rather than a generated texture.Code: Select all
{ "parent": "item/generated", "textures": { "layer0": "items/bow_standby" }, "display": { "thirdperson_righthand": { "rotation": [ -80, 260, -40 ], "translation": [ -1, -2, 2.5 ], "scale": [ 0.9, 0.9, 0.9 ] }, "thirdperson_lefthand": { "rotation": [ -80, -280, 40 ], "translation": [ -1, -2, 2.5 ], "scale": [ 0.9, 0.9, 0.9 ] }, "firstperson_righthand": { "rotation": [ 0, -90, 25 ], "translation": [ 1.13, 3.2, 1.13], "scale": [ 0.68, 0.68, 0.68 ] }, "firstperson_lefthand": { "rotation": [ 0, 90, -25 ], "translation": [ 1.13, 3.2, 1.13], "scale": [ 0.68, 0.68, 0.68 ] } }, "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" } ] }
Code: Select all
{ "parent": "item/generated", "textures": { "layer0": "items/bow_standby" },
doing that should make it have all the overrides and your bow should work perfect.Code: Select all
{ "parent": "item/bow_standby",
0 x
3 posts
• Page 1 of 1