PlexiShard / Need-Moar-Materials

A Minecraft Forge mod that adds extra materials that need to be in Minecraft!
http://bit.ly/NMMMinecraft
4 stars 0 forks source link

Crafting Recipies #5

Closed NLDoA closed 10 years ago

NLDoA commented 10 years ago

How can I add in crafting recipies? I do not understant how they work. Please help!

var-username commented 10 years ago

Open up the crafting manager, then type in GaneRegistry.add(shaped)recipe(new itemstack(outputItem, number), "row1", "row2", "row3", 'define letter', item, 'define second letter', item)

For example: GameRegistry.addShapedRecipe(new itemStack (titaniumBlock, 1), "xxx", "xdx", "xxx", 'x', titaniumIngot, 'd', Items.redstone);

m0525 commented 10 years ago

I was looking at a tutorial yesterday, but it was using ModLoader ;P