fix the recipe of pressing nothing into fluix gems

This commit is contained in:
Pyritie 2026-01-28 00:04:49 +00:00
parent 989d572eb9
commit b4fd0e023f
2 changed files with 7 additions and 4 deletions

View file

@ -78,7 +78,7 @@ function removeGreateRecipes(event) {
event.remove({ id: 'greate:cutting/integration/create/cutting/runtime_generated/compat/minecraft/bamboo_planks_to_bamboo_button' })
event.remove({ id: 'greate:mixing/integration/gtceu/mixer/fire_charge' })
event.remove({ id: 'toomanyrecipeviewers:/greate/milling/integration/gtceu/macerator/macerate_cocoa' })
event.remove({ id: 'greate:milling/integration/gtceu/macerator/macerate_cocoa' })
event.remove({ id: 'greate:milling/integration/gtceu/macerator/macerate_honeycomb' })
event.remove({ id: 'greate:milling/integration/gtceu/macerator/macerate_honeycomb_block'})
event.remove({ id: 'greate:milling/integration/gtceu/macerator/quartz_sand_from_sand' })

View file

@ -565,9 +565,12 @@ function processGems(event, material) {
}
const amount = getMaterialAmount(TagPrefix.block, material);
event.recipes.greate.pressing(ChemicalHelper.get(TagPrefix.gem, material, amount), ChemicalHelper.get(TagPrefix.block, material, 1))
.recipeTier(0)
.id(`greate:pressing/unpacking_${materialName}_block`)
const block = ChemicalHelper.get(TagPrefix.block, material, 1);
if (!block.isEmpty()) {
event.recipes.greate.pressing(ChemicalHelper.get(TagPrefix.gem, material, amount), block)
.recipeTier(0)
.id(`greate:pressing/unpacking_${materialName}_block`)
}
event.recipes.tfc.quern(ChemicalHelper.get(TagPrefix.dust, material, 1), gemItem)
.id(`tfg:quern/${materialName}_gem_to_dust`)