-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathJEI_modespecific.js
More file actions
45 lines (42 loc) · 1.58 KB
/
JEI_modespecific.js
File metadata and controls
45 lines (42 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** /kjs inventory will be your friend. */
JEIEvents.hideItems(event => {
const gtMachines = ["extractor", "macerator", "compressor", "forge_hammer", "furnace", "alloy_smelter"]
if (!doSteamAge) {
// Hide GT Steam Age items
gtMachines.forEach(machine => {
event.hide([`gtceu:lp_steam_${machine}`, `gtceu:hp_steam_${machine}`])
})
event.hide(["gtceu:firebrick", "gtceu:firebricks", "gtceu:primitive_blast_furnace"])
event.hide(/fireclay/)
// Hide Bronze tier storage
event.hide("sophisticatedstorage:iron_barrel")
event.hide("sophisticatedstorage:iron_chest")
event.hide("sophisticatedstorage:iron_shulker_box")
event.hide(/^sophisticatedstorage:.*iron.*tier_upgrade$/)
}
// Sophisticated compacting upgrades
if (!doCompacting) {
event.hide(/^sophisticated.*(compacting|compression)_upgrade$/)
event.hide(/^functionalstorage:.*compacting.*_drawer$/)
}
if(!doMeowniPlush) {
event.hide("kubejs:meowni_plush")
}
if (!doHNN) {
event.hide(/^hostilenetworks/)
}
if(doHarderRecipes) {
event.hide("watercollector:watercollector")
}
if (!doLaserIO) {
event.hide(/^laserio:laser/)
event.hide(/^laserio:filter/)
event.hide(/^laserio:card_/)
event.hide("laserio:overclocker_node")
event.hide("laserio:overclocker_card")
}
if(!doConverters) {
event.hide(/^gtceu:[A-Za-z0-9]+_[A-Za-z0-9]+_energy_converter$/)
event.hide(/^gtceu:[A-Za-z0-9]+_[A-Za-z0-9]+_energy_converter$/)
}
})