#No Model Item/Block Error
24 messages · Page 1 of 1 (latest)
!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!)
If you don't understand the errors/warnings feel free to show and ask about them (in a help channel).
I found what the problem is so how do I fix it? sorry if Im asking too much btw Im still new to all of this
which item is your model there?
for the diamond sword I've got the sword in the image I sent at the beginning, the netherite sword is a diff sword with the same error from what it looks like
"parent": "item/generated",
"textures": {
"layer0": "item/diamond_sword"
},
"overrides": [
{"predicate": {"custom_model_data":1}, "models": "block/custom/holysword"}
]
}
this is the json file I have for the diamond sword to convert into the holysword whenever I used the custom model data
you are missing a { at the start of your diamond_sword.json
Now it's saying it needs to find a string
oh I've kind of fixed it
we've got the model now I just need to fix the textures issue
I've fixed the main model issue tho thanks so much
send your diamond_sword.json as it is now please
{
"parent": "item/generated",
"textures": {
"layer0": "item/diamond_sword"
},
"overrides": [
{"predicate": {"custom_model_data":1}, "model": "block/custom/holysword"}
]
}
hmm, that looks correct 🤔
the error was because I had model renamed to models, was like 3 am when I did that it was just a dumb move from me thinking I had to rename it with the models file
ah
This is what I've got so far
well, that's a start
Im going to re update the textures on the left one in blockbench
It might have something to do with diff version textures
It's a massive improvement tho thanks a lot
Yeah I knew what the problem was with the texture of the other sword, just need to fix those bits that are untextured
alright I've fixed the entire thing it looks good, thanks again man I appreciate it