Topic category: Troubleshooting, bugs, and solutions
Hello, MCreator 2022.3 on mac has a very annoying error (Click the link to see the main topic for this error) that causes MCreator to freeze completely when a workspace from 2022.2 is automatically regenerated. To prevent this, I downloaded the source and removed the code that starts the automatic regeneration, since the manual regeneration works fine. When I use gradle run build
or gradle runMCreator
it works fine, but I would like to compile the code to a proper executable, but don't know how.
Can anybody tell me how I compile the source code to an executable for mac (Of course the method has to work on a mac since I use one)?
PS: Sorry if this is the wrong forum section, I don't know really where to post it
The code to compile MCreatore has been made to run on Windows only. If you want to compile it, you will need to write your own code as WIndows and Mac, Linux/Unix don't work the same way in their core.
That is not entirely true.
MCreator can be exported on Windows and Linux. In fact all binaries publicly downloadable are compiled on Linux.
You will need to use Linux VM for example, and export using
gradle exportMac
taskIf you figure out why this happens (without removing this code part but finding true solution), we can merge fix into core.
We would fix this if one of devs could reproduce this.