#texture pack help, please!

1 messages · Page 1 of 1 (latest)

astral cradle
#

for the past few hours or so i've been attempting to create a custom model data resource pack. i can send my pack if needed, but the path of the textures is assets->minecraft->models->item->ingot, and the json file is in models. am i doing this right?

frank stirrup
#

the textures should be assets/minecraft/textures/item/ingot.png
json file assets/minecraft/models/item/ingot.json

#

using "model": "custom/ingot" in your assets/minecraft/models/item/iron_ingot.json file for example would lead to the .json file at assets/minecraft/models/custom/ingot.json

    "overrides": [
        {"predicate": {"custom_model_data":1010}, "model": "custom/ingot"}
       ]
#

And if you open assets/minecraft/models/custom/ingot.json
and define the textures as such

    "textures": {
        "0": "item/ingot",
        "particle": "item/ingot"
    }

it leads to assets/minecraft/textures/item/ingot.png

#

Hope that makes sense and clears up some confusion

#

I purposefully used different names for folders custom and item to show you that it can be anything for the custom .json and .png files

frank stirrup
astral cradle
# frank stirrup the textures should be `assets/minecraft/textures/item/ingot.png` json file `ass...

i moved the textures to assets/minecraft/textures/item/ingot/ingot.png and the json file still resides in assets/minecraft/models/item/netherite_ingot.json. code of my json below, i dont see what i did wrong still

{
    "parent": "item/generated",
    "textures": {
        "layer0": "item/netherite_ingot"
    },

    "overrides": [
        {"predicate": {"custom_model_data":1}, "model": "ingot/emberingot_resized"},
        {"predicate": {"custom_model_data":2}, "model": "ingot/frozenfusion_resized"},
        {"predicate": {"custom_model_data":3}, "model": "ingot/magmaalloy_resized"},
        {"predicate": {"custom_model_data":4}, "model": "ingot/abyssingot_resized"}
    ]
}
#

theyre named "x_resized" because i had to resize the image to 16x16

#

textures appear as the big purple and black block

frank stirrup
astral cradle
#

wdym

frank stirrup
#

should look something like this

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "item/ingot/ingot"
  }
}
astral cradle
#

put a json in the image?

frank stirrup
#

you make another json

#

that the cmd leads to

#

this part "model": "ingot/emberingot_resized" refers to a .json file

astral cradle
#

ohhhhh

frank stirrup
#

then the .json file defines everything about that custom model

#

including, but not limited to, texture

astral cradle
#

ohhh so what would it look like for ember then

frank stirrup
#

presumably ```json
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "item/ingot/emberingot_resized"
}
}

frank stirrup
astral cradle
#

yeah

frank stirrup
#

and reflect that change in the .json file's name

astral cradle
#

still doesnt work @frank stirrup

#

is it possible that i can just send the texture pack?

frank stirrup
#

sure

astral cradle
#

ok let me throw it in a zip really quick

frank stirrup
#

so right now

#

inside netherite_ingot.json

#

you have "model": "ingot/emberingot_resized"

#

but emberingot_resized.json is in the item folder not the ingot folder

astral cradle
#

ohhh

#

fixed it, ilysm

frank stirrup
#

glad it's workin!

#

there was a resource pack guide I used to link to but I think it's down now