I have not added the texture yet, but I created this improved code. The item "Dentyne....Gum" has the same name as the registry name and I think that it is not registering the name but the item. I don't really know but I am assuming that this makes the RegistryName useless. And do I need to do any of this on another file?
Thanks for all the info.
I have the 1.11 version is that a problem, because that may be one of the reasons that this isn't workin with the info I am getting. I am probably still not doing it right but maybe I need to do different things based on the version I am on. Thanks.
I tried setting Registry name with the name of the item but it keeps on saying to change the item to a resource location and if I do it messes everything up. I read the documentation on RegistryLocation, but it never says how to set it.
I am a beginner at modding. I am registering my item, but it will never show up in the game when I run the code. I am probably doing many things wrong, I just don't know what.