Posted January 12, 201312 yr Today, I opened Eclipse to continue working on my mod, and after changing one line of code, Eclipse started saying I had import errors, and I haven't even touched the imports... I'm using the latest version of Forge, and I believe that these imports should be fine.. (They can be found in their respective minecraft packages) import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumRarity; import net.minecraft.item.EnumToolMaterial; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; import net.minecraft.world.World; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; I just don't understand why these imports are supposedly "incorrect", anyone have any ideas?
January 12, 201312 yr Select the class and press shift+control+o and itll fix your imports "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
January 12, 201312 yr Author Well thats what you'd think, I tried that first thing and nothing happened. I removed all of the imports then did it imported the same things, but they were wrong. Its really weird..
January 13, 201312 yr Corrupted workspace? Try a fresh decompile "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
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.