1

I need help moding!!

getthetroll 8/25/11 4:30 am
134
8/25/2011 5:31 am
ok so i did what this guy did
and i got this wht did i do worng?
Click to reveal
== MCP v4.3 ==
> Recompiling client...
"C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -verbose -classpath "lib/;lib/
*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_u
til.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraft\
client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecraf
t\src\*.java conf/patches/*.java failed.
Return code : 1

== ERRORS FOUND ==

src\minecraft\net\minecraft\src\Mod_recipe.java:17: error: class, interface, or
enum expected
public String Version()
^

src\minecraft\net\minecraft\src\Mod_recipe.java:20: error: class, interface, or
enum expected
}
^

2 errors
==================

> Done in 2.50 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
this is my code package net.minecraft.src;
import java.util.Random;

public class mod_Recipe extends BaseMod
{

public mod_Recipe()
{
ModLoader.AddRecipe(new ItemStack(Block.BlockGold, 10), new Object []{
"%% ","%% ", Character.valusof("%"), Block.dirt
});

}

}

public String Version()
{
return "3.14159265";
}
}
Posted by
getthetroll
Level 29 : Expert Blockhead
16

  Have something to say?

JoinSign in

1

alexking
08/25/2011 5:31 am
Level 45 : Master Modder
you made a mod from it and you can do it a lot esear.
1. you go to the java files.
2. find the file "CraftingManager" and open it.
3. schroll down until you find the recepi for the gold block.
4. chance it in wat you want.
5. save it.
6. test it.
7. exprot and put the class file in you normal mincraft in the .mincraft file
done
1

Welcome