Jump to content

[FORGE 1.12.2] Stop GuiContainer to close when pressing "E" in TextField


Recommended Posts

Hello friends,

I'm new to mc modding and been running into a few flaws. I was able to get rid of most of them.

I've created a Block with a TileEntity and a GuiContainer which opens on right click.

So far so good. The problem is that it closes, whenever I'm pressing "E". Thats a problem because that even happens in the GuiTextField.

I guess the cause is, that this container acts like an inventory. 

Is it possible, to stop it from closing? Or do you know, which other Class I should extend this class from?

 

 

Thanks in advance! :D

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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