mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-11-14 11:58:06 +01:00
35 lines
901 B
JavaScript
Executable file
Vendored
35 lines
901 B
JavaScript
Executable file
Vendored
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`,
|
|
});
|
|
});
|
|
});
|