Jump to content

Recommended Posts

Posted

Hello i just updatet from 1.7.2 forge to 1.7.10 and i wonder why i get error on

"MODID, name, VERSION"    @Mod(modid = Strings.MODID, name = Strings.name, version = Strings.VERSION)

 

and i get error on this: @Instance(Strings.MODID)

 

Help me

-Xeta

NEWB! in java im sorry :/

Posted

Umm... What error? What does it say? Did you run the setup tasks properly? Are the imports done properly?

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Posted

I have install right but this is the error i get in the Problems tab on eclipse

 

 

MODID cannot be resolved or is not a field      mainRegistry.java          /Minecraft/src/main/java/com/mod/main                line 27            Java Problem

MODID cannot be resolved or is not a field      mainRegistry.java          /Minecraft/src/main/java/com/mod/main                line 36            Java Problem

name cannot be resolved or is not a field      mainRegistry.java          /Minecraft/src/main/java/com/mod/main                line 27            Java Problem

VERSION cannot be resolved or is not a field      mainRegistry.java          /Minecraft/src/main/java/com/mod/main                line 27            Java Problem

 

 

NEWB! in java im sorry :/

Posted

package com.Ruby.lib;

 

public class Strings {

 

    public static final String MODID = "Ruby Mod";

    public static final String name = "Ruby Mod";

    public static final String VERSION = "1.7.2";

 

}

 

NEWB! in java im sorry :/

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.