target.san Posted June 7, 2013 Posted June 7, 2013 Hi everyone! Could please someone point me on these topics: 1. Where's vanilla inventory background is drawn 2. Where's vanilla GUI handling/crafting logic is located 3. Is it actually legit to take vanilla inv. background and modify it The reason for all this - I want to make armor upgrade (or like), which, when worn, converts standard 2x2 crafting grid to 3x3 one. Thanks, Target-san Quote
fhntv24 Posted June 7, 2013 Posted June 7, 2013 just make you own GUI,and bing opening of it to vanilla MC button.Backround of it is placed in Minecraft.jar/GUI.You can edit it,i think. p.s. all GUI's is in net.minecraft.client.gui Quote
target.san Posted June 7, 2013 Author Posted June 7, 2013 Thanks for info, though I'm aware of this. I was looking for some more details, on where's this code resides. Quote
fhntv24 Posted June 7, 2013 Posted June 7, 2013 http://www.minecraftforge.net/wiki/tutorials <- here you can find evrething what you need.that is GUI and bla bla.Make GUI,and make you Keybind handler,and when X button pressed,open gui.If you dont know how to make Keybind handler,there is EE3 source's.I will send link if you want. Quote
fhntv24 Posted June 7, 2013 Posted June 7, 2013 p.s. if you need code of vanilla inventory,it's in net.minecraft.client.gui! Quote
Recommended Posts
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.