Why do Mcreator say there is not enough Ram left ?

Started by Cioss on Tue, 05/05/2020 - 23:18

Topic category: Help with MCreator software

Last seen on 14:19, 3. Feb 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Why do Mcreator say there is not enough Ram left ?
Tue, 05/05/2020 - 23:18

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.

Last seen on 14:19, 3. Feb 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Executing Gradle task: build…
Wed, 05/06/2020 - 19:25

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"…
Wed, 05/06/2020 - 19:56

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.

Last seen on 14:19, 3. Feb 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, i'll update to say if it…
Wed, 05/06/2020 - 20:05

Ok, i'll update to say if it worked or not.

Last seen on 14:19, 3. Feb 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It works, Thanks
Wed, 05/06/2020 - 21:17

It works, Thanks