Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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 :/

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!

  • Author

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 :/

Post your Strings class.

Check out my mod, Realms of Chaos, here.

 

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

  • Author

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 :/

Your import is screwed up. Perhaps you meant to import com.Ruby.lib.Strings?

Check out my mod, Realms of Chaos, here.

 

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

  • Author

ye sbut i do import com.Ruby,lib.*; for then i select all in thet thing

NEWB! in java im sorry :/

Guest
This topic is now closed to further replies.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.