Well-rounded Minecraft 1.18.2 modpack featuring Tech, Magic, Exploration and Decoration content. Made with love. 💚
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

32 lines
1.2 KiB

// 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");
});