1

Need help adding cocoa beans to forge recipe

sirtoalikan's Avatar sirtoalikan4/5/14 9:53 pm
1 emeralds 239
Working on a mod involving a recipe that uses cocoa beans. Cocoabeans is a damage value of dyePowder however how would I add data values to the recipe? this is what I am trying to do:

// Crafting recipe (chocolate)
GameRegistry.addRecipe(new ItemStack(Food_2, 2), new Object[]
{
" X ",
"XSX",
" X ",
'S', Item.sugar,
'X', Item.dyePowder,
});


dyePowder is where cocoabeans should be but needs damage value (I believe it is 3), how would I add it? thanks!
Posted by sirtoalikan's Avatar
sirtoalikan
Level 34 : Artisan Fox
18

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome