SHOWGUI

SHOWGUI(<screen>,[esc_screen],[macro_keys])

Type: Action

Category: Mod related

Permission: N/A

Since Minecraft Version: v1.5.2

Since Version: v0.9.9

Minor: 9

API: 10

Patch: 9


Description

Show a custom gui screen, creates it if it doesn't exist.

Set [macro_keys] to true when macro keys should still work.


Changelog
  • Added em v0.9.9:
  • Fixed em v0.14.1: Was previously not closing current custom screen when called with no arguments
  • Updated em v0.14.1: Third argument to allow macro keys to still function when a custom GUI is displayed
  • Updated em v0.12.1: Now creates the screen if it doesn't exist yet