mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-12-23 13:01:07 +01:00
21 lines
571 B
JavaScript
21 lines
571 B
JavaScript
|
// Modifies the recipes for buttons to match the Gregified Integrations recipes
|
||
|
|
||
|
ServerEvents.recipes((event) => {
|
||
|
["ad_astra:glacian_button"].forEach((d) =>
|
||
|
gregifyButtonRecipe(event, "<identifier>:<name>", d)
|
||
|
);
|
||
|
|
||
|
[
|
||
|
"ad_astra:iron_plating_button",
|
||
|
"ad_astra:steel_plating_button",
|
||
|
"ad_astra:desh_plating_button",
|
||
|
"ad_astra:ostrum_plating_button",
|
||
|
"ad_astra:calorite_plating_button",
|
||
|
].forEach((d) =>
|
||
|
gregifyButtonRecipe(event, "<identifier>:<name>", d, [
|
||
|
`ad_astra:${idToType(d)}`,
|
||
|
"#forge:tools/hammers",
|
||
|
])
|
||
|
);
|
||
|
});
|