Jump to content

NetworkMod missing/not resolved?


nmcl

Recommended Posts

Hi. Apologies in advance if I've missed the answer elsewhere (I have checked but could definitely have overlooked something).

 

I'm trying to set up Forge to mod Minecraft as a way of teaching some school kids Java programming. Some basic intro stuff first: I'm running on a Mac with JDK 1.7 installed and using Eclipse (Kepler).

 

Since the kids are already using 1.7.x of Minecraft I've been following the instructions on http://www.minecraftforge.net/wiki/Installation/Source and downloading from http://files.minecraftforge.net (downloaded forge-1.7.2-10.12.0.1029-src). As it says on the wiki, I then issued:

 

./gradlew setupDecompWorkspace --refresh-dependencies

 

./gradelw eclipse

 

Everything fine so far. However, when opening the Eclipse project and the example, there's an error (Blocks.dirt.func_149739_a() is not defined in any jars that Eclipse can find). Maybe that points at the root cause of my main issue (see below), but for now I just changed that to one of the methods that is present. Then I moved on to http://www.minecraftforge.net/wiki/Basic_Modding and followed the instructions there for creating the Generic class. Unfortunately Eclipse can't find the NetworkMod annotation (cpw.mods.fml.common.network.NetworkMod).

 

I looked through all of the jars, class files and source within the installation directory and the .gradle cache, but couldn't find NetworkMod anywhere. The closest class in name is NetworkModHolder. I could find various other annotations but not NetworkMod. A google search (and search of these forums) didn't show up anything either. I suspect I've done something wrong, but at this point I don't know what so would be grateful if someone could put me back on the right track.

 

Thanks in advance!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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