Jump to content

Recommended Posts

Posted (edited)
2 minutes ago, DayZerd said:

Hey, i want to make a gui like this:

What version are you using and how much code do you have?

Edited by Animefan8888
Already provided.

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.

Posted
55 minutes ago, DayZerd said:

I don't have any code for the gui

You need an object to let the player open the GUI first, such as an item, a tileentity, or an entity. And when player do stuff with them, you show up GUI to them

Posted
10 hours ago, poopoodice said:

You need an object to let the player open the GUI first, such as an item, a tileentity, or an entity. And when player do stuff with them, you show up GUI to them

I have a key for that but idk how to open a gui in 1.14

Posted
2 minutes ago, DayZerd said:

I have a key for that but idk how to open a gui in 1.14

I don't know about 1.14, but in 1.12.2 you use player.openGui()

And ofc you need a registered gui class which represents what your GUI looks like and what it can do.

Posted
57 minutes ago, poopoodice said:

I don't know about 1.14, but in 1.12.2 you use player.openGui()

And ofc you need a registered gui class which represents what your GUI looks like and what it can do.

Dosen't work in 1.14

Posted

mcjty has done some tutorial on making if you got an idea of changing this to make a new gui for 1.14 that fit what you wanted, I would be interested in. What he does is not really what you want nor it is not what I wanted because it involves inventory.

Here is the video :

Posted
29 minutes ago, matt1999rd said:

mcjty has done some tutorial on making if you got an idea of changing this to make a new gui for 1.14 that fit what you wanted, I would be interested in. What he does is not really what you want nor it is not what I wanted because it involves inventory.

Here is the video :

Thanks but i need a gui, not a container

Posted
47 minutes ago, diesieben07 said:

If the GUI has any server-side interaction at all, you do need a container (which is the server-side part of a GUI).

If the GUI really is only client side (which means it can only display things, not change anything) then you can just open a Screen using Minecraft#displayGuiScreen.

Ok thx but how to create the screen ?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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