Started by
IgorNk500
on
Topic category: Troubleshooting, bugs, and solutions
Hello! I came across this error when compiling my mod. Can anyone tell what this is?
> Task :compileJava
C:\MCreatorWorkspaces\123\src\main\java\net\becomeflowey\network\BecomefloweyModVariables.java:27: error: package net.becomeflowey.network does not exist
import net.becomeflowey.network.BecomefloweyModVariables;
^
C:\MCreatorWorkspaces\123\src\main\java\net\becomeflowey\network\BecomefloweyModVariables.java:33: error: cannot find symbol
public BecomefloweyModVariables(BecomefloweyModElements elements) {
^
symbol: class BecomefloweyModElements
location: class net.becomeflowey.BecomefloweyModVariables
C:\MCreatorWorkspaces\123\src\main\java\net\becomeflowey\procedures\FloweyDebugProcProcedure.java:7: error: package net.becomeflowey.network does not exist
import net.becomeflowey.network.BecomefloweyModVariables;
^
C:\MCreatorWorkspaces\123\src\main\java\net\becomeflowey\procedures\FloweyDebugProcProcedure.java:26: error: cannot find symbol
}.getEntity()).getCapability(BecomefloweyModVariables.PLAYER_VARIABLES_CAPABILITY, null).ifPresent(capability -> {
^
symbol: variable BecomefloweyModVariables
location: class net.becomeflowey.procedures.FloweyDebugProcProcedure
4 errors
What version of software do you use?
And if you use any plugins possibly?
Version - 2024.3.42716
Plugins:
Modified Geckolib 5.9.3 for 1.16.5,
Kleiders Custom Renderer 7.4.0
and generator 1.16.5 version 2.0
So this is 1.16.5 workspace?
In this case, best bet would be to get in touch with the author of the 1.16.5 plugin since MCreator generates code based on how this plugin instructs it