#item disappear

18 messages · Page 1 of 1 (latest)

silver needle
#

Hi i nead help my model item just disappear

mystic mountain
#

Can you give more information? What did you change to make it disappear? Or was it always like that?

silver needle
#

i want my model to be on a trident

#

so i change it from axe to trident

#
 "textures": {
  "layer0": "item/trident"
 },

 "overrides": [
  { "predicate": {"custom_model_data": 1000}, "model": "item/stormbreaker"}

 ]

 
}```
#

this is trident.json

silver needle
verbal wren
# silver needle this is trident.json

Unfortunately the trident model is weirdly hardcoded.
Also, even if that were on any other item, you would be missing the "parent": "item/generated" (or whatever parent the item has) part

#

That missing parent is probably why it's invisible, since it has no model information whatsoever it won't load anything.

And since the trident is weirdly hardcoded it ignores the overrides section iirc (don't quote me on that last part, tridents are weird)

silver needle
#

You meen it needs to be like this: ```{
"parent": "item/generated"
"textures": {
"layer0": "item/iron_axe"
},

"overrides": [
{ "predicate": {"custom_model_data": 1000}, "model": "item/stormbreaker"}

]

}```

verbal wren
#

I mean that one parent line, yes

silver needle
#

Failed to load model minecraft:models/item/iron_axe.json

#

that the error

#

it looks like that

verbal wren
#

(TL;DR you are missing a comma at the end of the parent line)

mystic mountain
#

You can use jsonlint.com to validate all your jsons to check for syntax errors by the way