Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

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

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

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.

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

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 :

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

  • Author
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 ?

  • Author
49 minutes ago, diesieben07 said:

Have you looked at vanilla examples...?

Yes but i don't understand

 

  • Author
19 minutes ago, diesieben07 said:

What do you not understand?

Because I take bad vanilla exemple (with AbstractGUI)  now I look exemple with Screen

  • Author

After check, I don't understand how work screens in minecraft. Do you have a simple exemple for the 1.14 ?

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.