Jump to content

Imports help needed


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

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now


  • Create New...

Important Information

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