Posted October 5, 20196 yr Hey, i want to make a gui like this: Can you help me ? thanks (the image is from https://paladium-pvp.fr a 1.7.10 modded server) Edited October 6, 20196 yr by DayZerd The problem is solved
October 5, 20196 yr 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 October 5, 20196 yr 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.
October 6, 20196 yr 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
October 6, 20196 yr 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
October 6, 20196 yr 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.
October 6, 20196 yr 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
October 6, 20196 yr 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 :
October 6, 20196 yr 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
October 6, 20196 yr 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 ?
October 6, 20196 yr Author 49 minutes ago, diesieben07 said: Have you looked at vanilla examples...? Yes but i don't understand
October 6, 20196 yr 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
October 6, 20196 yr 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.