MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from forums are still considered and checked by the maintainers.
There is a procedure for this already.
Using the hack for this is a bad idea. Use proper approach for this using item inventories if one wants to make portable crafting like UIs.