Closed Anubiyo closed 13 hours ago
Save the code without locking the element
Without locking, your code will be overwritten on the next generation
Your ME is called Berserk2Procedure, so generated file name is Berserk2ProcedureProcedure.java, meaning class name must match this, but it your case it doesn't likely due to your code changes.
If you do changes to the code, make sure they are changes that are valid for Java syntax
Issue tracker rule checks (read carefully)
Issue description
I was making a enchantment mod for minecraft with mcreator, and didnt find the right parts in the normal procedure editor to make some stuff like percentages, so I started up the code editor version of it, and wrote my code there without limits. As I finished and began exporting my mod for its first launch, it told me that some of my elements dont compile with each other ( the code elements I made with code-editor ), I checked but everything was fine I even checked the knowledge Base and similar problems, but nothing helped, so I came here to ask for support and help on why its telling me these errors
How to reproduce this issue?
Step 1: Create a Procedure Step 2: Close and Save the Procedure, and go into code editor Step 3: Add some code Step 4: Save the code without locking the element ( tried it with locking too but doesnt seem to work either way ) Step 5: Try to test launch the mod or export it
Operating system
Windows
Details
Mcreator Version : 2024.3 Generator Version : Neoforge for 1.21.1 (21.1.65)
Example workspace
EnchantedHorizons.zip
Logs
Executing Gradle task: runClient Build info: MCreator 2024.3.42716, neoforge-1.21.1, 64-bit, 49143 MB, Windows 11, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-12-02-18:09:49
Reusing configuration cache.
BUILD FAILED Task completed in 2 seconds