1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-09-20 05:13:20 +02:00
aetheria/packwiz/1.20.1/kubejs/server_scripts/ad_astra/buttons.js

20 lines
571 B
JavaScript
Executable file
Vendored

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