Started by
Cioss
on
Topic category: Help with MCreator software
So I'm trying to make a mod, and it keep saying I don't have enough ram when I have enough, I'm on a 64 bit PC and using the 64 bit program and I tried the basic solutions for this fix but it doesn't work.
Console contents on pastebin and link them here please
Executing Gradle task: build
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 7, JVM 1.8.0_232, JAVA_HOME: C:\Users\utilisateur\Desktop\MCreator20202\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
C:\Users\utilisateur\MCreatorWorkspaces\food\src\main\java\net\mcreator\food\item\CornItem.java:28: error: cannot find symbol super(new Item.Properties().group(ItemGroup.FOOD).maxStackSize(64).food((new Food.Builder()).hunger(4).saturation(0.1f).build()));
^
symbol: class Builder
location: class Food
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 3059262 milliseconds
Your mod is called "Food" which overrides Food from the vanilla code. Change your mod name to something more unique and regenerate the workspace code.
Ok, i'll update to say if it worked or not.
It works, Thanks