#Texture missing
19 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.
That it cannot load the textures from the location assets/minecraft/textures because that is not a valid location according to the "blocks" atlas.
they are in the textures/item folder i think
For context, the default blocks atlas only grabs textures from within textures/item and textures/block.
maybe my mtl file is not taking the texture from there?
then the texture path in your model is not pointing there correctly
open the .json model in a text editor and make sure it says stuff like "0": "item/dark" and not "0": "dark"
oh, is this an obj model?
yeah
!faq forge-obj
Forge does allow you to use .obj models in Minecraft, without making a mod.
Here is a step by step guide how to use that feature.
- Flip your model along the z axis, south and north are flipped in the exported obj models.
- Move your model by +8 on the x and z axis.
- Each cube and mesh, must have a unique name
- You can export the model now, default naming rules apply
- You'll have to edit the .mtl file, it has paths to your textures and those need to be adjusted for MC resourcpacks. Here is an example,
map_Kd example.pngit is recommended to replace that withmap_Kd #example. The # defines it as a variable and simplifies things a bit. - You'll have to create a JSON file for your model, with following content:
{
"loader": "forge:obj",
"model": "<path to your obj model>.obj",
"flip-v": true,
"textures": {
"particle": "<path to particle texture>",
"example": "<path of the another texture>"
}
}
The example in the textures here, is the replacement for the variable we defined in step 5.
This makes it possible to use this .obj model for various different blocks now as you'd do with normal models.
That is basically it, it's not too complex once you get the hang of it.
You can also define display settings in the json file.
are you using this method?
hmm, not sure then, I unfortunately have no experience with modded stuff and mtls in general :/
though it is reading the textures from somewhere, seeing how it throws that error 🤔
nvm solved it