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.

46 lines
1.4 KiB

// priority: 0
onEvent("recipes", event => {
const toHammer = [
// Vanilla
"netherite",
// Create
"brass",
// Thermal Integration
"rose_gold",
// Thermal Foundation
"tin", "bronze", "invar",
"signalum", "lumium", "enderium",
];
const toMetalPress = [ "netherite", "signalum", "lumium", "enderium", ];
const toMultiservoPress = [ "brass", "gold" ];
const toMechanicalPress = [
// Vanilla
"netherite",
// Immersive Engineering
"aluminum", "uranium", "steel",
// Thermal Integration
"rose_gold",
// Thermal Foundation
"tin", "lead", "silver", "nickel",
"bronze", "electrum", "invar", "constantan",
"signalum", "lumium", "enderium",
];
function plate(material) { return AlmostUnified.getPreferredItemForTag(`forge:plates/${material}`); }
for (let material of toHammer)
event.shapeless(plate(material),
[ `#forge:ingots/${material}`, { item: "immersiveengineering:hammer" } ]);
for (let material of toMetalPress)
event.recipes.immersiveengineeringMetalPress(plate(material),
`#forge:ingots/${material}`, "immersiveengineering:mold_plate");
for (let material of toMultiservoPress)
event.recipes.thermal.press(plate(material), `#forge:ingots/${material}`);
for (let material of toMechanicalPress)
event.recipes.createPressing(plate(material), `#forge:ingots/${material}`);
});