My code does not compile, a cause of an error whith the tabs.

Started by its.sivoleck on

Topic category: Help with MCreator software

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My code does not compile, a cause of an error whith the tabs.

Hi, a friend and I were making a mod using the remote work space, he progressed for 2 weeks without making any comit while I was busy with classes, we had several creative tabs, but after deleting one of them it started to give errors.
The error is as follows: 
Running Gradle task: build 
Build info: MCreator 2024.3.42716, forge-1.20.1, 64-bit, 16193 MB, Windows 11, JVM 21.0.4, JAVA_HOME: D:\ModHollow\MCreator20243\jdk, started on: 2025-03-27-18:24:36 
APIs loaded: mcreator_link, geckolib 


BUILD FAILED 
Task completed in 7 seconds 

> Task :mcreatorLink UPDATED 
> Task :compileJava FAILED 
C:\UserspacesKeysa0\src\main\java\net\mcreator\HollowMod.java:54: error: package HollowModTabs does not exist 
       HollowModTabs.REGISTRY.register(bus); 
                    ^ 
1 error 
FAIL: Build failed with an exception. 
* What went wrong: 
Failed to execute the ‘:compileJava’ task. 
> Compilation failed; see compiler error output for details. 
* Try: 
> Run with --info option for more information. 
> Run with --scan for full information. 
BUILD FAILED in 3s 
1 actionable task: 1 executed 

BUILD FAILED 
Task completed in 5 seconds


it's strange because when we go to src/main/java/net/mcreator/modhollow/init, the file HollowModTabs.java doesn't exist, when we try to recreate it manually, when we compile and hit regenerate code it gets deleted, and we don't know how to get out of it :/
thank you for your patience