Started by
SnailsAttack
on
Topic category: Feature requests and ideas for MCreator
Quite a few of MCreator's limitations can be resolved by directly editing the workspace element .mod.json files, but this is inconvenient for a few reasons:
- There's no shortcut to view or edit the element files from within MCreator.
- Although you could alternatively edit the .java code generated from the element .mod.jsons, any changes you make are lost unless you lock the element.
-
Changes that are made to the element .mod.jsons externally via text editor are not updated live; you have to close and reopen MCreator to actually view and save any edits.
Editing the element .mod.jsons of GUI menus is currently the only way to change the size of buttons and text fields.

I think that the addition of a way to view and edit the element .mod.json files directly from within MCreator using the builtin code editor would be a very useful feature to consider implementing.
DISCLAIMER: editing the element files with an external text editor can cause workspace corruption
Edited by SnailsAttack on Thu, 01/30/2025 - 10:36
Those files are not meant to be edited by hand. Everything that can and is safe to be changed can be changed in UI. Editing those files by hand risks breaking MCreator in very chaotic ways
You can set size by right-clicking while dragging the component using move tool
Thanks for the warning, I'll add a disclaimer.
I've never been able to get this to work