#1.21.11 texture error

1 messages · Page 1 of 1 (latest)

latent cave
#

Hello there! I'm working on a project to make spears into knives for a texture pack. I got the custom model to work but no matter how I path my files I can't seem to get the texture working.

If there is anything yall need please let me know :3

vernal wedge
#

did you make a custom model to recreate the normal look/behavior of a model with the generated parent?
we'll need to see the model file (preferably in ``` code blocks) and the file structure of your pack to be able to help

latent cave
#

Hello there!
To answer your first question I don’t really know what a generated parent actually is.
And for the second thing here is what i got

(The file btw is for "assassin_knife_model2")

vernal wedge
#

the generated parent is what vanilla uses for its simple flat item models. if you just want a model that looks like one of those, your model file just needs to look like this:

  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "<your texture path here>"
  }
}```
and the game will generate the model from your texture

your custom model as defined has all of its faces set to the texture `"#0"`, while the actual textures defined in your model are `"#1"` and `"#particle"`- though i do recommend just switching to the generated parent model as i mentioned, assuming there wasn't anything else you meant to be doing with that
#

if you want an item that is held like a sword etc, you can use the parent item/handheld instead

latent cave
#

Alright thanks! Il try that out!

latent cave
#

Ok so I tried out your suggestion and i got this
here is what i got for the file path
'{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "tlc:item/assassinknife"
}
}'

vernal wedge
latent cave
#

yeh its the new png
hang on im going to send the file structure again

#

"knife test" is the suggestion you gave me
i kept the old model just incase

vernal wedge
#

the texture is still named as assassionkinfe in this image, the model you sent is looking for assassinknife

latent cave
#

OH COME ON- XD

#

yep that was it. Thank you XD