Errors While Recompiling Mod On MCP
When I was recompiling my mod with the Minecraft Coder Pack (MCP) it gave me this error report:
== ERRORS FOUND ==
src/minecraft/net/minecraft/src/mod_ObsidianCraft.java:71: cannot find symbol
symbol : variable ObsidianIngot
location: class net.minecraft.src.Item
Character.valueOf('y'), Item.ObsidianIngot
^
src/minecraft/net/minecraft/src/mod_ObsidianCraft.java:75: cannot find symbol
symbol : variable ObsidianIngot
location: class net.minecraft.src.Item
Character.valueOf('y'), Item.ObsidianIngot
^
src/minecraft/net/minecraft/src/mod_ObsidianCraft.java:79: cannot find symbol
symbol : variable ObsidianIngot
location: class net.minecraft.src.Item
Character.valueOf('y'), Item.ObsidianIngot
^
src/minecraft/net/minecraft/src/mod_ObsidianCraft.java:83: cannot find symbol
symbol : variable ObsidianIngot
location: class net.minecraft.src.Item
Character.valueOf('y'), Item.ObsidianIngot
^
src/minecraft/net/minecraft/src/mod_ObsidianCraft.java:87: cannot find symbol
symbol : variable ObsidianIngot
location: class net.minecraft.src.Item
Character.valueOf('y'), Item.ObsidianIngot
^
src/minecraft/net/minecraft/src/mod_ObsidianCraft.java:93: cannot find symbol
symbol : variable Obsidian
location: class net.minecraft.src.Item
(m_ObsidianIngot.shiftedIndex, new ItemStack(Item.Obsidian, 3) );
^
6 errors
==================
== Recompiling server ==
> Cleaning bin
> Recompiling
- Done in 6.22 seconds
I don't know what to do.
Where did you save your Item object?
Item.whatever is a reference to the Item object, and it has static variables for the types items in Minecraft.
You misspelled Obsidian in (m_ObsidianIngot.shiftedIndex, new ItemStack(Item.Obsidian, 3) ); it should be lowercase.
You didn't define Obsidianingot into Item.java. Try replacing Item.ObsidianIngot with m_ObsidianIngot (which seems to be your variable that contains your Item.)
WoM Coins: 2
i have the same thing. i think download the .jar minecraft launcher and put it in the mcp\jars folder