diff --git a/common/src/main/java/trinsdar/gt4r/loader/crafting/ToolCraftingTableRecipes.java b/common/src/main/java/trinsdar/gt4r/loader/crafting/ToolCraftingTableRecipes.java index c4526c20..b449845e 100644 --- a/common/src/main/java/trinsdar/gt4r/loader/crafting/ToolCraftingTableRecipes.java +++ b/common/src/main/java/trinsdar/gt4r/loader/crafting/ToolCraftingTableRecipes.java @@ -2,6 +2,7 @@ import com.google.common.collect.ImmutableSet; import com.mojang.datafixers.util.Pair; +import io.github.gregtechintergalactical.gtcore.block.RedstoneWire; import muramasa.antimatter.AntimatterAPI; import muramasa.antimatter.AntimatterConfig; import muramasa.antimatter.data.AntimatterDefaultTools; @@ -20,6 +21,7 @@ import java.util.function.Consumer; import java.util.stream.Collectors; +import static muramasa.antimatter.data.AntimatterMaterialTypes.PLATE; import static muramasa.antimatter.pipe.PipeSize.*; import static trinsdar.gt4r.data.Materials.Rubber; @@ -61,6 +63,13 @@ public static void loadRecipes(Consumer output, AntimatterRecipe AntimatterDefaultTools.WIRE_CUTTER.getTag(), AntimatterMaterialTypes.PLATE.getMaterialTag(wire.getMaterial())); } }); + AntimatterAPI.all(RedstoneWire.class, wire -> { + if (wire.getMaterial().has(PLATE)) { + provider.shapeless(output, wire.getMaterial().getId() + "_plate_to_wire","wire", + new ItemStack(wire.getBlockItem(VTINY), wireAmount), + AntimatterDefaultTools.WIRE_CUTTER.getTag(), PLATE.get(wire.getMaterial())); + } + }); } private static void twoToOne(Map wires, PipeSize from, PipeSize to, Consumer output, AntimatterRecipeProvider provider) {