Posted July 1, 20196 yr I am a new modder basically trying to learn from scratch this summer, and I don't understand why when I load up the mod it can't find the model for the item adamantine_ingot (leaving a link to my GitHub below) and moved on to making other items without texturing them. Also, need one of my items to open a GUI from a hand and I don't understand what is all necessary to make one open. Like is it necessary for every type of GUI to have a newly registered handler(if so what is necessary for new handlers) or how many things need to be fulfilled? Also, what is the difference between playerin.displayGui() and NetworkHookup.OpenGui()? If you look through the rest of my code I know that I haven't been doing things for both server and client sides but was more concerned in getting the basic idea to work in the first place. Link to the model of adamantine_ingot: https://github.com/SRGTOblivious/BlocksAndBeholders/tree/master/src/main/resources/assest.blocksandbeholders link to the main page of Github: https://github.com/SRGTOblivious/BlocksAndBeholders
July 2, 20196 yr When you declare a texture, don't add the "PNG" suffix, it's implied [example here] Also, your setup method seems a rather roundabout way of simply adding a .setRegistryName to your registry entry [other example]. I'll have to leave the GUI question to someone else as I haven't tackled on of those since 1.7 /P
July 2, 20196 yr Author 6 hours ago, PhilipChonacky said: When you declare a texture, don't add the "PNG" suffix, it's implied [example here] Also, your setup method seems a rather roundabout way of simply adding a .setRegistryName to your registry entry [other example]. I'll have to leave the GUI question to someone else as I haven't tackled on of those since 1.7 /P I had tried a bunch of stuff, and went and did those fixes. But nothing. In fact, the weird thing is I followed the harry talk video the first time trying it and got everything to work except my texture and though it seems my syntax is the exact same it doesn't see the model in the first place. updating git hub to what it is now
July 2, 20196 yr Author So the reason it couldn't see my models was that the assets folder was labeled "assest" so now it sees my models but not the actual picture for the texture
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.