Jump to content

Recommended Posts

Posted

Hello.

I want to start making mods for Minecraft Forge 1.7.10. These are the steps I have taken:

1) I download Forge 1.7.10-7.10.88.1024-src

2) I place a copy of all contents of above zip into my target modding folder.

3) I have already noted that gradle/wrapper/gradle-wrapper.PROPERTIES has a too old version of gradle (I use 4.6), so I replace the version "2.0" with "4.6" in this file.

4) I download Eclipse neon.3 (also tried Kepler, initially), and start it by pointing the workspace to my target modding folder.

5) I try to setup the project for Eclipse, by running Cmd in modding folder: "gradlew setupDevWorkspace"

Here's where things are starting to go sideways for me:

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Minecraft\test3\build.gradle' line: 18

* What went wrong:
A problem occurred evaluating root project 'test3'.
> Failed to apply plugin [id 'fml']
   > You must set the Minecraft Version!
      > java.lang.NullPointerException (no error message)

 

My problem seems to be with the build.gradle file. I have tried to look at it in different versions of Forge (for instance 1.10.2) and I can see it looks quite different. But I do not understand what Minecraft version to insert into my build.gradle file (i.e. what to write, is it Minecraft or Forge version, and what format to use), and where to insert it. (The file is quite hard to read in Notepad, but that's what I have to work with, since Eclipse still does not accept the project).

I have spent many hours browsing the Web for answers, and all I have found are unhelpful for me. I would need some experienced modder to execute steps 1-5, take a look at the build.gradle file, and tell me what to do to solve this.

 

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.