Procedure to enable/disable GUI buttons

Published by uSkizzik on Tue, 08/18/2020 - 11:33
Status
Migrated
Product/platform
Not applicable
Priority
Normal
Issue description

It would be really cool if you can add conditions for buttons in GUI with procedures.
For example, I want the player to be holding a specific item in order to click the button. If he doesn't have the item in hand, the button will be grayed out. Just like the open to LAN button when the world is already opened to LAN

Issue comments

Enabling and disabling buttons is not something that can be controlled by condition, but could be controlled by a procedure block (client-side only, though).



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.