#how to make bow pull animation

25 messages · Page 1 of 1 (latest)

sick patio
#

basically ill make it quick but im trying to make a bow but i dont really know how to make it at ALL (i use fabric CIT Resewn 1.21) i have all the animations done just dont know how to make it work ingame

fossil sonnetBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

fossil sonnetBOT
#
FAQ
Java: 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!
sick patio
#

i still need help btw 😭

bronze pivot
sick patio
#

thanks i’ll check it out :D

sick patio
#

which file do i put the stuff in

bronze pivot
#

should work the same on Fabric CIT 🤔

#

the .properties file

sick patio
#

okay thats what ive been doing

#

do i need to add .json at the end

#

and does each pulling model need a properties folder

bronze pivot
#

nah, should be one .properties file called something like your_bow.properties

sick patio
#

i could just send you a screenshot of what mine looks like?

bronze pivot
#

sure, though not sure how helpful I'd be (haven't actively used Optifine (or any of its replacenment mods) since 1.8)

sick patio
#

ohhh okay well ill take whatever i can get if you dont mind

#

ill delete the .json but it didnt work before so i tried it with the .json

#

oh i missed two "_"

#

prob wont fix it oopos

#

yea no it didnt

bronze pivot
#

yeah, shouldn't have .json

#

are those bowow models all in the same folder as the .properties file?