Skip to content

Commit

Permalink
Merge pull request #1023 from MuteTiefling/smol-fixes
Browse files Browse the repository at this point in the history
Cable Facades integration
  • Loading branch information
MuteTiefling authored Jan 19, 2025
2 parents 80bd16a + b0f34a1 commit ed44724
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/cable_facades-common.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#List of blocks that are allowed to be covered. Supports '*' as a wildcard.
blocks = ["create:shaft","immersiveengineering:fluid_pipe", "pipez:*_pipe", "mekanism:*_cable", "mekanism:*_conductor", "mekanism:*_pipe", "mekanism:*_tube", "mekanism:*_transporter", "mekanism_extras:*_cable", "mekanism_extras:*_conductor", "mekanism_extras:*_pipe", "mekanism_extras:*_tube", "mekanism_extras:*_transporter", "thermal:*_duct", "thermal:*_duct_windowed", "computercraft:cable", "powah:energy_cable_*", "create:fluid_pipe", "pneumaticcraft:*_tube", "laserio:laser_*", "cyclic:*_pipe", "embers:*_pipe", "elementalcraft:elementpipe*", "gtceu:*wire", "gtceu:*pipe"]
#List of blocks that are explicitly not allowed to be used as a cover. Supports '*' as a wildcard.
not_allowed_blocks = []
#Whether the facade should be consumed when placed.
consumeFacade = true

10 changes: 10 additions & 0 deletions kubejs/server_scripts/expert/recipes/enigmatica/replace_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ ServerEvents.recipes((event) => {
// }

const recipes = [
{
filter: { output: 'cable_facades:facade_wrench' },
to_replace: '#forge:ingots/iron',
replace_with: '#forge:ingots/tin'
},
{
filter: { output: 'cable_facades:facade_wrench' },
to_replace: '#forge:nuggets/iron',
replace_with: '#forge:nuggets/tin'
},
{
filter: { output: 'minecraft:hopper' },
to_replace: '#forge:ingots/iron',
Expand Down

0 comments on commit ed44724

Please sign in to comment.