#Different bow animations and texture not working.

83 messages · Page 1 of 1 (latest)

foggy meadow
#

I made a 3d Minecraft compound bow model, but when I import the different models over the original in game models it gets rid of the texture and doesn’t show any model change?

plucky hearth
#

Does it show a missing texture ingame?

#

!faq output-log

normal ospreyBOT
# plucky hearth !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!)

foggy meadow
#

Yes It has no texture

#

Only when the bow.JSON is replaced

foggy meadow
#

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.

plucky hearth
#

!faq bow-model

normal ospreyBOT
# plucky hearth !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!
foggy meadow
#

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.

plucky hearth
#

custom is the folder that the models are in in this example

plucky hearth
foggy meadow
#

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?

plucky hearth
#

You don’t need a custom folder

foggy meadow
#

should they just be in the item folder inside of the models folder?

plucky hearth
#

Just put them in minecraft/models/item

#

Or make a new folder instead of item

foggy meadow
#

That is what I have as of now

foggy meadow
#

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!

foggy meadow
#

What is what one with this?

#

What is wrong with this?

#

Please help I have been struggling for a week

orchid halo
#

@foggy meadow you used the wrong brackets before the overrides section

foggy meadow
#

It is telling me it is wrong but it won't tell me why. What brackets should I use?

#

Thanks by the way!

orchid halo
#

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 ] )

foggy meadow
#

Ok thanks

plucky hearth
foggy meadow
#

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.

orchid halo
#

I'd need to see the bow.json to help with that

foggy meadow
#

It is only when it is not drawn back

#

or do you need the origininal bow.json file?

orchid halo
#

does it look like a pink/black cube?

foggy meadow
#

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?

orchid halo
#

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

normal ospreyBOT
# orchid halo !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!)

foggy meadow
#

Now I just made it a flat pink/black square.

orchid halo
#

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)

foggy meadow
#

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

orchid halo
#

with the bow.json you sent me or with the bow.json that gives you the pink/black square now?

foggy meadow
#

I don't know which one

orchid halo
#

... did you change the bow.json in your pack since you have sent it to me yes or no?

foggy meadow
#

Which one? The original that tells it which models to use or the blockbench bow.json?

orchid halo
#

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

foggy meadow
#

I'll just share my texture pack with you

orchid halo
# foggy meadow

didn't you say you added an overrides section to this bow.json?

foggy meadow
#

yes

orchid halo
#

well, it's not in that one

foggy meadow
#

so it uses the models in a seperate folder I named custom

orchid halo
# foggy meadow

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

orchid halo
foggy meadow
#

should I rename my blockbench bow models so it is not confused with the original bow.json?

orchid halo
#

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
foggy meadow
#

OHHH MY GOSH THANK YOU SOOOO MUCH!!!!!!!

#

I have been working on this for over a week!

#

YOUR THE BEST!

orchid halo
#

!close