// priority: 0

function registerDiggerHelmetRecipes(event) {
	event.remove({ mod: 'diggerhelmet' })

	event.shaped('diggerhelmet:digger_helmet', [
		' F ',
		'EAB',
		'DCD'
	], {
		A: '#minecraft:candles',
		B: '#forge:rings',
		C: 'minecraft:leather_helmet',
		D: '#forge:rods/tin',
		E: '#forge:tools/hammers',
		F: 'minecraft:glowstone_dust'
	})
	.id('tfg:shaped/digger_helmet')

	event.recipes.gtceu.assembler('tfg:mining_speed_modifier')
		.itemInputs('#forge:plates/blue_steel', '#gtceu:circuits/lv', '2x tfg:haste_pill')
		.inputFluids(Fluid.of('tfcagedalcohol:aged_whiskey', 1000))
		.itemOutputs('diggerhelmet:mining_speed_modifier')
		.EUt(16)
		.duration(400)

	event.shaped('diggerhelmet:auto_drink_modifier', [
		' A ',
		'BCB',
		'DCD'
	], {
		A: 'waterflasks:leather_flask',
		B: '#forge:string',
		C: 'minecraft:bamboo',
		D: 'tfc:glue'
	}).id('tfg:shaped/auto_drink_modifier_bamboo')

	event.shaped('diggerhelmet:auto_drink_modifier', [
		' A ',
		'BCB',
		' C '
	], {
		A: 'waterflasks:leather_flask',
		B: '#forge:screws/wrought_iron',
		C: '#forge:foils/rubber'
	}).id('tfg:shaped/auto_drink_modifier_rubber')
}