Jump to content

Recommended Posts

Posted

Is is there anyway I can learn how to make guis that can be a menu or a health bar because I want to learn to make a gui health bar and a stamina bar I’ve been searching for ages and I cannot find a tutorial that explains the code or shows you how to do it. I want to learn these things so I can make a mod and develop even further with the knowledge 

Posted

I’ve watched a tutorial on how to make a gui and learned how a big just the key is the problem I assume it’s a key input event?

Posted

I guess, the main problem for him is gui rendering and packet exchanging because it's always the hardest part.

Building gui itself or detecting the key is a breeze.

Posted

packets is necessary for custom forms like to make your own form with aura etc and I’ve made the gui I’m pretty sure I have to make a if statement so that when it gets click on you need to have that item or it won’t register but I’ve also run into a problem

 

@Override
    protected void keyTyped(char c, int key) {
        switch(key){
        case Keyboard.Key_E:
            mc.displayGuiScreen(null);
        }
        super.keyTyped(c, key); Key_E cannot be resolved

Posted (edited)
On 8/30/2018 at 11:17 PM, Animefan8888 said:

Read the docs.

Problem is I’m using 1.7.10 and need to learn packets but can’t find a way and 1.13 would most likely be In kotlin Edit— my bad

Edited by Zayan23
Mistake
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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