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/removed/recipes.js

36 lines
901 B
JavaScript
Raw Normal View History

ServerEvents.recipes((event) => {
const REMOVED_PLATE_RECIPES = ["steel", "iron"];
const REMOVED_ROD_RECIPES = ["steel", "iron"];
const REMOVED_NUGGET_RECIPES = ["steel"];
REMOVED_PLATE_RECIPES.forEach((metal) => {
event.remove({
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_ingot`,
});
event.remove({
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_ingots`,
});
event.remove({
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_block`,
});
event.remove({
id: `ad_astra:compressing/${metal}_plate_from_compressing_${metal}_blocks`,
});
});
REMOVED_ROD_RECIPES.forEach((metal) => {
event.remove({
id: `ad_astra:${metal}_rod`,
});
});
REMOVED_NUGGET_RECIPES.forEach((metal) => {
event.remove({
id: `ad_astra:${metal}_nugget`,
});
});
});