Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Sign in to follow this  
Followers 0
Dobe

New developer's question.

2 posts in this topic

I'm trying to add a item .

When I test it ,it report :

cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: com.bioxx.tfc.Items.ItemTerra.func_77637_a(Lnet/minecraft/creativetab/CreativeTabs;)Lnet/minecraft/item/Item;
 

This is my code.

Spoiler

public class TFCItemBook extends ItemTerra{
    public TFCItemBook(){
        setCreativeTab(TFCTabs.TFC_MISC);
        setWeight(EnumWeight.LIGHT);
        setSize(EnumSize.SMALL);
        setTextureName(Main.MODID+":book");
    }
    @Override
    public void registerIcons(IIconRegister registerer) {
        itemIcon = registerer.registerIcon(Main.MODID + ":book");
    }
}

I want to know what happened. Who can help me ?

If you found the time is in the night, that's because I just is a China student.

0

Share this post


Link to post
Share on other sites

Not sure if you still care but because I ran into the same issue and who knows it might help someone else out. The solution is to use gradlew (which is provided with the github projects) since you're on Windows (I don't think this applies on Linux or Mac but don't quote me on this).

So in simple terms:

  • git clone <project>
  • cd <projectname>
  • gradlew setupDecompWorkspace
  • (depending on your IDE)
    • gradlew eclipse
    • gradlew genIntellijRuns
  • then open with your favorite IDE
  • if you already opened it with an IDE you might need to refresh cashes (in IntelliJ: File > Invalidate Caches / Restart)

Once your code is ready for compilation you just gotta run gradlew build (and if you have problem run gradlew clean and then try again).

0

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0