mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-11-10 01:58:06 +01:00
31 lines
844 B
JavaScript
Vendored
31 lines
844 B
JavaScript
Vendored
const AD_ASTRA_REMOVED_PLATE_RECIPES = ["steel", "iron"];
|
|
|
|
const AD_ASTRA_REMOVED_ROD_RECIPES = ["steel"];
|
|
|
|
const AD_ASTRA_REMOVED_NUGGET_RECIPES = ["steel"];
|
|
|
|
ServerEvents.recipes((event) => {
|
|
// Remove Ad Astra recipes for plates
|
|
AD_ASTRA_REMOVED_PLATE_RECIPES.forEach((metal) => {
|
|
event.remove({
|
|
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_ingots`,
|
|
});
|
|
event.remove({
|
|
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_blocks`,
|
|
});
|
|
});
|
|
|
|
// Remove Ad Astra recipes for gears
|
|
AD_ASTRA_REMOVED_ROD_RECIPES.forEach((metal) => {
|
|
event.remove({
|
|
id: `ad_astra:${metal}_rod`,
|
|
});
|
|
});
|
|
|
|
// Remove Ad Astra recipes for nuggets
|
|
AD_ASTRA_REMOVED_NUGGET_RECIPES.forEach((metal) => {
|
|
event.remove({
|
|
id: `ad_astra:${metal}_nugget`,
|
|
});
|
|
});
|
|
});
|