#Different bow animations and texture not working.
83 messages · Page 1 of 1 (latest)
The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it: https://i.imgur.com/WbQZa6k.png
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
Try this and send the errors
Ok
What part there is allot of information
The texture is working right now
This is what it looks like in game
It just won’t switch to the different animations I made of it bending and loading an arrow.
!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!
Do I need to rename my files to match this? Why is it labeled custom?fire_bow_pulling0. What do I need to label the .JSON files?
I copied the overides from the original minecraft bow.JSON and pasted it into my blockbench bow.JSON model. The texture is now broken.
custom is the folder that the models are in in this example
Put all your bow models in a folder, and make a file like this but with your models instead
Do I need that folder if I want to replace the original texture on all bows?
Let me try that
Where should the custom folder be located?
You don’t need a custom folder
should they just be in the item folder inside of the models folder?
That is what I have as of now
Then do this
should I rename all of the item/ to the new folder name?
So is it possible to just replace the original bow models and name them the same things and to have it just work. I must be doing something wrong.
And thanks for the help by the way!
What is what one with this?
What is wrong with this?
Please help I have been struggling for a week
@foggy meadow you used the wrong brackets before the overrides section
https://jsonlint.com is your friend
JSONLint is the free online validator and reformatter tool for JSON, a lightweight data-interchange format.
It is telling me it is wrong but it won't tell me why. What brackets should I use?
Thanks by the way!
well, the "groups" section is opened with a [, so it has to be closed by a ]
and in the "group" section you have an open {, so you need to close that at some point too (before the ] )
Ok thanks
Oh that seems useful
All of the other models are working except for when it is just an item in my hand then it has no texture, but it switches when I start to use the bow.
I'd need to see the bow.json to help with that
It is only when it is not drawn back
or do you need the origininal bow.json file?
does it look like a pink/black cube?
original
yes
The models are working once I start to draw back the bow
Should I upload my texture pack file so you can go through it?
hmm, I don't see a problem with the bow.json itself 🤔 (which would be where the error should be based on your description)
does the output log throw any error or warning?
!faq output-log
The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it: https://i.imgur.com/WbQZa6k.png
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
Now I just made it a flat pink/black square.
use the bow.json you sent me and show/tell me what errors/warnings the output log throws
I can't help you otherwise (cause I see no error in the bow.json)
I am running optifine is it better if i just run the base game?
It says using missing texture, file minecraft:textures/custom/bow.png not found
with the bow.json you sent me or with the bow.json that gives you the pink/black square now?
I don't know which one
... did you change the bow.json in your pack since you have sent it to me yes or no?
Which one? The original that tells it which models to use or the blockbench bow.json?
well, you can only have one bow.json in your pack
(in models/item)
that's the only model the game will use for the bow item
I'll just share my texture pack with you
didn't you say you added an overrides section to this bow.json?
yes
well, it's not in that one
well, that bow.json you sent here has no overrides whatsoever though
you haven't told the bow.json in models/item to use bow.json in your custom folder
and it throws that error cause you told the bow.json (in models/item) to use that texture, which does not exist
should I rename my blockbench bow models so it is not confused with the original bow.json?
cause there is no texture in textures/custom called bow.png
just change your item/bow.json to this
{
"parent": "custom/bow",
"overrides": [
{
"predicate": {
"pulling": 1
},
"model": "custom/bow_pulling_0"
},
{
"predicate": {
"pulling": 1,
"pull": 0.65
},
"model": "custom/bow_pulling_1"
},
{
"predicate": {
"pulling": 1,
"pull": 0.9
},
"model": "custom/bow_pulling_2"
}
]
}```
then it should work
OHHH MY GOSH THANK YOU SOOOO MUCH!!!!!!!
I have been working on this for over a week!
YOUR THE BEST!
!close