MCP-Reborn icon indicating copy to clipboard operation
MCP-Reborn copied to clipboard

Drawing on screen 1.18.1

Open L1ski opened this issue 3 years ago • 5 comments

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 avatar Jan 11 '22 16:01 L1ski

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

orbyfied avatar Jan 31 '22 01:01 orbyfied

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 :)

Melonthedev avatar Jun 22 '22 20:06 Melonthedev

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

Legion64 avatar Jul 15 '22 06:07 Legion64

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

Melonthedev avatar Jul 15 '22 07:07 Melonthedev

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

Legion64 avatar Jul 15 '22 07:07 Legion64