Posted June 1, 20178 yr 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 June 2, 20178 yr by colejagdtiger
June 2, 20178 yr 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.
June 2, 20178 yr Author 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 June 2, 20178 yr by colejagdtiger
June 2, 20178 yr Author I figured it out I was stupid and for some reason the resources folder was not a source folder, thanks for the help.
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.