This repository has been archived on 2023-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
jland-packwiz-pack/kubejs/client_scripts/jei_hide_slurries.js

9 lines
347 B
JavaScript
Raw Permalink Normal View History

2023-11-02 12:32:44 -05:00
let MekanismJEI = Java.loadClass('mekanism.client.jei.MekanismJEI');
JEIEvents.hideCustom((event) => {
const slurries = [/mekanism:clean_/, /mekanism:dirty_/, /mekanismprocessing:clean_/, /mekanismprocessing:dirty_/];
slurries.forEach((hiddenSlurry) => {
event.get(MekanismJEI.TYPE_SLURRY).hide(hiddenSlurry);
});
});