|
|
|
// priority: 0
|
|
|
|
|
|
|
|
onEvent("recipes", event => {
|
|
|
|
let ingot_to_dust_materials = [
|
|
|
|
// Minecraft
|
|
|
|
"iron", "gold", "copper", "netherite",
|
|
|
|
// Immersive Engineering
|
|
|
|
"aluminum", "uranium", "steel",
|
|
|
|
// Thermal
|
|
|
|
"tin", "lead", "silver", "nickel",
|
|
|
|
"bronze", "electrum", "invar", "constantan",
|
|
|
|
"signalum", "lumium", "enderium",
|
|
|
|
// Thermal Integration
|
|
|
|
"rose_gold"
|
|
|
|
];
|
|
|
|
for (let material of ingot_to_dust_materials) {
|
|
|
|
let ingot = AlmostUnified.getPreferredItemForTag(`forge:ingots/${material}`);
|
|
|
|
let dust = AlmostUnified.getPreferredItemForTag(`forge:dusts/${material}`);
|
|
|
|
event.recipes.createCrushing(dust, ingot);
|
|
|
|
}
|
|
|
|
|
|
|
|
for (let item of [ "apatite", "cinnabar", "niter", "sulfur" ])
|
|
|
|
event.recipes.createCrushing(`thermal:${item}_dust`, `thermal:${item}`);
|
|
|
|
|
|
|
|
for (let item of [ "diamond", "emerald", "quartz" ])
|
|
|
|
event.recipes.createCrushing(`thermal:${item}_dust`, `minecraft:${item}`);
|
|
|
|
event.recipes.createCrushing("thermal:lapis_dust", "minecraft:lapis_lazuli");
|
|
|
|
|
|
|
|
event.recipes.createCrushing("ae2:certus_quartz_dust", "#ae2:all_certus_quartz");
|
|
|
|
event.recipes.createCrushing("ae2:fluix_dust", "ae2:fluix_crystal");
|
|
|
|
event.recipes.createCrushing("ae2:sky_dust", "ae2:sky_stone_block");
|
|
|
|
});
|