Jump to content

[1.20.1] The problem with OBJ models, ObjBlock, texture is not displayed in the obj model


KriperoNio

Recommended Posts

Hi )
Please help me figure out how to display the texture in the obj block. I have tried different ways, namely... I removed the extensions in mtl, added paths and changed them in all possible ways... I used vanilla textures, but still(

I'm not giving up, I'm just wondering if I'm missing anything.?? The model is shown... but there is no texture
Errors 0

Code:

new_year/block/custom/TestObj.java

Spoiler

сreating a block instance

 

new_year/block/TestBlocks.java

Spoiler

registration

 

assets/new_year/blockstates/test_obj.json

Spoiler

state

 

assets/new_year/models/block/test_obj.json

Spoiler

model

 

mtl In the same way

Spoiler

mtl

obj In the same way

Spoiler

obj

 

assets/new_year/textures/block/test_obj.png

this image

Edited by KriperoNio
Link to comment
Share on other sites

  • KriperoNio changed the title to [1.20.1] The problem with OBJ models, ObjBlock, texture is not displayed in the obj model

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.