#is it possible to make a bow that gets animated like a normal minecraft bow?
10 messages · Page 1 of 1 (latest)
!faq java-bow
Question 'java-bow' not found!
!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!
thanks
!faq default-pack
Disclaimer: Use these packs as REFERENCE, don't put your models inside them, it just increases your pack needlessly. Also don't put any of the unedited files from it into your own pack. The distributions of default assets in your pack is illegal.
For Java Edition:
(This works the same for all versions, 1.17 is just used as an example here)
Go to .minecraft/versions/1.17 and open the 1.17.jar in there with a zip program. Alternativley you can copy the .jar file and change the file extension to .zip and double click it.
Extract/copy the "assets" folder inside the jar somewhere. It contains all the default models/textures.
For Bedrock Edition:
Go to https://docs.microsoft.com/en-us/minecraft/creator/documents/resourcepack and scroll to "Building the Resource Pack". The download for the vanilla resource pack can be found right above that title.
Alternatively here is the direct download link: https://aka.ms/resourcepacktemplate
where do i put this text?