Block recipe contains sand and wood but when i write two blocks in recipe class i get error.
Code:
GameRegistry.addSmelting(ModBlocks.BLOCK_SANDBAG, new ItemStack(Blocks.SAND, 4), new ItemStack(Blocks.PLANKS, 4), 0.2F);
My Recipes (JSON) :
{
"type": "crafting_shaped",
"pattern": [
"AAA",
"ABA",
"AAA"
],
"key": {
"A": {
"item": "minecraft:sand",
"data": 0
},
"B": {
"item": "minecraft:planks",
"data": 0
}
},
"result": {
"item": "zz:block_sandbag",
"count": 9
}
}
The error i got :