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)) {
|
||||
event.recipes.createCrushing(Item.of(`#forge:dusts/${material}`), `#forge:ingots/${material}`)
|
||||
.processingTime(150)
|
||||
.id(`tfg:crushing/${material}_dust`)
|
||||
}
|
||||
else {
|
||||
event.recipes.createMilling(Item.of(`#forge:dusts/${material}`), `#forge:gems/${material}`)
|
||||
.processingTime(150)
|
||||
.id(`tfg:milling/${material}_dust`)
|
||||
let dustStack = ChemicalHelper.get(TagPrefix.ingot, material, 1)
|
||||
|
||||
if (!dustStack.isEmpty()) {
|
||||
|
||||
if (material.hasProperty(PropertyKey.INGOT)) {
|
||||
event.recipes.createCrushing(dustStack, `#forge:ingots/${material}`)
|
||||
.processingTime(150)
|
||||
.id(`tfg:crushing/${material}_dust`)
|
||||
}
|
||||
else {
|
||||
event.recipes.createMilling(dustStack, `#forge:gems/${material}`)
|
||||
.processingTime(150)
|
||||
.id(`tfg:milling/${material}_dust`)
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue