This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
0
static { AddRecipes; }
2
package net.minecraft.src; public class mod_Desks extends BaseMod { public void load() { ModLoader.RegisterBlock(desk); ModLoader.AddName(desk, "Desk") } public static final Block desk = new BlockDesk(200, 0).setHardness(2.0F).setResistance(5.0F).setBlockName("desk"); public String getVersion() { return "1.0.0"; } public void AddRecipes(CraftingManager craftingmanager) { ModLoader.AddRecipe(new ItemStack(desk, 1), new Object[]{ "***", "***", "***", Character.valueOf('*'), Block.planks }); } }
public void load() { }
1
Quote from MinersUndead You might've had 32 bit OS with 64 bit Java?
0
This will make the mod to activate AddRecipes.
0
2
I fixed the errors in the code and added the missing ones
Block should not be written with the first letter as lowercase
2
public String Version()
To
public String getVersion()
Aldo add
0
0
I noticed that you have outlines on your blocks, the fix is described in my sig.
0
0
0
0
0
1
0
0
0
It's impossible to install 64Bit Java on 32Bit OS as Windows would just say invalid 32bit program (or something like that)