Jump to content

How do I make Guis


Zayan23

Recommended Posts

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 

Link to comment
Share on other sites

6 minutes ago, Zayan23 said:

So, I need to learn packets so that I can create a custom form but which tutorial explains the packet system well?

Read the docs.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 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.