Jump to content

Recommended Posts

Posted (edited)

Hello, when I attempt to give an item a texture it instead appears as a purple cube floating in the middle of the screen with text on it. According to the client log it is unable to find the json file, but I have no idea why as according to all the guides I check I am doing it right.

 

here is the code for the item, the client log, the file where items get registered and the json file.

https://gist.github.com/colejagdtiger/f15c0fcd3cfb4c69c1c8e4f8201619cd

 

Also the json file is located at resources.assets.testing.models.item encase I have sent the model loader looking for it in the wrong location.

Edited by colejagdtiger
Posted

All asset paths must be entirely lowercase. You are setting the model path using the registry name which contains capital letters. If that doesn't solve the problem, please post the latest log.

Posted (edited)

 

2 hours ago, Jay Avery said:

All asset paths must be entirely lowercase. You are setting the model path using the registry name which contains capital letters. If that doesn't solve the problem, please post the latest log.

Changed the registry name and unlocalized name to dark_ingot however I am still getting the same problem.

 

Here is the new client log

https://gist.github.com/colejagdtiger/340a889b12d9bfb3f6cd7b9d32cc2c66

Edited by colejagdtiger

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.

Announcements



×
×
  • Create New...

Important Information

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