-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathprojectred_transmission.js
More file actions
39 lines (38 loc) · 1.51 KB
/
projectred_transmission.js
File metadata and controls
39 lines (38 loc) · 1.51 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
/**
* Hide items from Project Red: Transmission if the mod is loaded.
* Requires both the core and addon to be loaded to take effect.
*/
if (Platform.isLoaded("projectred_transmission")) {
console.log("Project Red: Transmission found, loading client compat scripts...")
JEIEvents.hideItems(event => {
// Hide ProjectRed unused items
event.hide([
"projectred_core:silicon",
"projectred_core:sand_coal_comp",
"projectred_core:red_iron_comp",
"projectred_core:electrotine_iron_comp",
"projectred_core:peridot",
"projectred_core:sapphire",
"projectred_core:ruby",
"projectred_core:electrotine_dust",
"projectred_core:electrotine_generator",
"projectred_core:electrotine_ingot",
"projectred_core:red_ingot",
"projectred_core:sail",
"projectred_core:woven_cloth",
"projectred_core:motor",
"projectred_core:gold_coil",
"projectred_core:iron_coil",
"projectred_core:copper_coil",
"projectred_core:electrotine_silicon_comp",
"projectred_core:electrotine_silicon",
"projectred_core:boule",
"projectred_transmission:low_load_framed_power_wire",
"projectred_core:screwdriver",
"projectred_core:draw_plate",
"projectred_transmission:low_load_power_wire"
])
// Hide CBMultipart blocks
event.hide(/cb_microblock:.*/)
})
}