I am not able to test my mod.

Started by AugustoKModsCr… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am not able to test my mod.
Upon entering the game, mcreator only leaves 881 mb of ram available for the game, so when I enter a map, the game goes out on its own.
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You don't have enough ram…
Wed, 06/24/2020 - 17:49

You don't have enough ram allocated for MCR to work

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To allocate more ram you…
Wed, 06/24/2020 - 20:35

To allocate more ram you have to go in the launcher and select the version you are testing your mod with then press "edit" on that version. Then u want to click on "more options" and there will be written:

-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

under "JVM ARGUMENTS" then just change the -Xmx2G at the beginning from -Xmx2G to the number of ram you want to allocate for example if you ur computer has 4gb of ram I would recommend doing this:

-Xmx3G the "3G" represents the 3 gigabytes of ram but by default it is set to "2G"

Thats it ;)