mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-12-23 13:01:07 +01:00
36 lines
901 B
JavaScript
36 lines
901 B
JavaScript
|
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`,
|
||
|
});
|
||
|
});
|
||
|
});
|