Update recipes.js
This commit is contained in:
parent
d2a2b9107f
commit
17003f299a
1 changed files with 15 additions and 9 deletions
|
|
@ -1398,16 +1398,22 @@ const registerGTCEURecipes = (event) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (material.hasProperty(PropertyKey.INGOT)) {
|
let dustStack = ChemicalHelper.get(TagPrefix.ingot, material, 1)
|
||||||
event.recipes.createCrushing(Item.of(`#forge:dusts/${material}`), `#forge:ingots/${material}`)
|
|
||||||
.processingTime(150)
|
if (!dustStack.isEmpty()) {
|
||||||
.id(`tfg:crushing/${material}_dust`)
|
|
||||||
}
|
if (material.hasProperty(PropertyKey.INGOT)) {
|
||||||
else {
|
event.recipes.createCrushing(dustStack, `#forge:ingots/${material}`)
|
||||||
event.recipes.createMilling(Item.of(`#forge:dusts/${material}`), `#forge:gems/${material}`)
|
.processingTime(150)
|
||||||
.processingTime(150)
|
.id(`tfg:crushing/${material}_dust`)
|
||||||
.id(`tfg:milling/${material}_dust`)
|
}
|
||||||
|
else {
|
||||||
|
event.recipes.createMilling(dustStack, `#forge:gems/${material}`)
|
||||||
|
.processingTime(150)
|
||||||
|
.id(`tfg:milling/${material}_dust`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue