#Texture missing

19 messages · Page 1 of 1 (latest)

main bramble
#

I am trying to modify a forge resourcepack to work with neoforge. what does this mean?

versed surgeBOT
#
Welcome to the help forum!

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.

urban stag
main bramble
#

they are in the textures/item folder i think

urban stag
main bramble
#

maybe my mtl file is not taking the texture from there?

urban stag
#

oh, is this an obj model?

main bramble
#

yeah

urban stag
#

!faq forge-obj

versed surgeBOT
# urban stag !faq forge-obj
FAQ
Modded: 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.

  1. Flip your model along the z axis, south and north are flipped in the exported obj models.
  2. Move your model by +8 on the x and z axis.
  3. Each cube and mesh, must have a unique name
  4. You can export the model now, default naming rules apply
  5. 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.png it is recommended to replace that with map_Kd #example. The # defines it as a variable and simplifies things a bit.
  6. 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.

urban stag
#

are you using this method?

main bramble
#

yeah and it works in forge

#

but not in neoforge

urban stag
#

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 🤔

main bramble
#

yeah im trying to figure that out

#

il play around with it and see what happens

main bramble
#

nvm solved it