This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
public void AddRecipes(CraftingManager craftingmanager) { craftingmanager.addRecipe(new ItemStack(ItemSalt, 4), new Object[]{ "X", Character.valueOf('X'), Item.bucketWater }); }
public mod_yourModName() { ModLoader.AddRecipe(new ItemStack(ItemSalt, 4), new Object[]{ "X", Character.valueOf('X'), Item.bucketWater }); }
I get no errors when I re-compile and test the game. The recipe just doesn't work.
public void AddRecipes(CraftingManager craftingmanager) is part of the modloader class which the base ORIGINALY class extended.
I think it was changed though...
Anyhoo, just add it to the constructor: