Jump to content

Imports help needed


truelol1

Recommended Posts

When i was updating my mod i got this error of imports that is pissing me of i dont know what or how to fix this error like import net.minecraft.src.Block;

import net.minecraft.src.CreativeTabs;

import net.minecraft.src.Material;

 

i get this errors that can not resolve type and all these wierd shit Please help me i would really apreciated

 

ps. sorry for bad english xD

Link to comment
Share on other sites

The new Forge update organized Minecraft's source into packages, effectively breaking all of your previous imports.

 

If you're using Eclipse, click your mod's package and press Ctrl+Shift+O to make Eclipse try to resolve the import errors. Whatever it doesn't fix, you'll have to find and type it in as an import. It usually does this with Block, Item, etc, since Forge contains classes with those names.

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.