#Texture colors not working
40 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
I believe minecraft does that when it cant find a texture for it
I dont really know much about mods so i cant rlly help u further
thats a texture pack
can you open your .json model in a text editor and show the first couple lines of text?
also, if that's just gonna be a "flat model" (like most default item models), you can just replace your .json with something like this:
{
"parent": "item/handheld"
"textures": {
"layer0": "path/to_your/actual_texture"
}
}```
And you can also load this file into Blockbench if you wanna adjust display settings for example.
-# do not change anything in 'Edit' mode or it won't work/look correct!
{
"model": {
"type": "minecraft:select",
"property": "minecraft:component",
"component": "minecraft:custom_name",
"cases": [
{
"when": "fragger",
"model": {
"type": "minecraft:model",
"model": "rename_tutorial:item/fragger"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/netherite_sword"
}
}
}
but i wont item to change when i rename it
*want
I meant your model's .json file (since that controls the texture), not your item definition .json (which only controls which model it shows)
K, right now you are telling the game that your texture is directly in the textures folder
-# "2": "fragger",
as of 1.19.3 the game can only load textures from textures/item or textures/block. For other locations you need to either add the whole folder (which isn't possible in your case) or each texture manually into an extra file.
easiest fix would be to change it to "item/fragger" in those two texture lines and move your texture to textures/item
it currently is here
textures do not go into the models folder
and since you are in a custom namespace you'd need to adjust the texture paths in your model to something like
"rename_tutorial:item/fragger"
-# under the assumption your texture is in assets/rename_tutorial/textures/item/fragger.png
could you show wich lines are texture paths?
the two lines in the "textures" section of the model:
"textures": {
"2": "fragger",
"particle": "fragger"
},```
k, in that case try replacing your current .json model with this:
{
"parent": "item/handheld",
"textures": {
"layer0": "rename_tutorial:item/fragger"
}
}```
This should generate an item model from your texture ingame.
If you wanna adjust display settings you can load that file into Blockbench and adjust display settings
-# it won't show up in Blockbench like you have seen it ingame at first though, since Blockbench doesn't show the display settings the game inherits from the parent. But it doesn't matter since it will use your custom ones for the ones you edit anyways, so the custom display settings you make in BB will be what you see ingame
fragger.json or netherite_sword.json
your model (so fragger.json)
The item definition file (items/netherite_sword.json) stays as it is.
this is just a normal item model file basically
it works thanks
i have one more problem here i have a bow texture pack but bow_pulling_2.png isnt working and it just loads deafult texture