Jump to content
Team Avolition
Barais

Draggable GUI issues

Recommended Posts

Barais    0

So, I’ve got my own custom client and draggable GUI. Good right? Well, sorta. My issue is that whenever I bring up my menu, it displays it just fine and I can drag but i then can’t go back to the ingame screen. Would I need to do something in my GUI class or some other class to be able to go “back”

Share this post


Link to post
dejordzta    1687

How have you got your "draggable" ui setup? Is it setup to extend Minecraft's GuiScreen? If so you should just be able to press the escape key to return in-game..

Otherwise, calling minecraft's display gui function with null parameters should take you back in-game.

Without code or specifics we can't really be of much more help, sorry.

Share this post


Link to post
Barais    0
On 7/5/2019 at 5:48 AM, dejordzta said:

How have you got your "draggable" ui setup? Is it setup to extend Minecraft's GuiScreen? If so you should just be able to press the escape key to return in-game..

Otherwise, calling minecraft's display gui function with null parameters should take you back in-game.

Without code or specifics we can't really be of much more help, sorry.

I got it fixed. I did an oof and placed it in an if statement instead of it being in my checkKey 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×