1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-09-19 21:03:20 +02:00
aetheria/packwiz/1.20.1/kubejs/client_scripts/ad_astra_gtc_integration_client.js

19 lines
464 B
JavaScript
Executable file
Vendored

const AD_ASTRA_REMOVED_PLATES = ["steel", "iron"];
const AD_ASTRA_REMOVED_RODS = ["steel"];
const AD_ASTRA_REMOVED_NUGGETS = ["steel"];
JEIEvents.hideItems((event) => {
AD_ASTRA_REMOVED_PLATES.forEach((metal) => {
event.hide(`ad_astra:${metal}_plate`);
});
AD_ASTRA_REMOVED_RODS.forEach((metal) => {
event.hide(`ad_astra:${metal}_rod`);
});
AD_ASTRA_REMOVED_NUGGETS.forEach((metal) => {
event.hide(`ad_astra:${metal}_nugget`);
});
});