onEvent('recipes', event => {
	
	//Craft custom pour Blast Brick  
	event.custom({
		"type": "create:sequenced_assembly",
		"ingredient": {
		  "tag": "forge:sandstone"
		},
		"transitionalItem": {
		  "item": "create:incomplete_precision_mechanism"
		},
		"sequence": [
		  {
			"type": "create:deploying",
			"ingredients": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  },
			  {
				"item": "minecraft:clay_ball"
			  }
			],
			"results": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  }
			]
		  },
		  {
			"type": "create:deploying",
			"ingredients": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  },
			  {
				"item": "minecraft:brick"
			  }
			],
			"results": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  }
			]
		  }
		],
		"results": [
		  {
			"item": "immersiveengineering:cokebrick",
			"chance": 1.0,
			"count":3
		  }
		],
		"loops": 4
	  })

    //Craft custom pour Blast Brick  
	event.custom({
		"type": "create:sequenced_assembly",
		"ingredient": {
		  "item": "minecraft:magma_block"
		},
		"transitionalItem": {
		  "item": "create:incomplete_precision_mechanism"
		},
		"sequence": [
		  {
			"type": "create:deploying",
			"ingredients": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  },
			  {
				"item": "minecraft:nether_brick"
			  }
			],
			"results": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  }
			]
		  },
		  {
			"type": "create:deploying",
			"ingredients": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  },
			  {
				"item": "minecraft:brick"
			  }
			],
			"results": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  }
			]
		  }
		],
		"results": [
		  {
			"item": "immersiveengineering:blastbrick",
			"chance": 1.0,
			"count":3
		  }
		],
		"loops": 4
	  })

    //Craft custom pour Kiln Brick  
	event.custom({
		"type": "create:sequenced_assembly",
		"ingredient": {
		  "item": "minecraft:magma_block"
		},
		"transitionalItem": {
		  "item": "create:incomplete_precision_mechanism"
		},
		"sequence": [
		  {
			"type": "create:deploying",
			"ingredients": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  },
			  {
				"tag": "forge:sandstone"
			  }
			],
			"results": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  }
			]
		  },
		  {
			"type": "create:deploying",
			"ingredients": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  },
			  {
				"item": "minecraft:brick"
			  }
			],
			"results": [
			  {
				"item": "create:incomplete_precision_mechanism"
			  }
			]
		  }
		],
		"results": [
		  {
			"item": "immersiveengineering:alloybrick",
			"chance": 1.0,
			"count":2
		  }
		],
		"loops": 2
	  })

    //Kiln, Coke, Blast Brick retirage des craft
    event.remove({id: 'immersiveengineering:crafting/cokebrick'})
    event.remove({id: 'immersiveengineering:crafting/blastbrick'})
    event.remove({id: 'immersiveengineering:crafting/alloybrick'})

})