Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing on screen 1.18.1 #163

Open
L1ski opened this issue Jan 11, 2022 · 5 comments
Open

Drawing on screen 1.18.1 #163

L1ski opened this issue Jan 11, 2022 · 5 comments

Comments

@L1ski
Copy link

L1ski commented Jan 11, 2022

I cant find way to make GUI for my client. There isnt drawScreen or anything that was in previous versions, so does anyone know how i can resolve this issue?

@L1ski L1ski changed the title Drawing on screen Drawing on screen 1.18.1 Jan 11, 2022
@orbyfied
Copy link

orbyfied commented Jan 31, 2022

I think you'll have to use the OpenGL interfaces (LWJGL, GlStateManager, etc.) and abstract it away yourself, I'm not 100% sure though.

@Melonthedev
Copy link

You just have to look into the class and its methods, it's not drawScreen anymore. Now it's called render(). I've made a simple example on how to use the screen class and add buttons, sliders, render entities in gui etc here

Hope this can help you :)

@Legion64
Copy link

@Melonthedev If you allow me, I would love to contact you regarding this matter. Do you have any discord channel or any other social media account? By the way, I loved the helpful resource. There is really good information.

@Melonthedev
Copy link

@Melonthedev If you allow me, I would love to contact you regarding this matter. Do you have any discord channel or any other social media account? By the way, I loved the helpful resource. There is really good information.

Sure, my discord is Melonthedev#1848.

@Legion64
Copy link

Legion64 commented Jul 15, 2022

@Melonthedev Thank you so much for accepting me. My Discord is Escanor#4071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants