#bow is not working with charging

1 messages · Page 1 of 1 (latest)

tribal prairie
#

wait

#

!faq bow-model

dusk portalBOT
# tribal prairie !faq bow-model

You can DM me or go to #benchbot-commands to use more commands instead of using them here in the chat.
This helps to prevent filling random channels with bot messages and if you use DMs it gives you an easy way to read up on previous questions you asked me.

tribal prairie
#

ok

tribal prairie
#

ok i cant figure out where to paste the override

#

!faq bow-model

dusk portalBOT
# tribal prairie !faq bow-model

This is an example of an overrides section of the bow.json to add more bows for the vanilla Java Edition.
If you don't know how/where to add this to your bow.json file, copy the one from the default pack (check !faq default-pack if you don't know how to get the files) and replace the overrides section in there with this:

"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" },

        { "predicate": { "custom_model_data": 1 }, "model": "custom/fire_bow" },
        { "predicate": { "custom_model_data": 1, "pulling": 1 }, "model": "custom/fire_bow_pulling0" },
        { "predicate": { "custom_model_data": 1, "pulling": 1, "pull": 0.65 }, "model": "custom/fire_bow_pulling1" },
        { "predicate": { "custom_model_data": 1, "pulling": 1, "pull": 0.9 }, "model": "custom/fire_bow_pulling2" }
]```
**Explanation of the predicates:**
_pulling_ = bow gets pulled (either 0 or 1)
_pull_ = how much is the bow pulled in % (numbers from 0 to 1)

You can also have more/less pull models if you want it to look smoother btw.
Keep in mind that the order of predicates matters. It will always use the model of the last predicate in the list whose conditions are all met!
lone frost
tribal prairie
#

i think i have it but ill test it first

#

nope

lone frost
#

you add the overrides, add predicates in the overrides and specify the values the predicates need to have

lone frost
tribal prairie
#

yeahi just dont understand it

#

like it gives me something to paste in but you are telling me to go through manually

#

i havent added any animations just all 3 of the original ones

lone frost
#

I said absolutely nothing about animations

tribal prairie
#

then i am confused

#

im trying to get the animation working

lone frost
#

and I'm giving you a way to do this in Blockbench INSTEAD of having to manually put that in your .json file directly

#

the faq explains that you would need to copy something like that into your .json
I am explaining to you how you can do it in Blockbench instead of needing to edit .json and watch out for .json syntax etc.

tribal prairie
#

would it be something like this?

#

I havent really ever done anything like this in blockbench so i dont know how to do this

lone frost
#

you just told it to use bow.json when your bow is being pulled and is pulled 100%

tribal prairie
#

oh ok i understand

lone frost
#

(and as said before, you only need the first 3 overrides since you aren't using custom_model_data stuff)

tribal prairie
#

yeah i got it working thanks

#

!close