So i was working on my code for a game called Minecraft and so here is my first code, titled mod_MOO.java.
package net.minecraft.src; public class mod_MOO extends BaseMod { public static final Block MOOBlock = new MOO(123, ModLoader.addOverride("/terrain.png", "/MOO/MOOBlock.png").setHardness(2F).setResistance(1F).setStepSound(Block.soundStoneFootstep).setBlockName("MOO"); public mod_MOO() { } public void load() { ModLoader.RegisterBlock(MOOBlock); ModLoader.AddName(MOOBlock, "MOO"); ModLoader.AddShapelessRecipe(new ItemStack(MOOBlock, 123), new Object[] {Item.leather, Item.leather}); } public String getVersion() { return "1.0.0"; } }
And now here is MOO.java:
package net.minecraft.src; public class MOOBlock extends Block { public MOOBlock(int i, int j) { super(i, j, Material.rock); } }
The error is on mod_MOO.java, it says on eclipse that the line with all of the properties and ids that it is missing two )'s.
Please help!!!