Closed Recipe conflict

  • This section is closed. Please do bug reports over at the FTB GitHub repos.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

Wolf68k

New Member
Jul 29, 2019
64
0
1
Summary of the problem Recipe conflict

Pack Version

What is the bug? pack version: 1.4.2 (wasn't an option)
MalisisDoors and Quark share the same recipes for trapdoors

Mod & Version MalisisDoors 1.10.1-5.0.2
Quark r1.1-70

Link to log file

Is it repeatable? Look at each recipes in NEI/JEI

Known Fix Suggestion, recipe script change
 

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
Wow... I ran into this in my custom pack. I wanted to keep all of them because there are slight difference in look.

This should fix it if you make a file called trapdoor.zs in the modpack/normal/scripts folder
Code:
# Script to fix duplicate trap door recipes in Builder's Custom

#
# NOTE:    This works by shifting quark recipes to use the top 6 for their recipes
#       and quark using the bottom 6.  Also adjust all recipes to produce two
#       trap doors.
#
#Values
val OakPlank = <minecraft:planks>;
val SprucePlank = <minecraft:planks:1>;
val BirchPlank = <minecraft:planks:2>;
val JunglePlank = <minecraft:planks:3>;
val AcaciaPlank = <minecraft:planks:4>;
val DarkOakPlank = <minecraft:planks:5>;
#
#remove the oak trapdoor and replace it with one that doesn't use ore dict.
recipes.remove(<minecraft:trapdoor>);
recipes.addShaped(<minecraft:trapdoor> * 2,
    [[null, null, null],
    [OakPlank, OakPlank, OakPlank],
    [OakPlank, OakPlank, OakPlank]]);
#
#Spruce trap doors
recipes.remove(<quark:spruce_trapdoor>);
recipes.addShaped(<quark:spruce_trapdoor> * 2,
    [[SprucePlank, SprucePlank, SprucePlank],
    [SprucePlank, SprucePlank, SprucePlank],
    [null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_spruce>);
recipes.addShaped(<malisisdoors:trapdoor_spruce> * 2,
    [[null, null, null],
    [SprucePlank, SprucePlank, SprucePlank],
    [SprucePlank, SprucePlank, SprucePlank]]);
#
#Birch trap doors
recipes.remove(<quark:birch_trapdoor>);
recipes.addShaped(<quark:birch_trapdoor> * 2,
    [[BirchPlank, BirchPlank, BirchPlank],
    [BirchPlank, BirchPlank, BirchPlank],
    [null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_birch>);
recipes.addShaped(<malisisdoors:trapdoor_birch> * 2,
    [[null, null, null],
    [BirchPlank, BirchPlank, BirchPlank],
    [BirchPlank, BirchPlank, BirchPlank]]);
#
#Jungle trap doors
recipes.remove(<quark:jungle_trapdoor>);
recipes.addShaped(<quark:jungle_trapdoor> * 2,
    [[JunglePlank, JunglePlank, JunglePlank],
    [JunglePlank, JunglePlank, JunglePlank],
    [null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_jungle>);
recipes.addShaped(<malisisdoors:trapdoor_jungle> * 2,
    [[null, null, null],
    [JunglePlank, JunglePlank, JunglePlank],
    [JunglePlank, JunglePlank, JunglePlank]]);
#
#Acacia trap doors
recipes.remove(<quark:acacia_trapdoor>);
recipes.addShaped(<quark:acacia_trapdoor> * 2,
    [[AcaciaPlank, AcaciaPlank, AcaciaPlank],
    [AcaciaPlank, AcaciaPlank, AcaciaPlank],
    [null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_acacia>);
recipes.addShaped(<malisisdoors:trapdoor_acacia> * 2,
    [[null, null, null],
    [AcaciaPlank, AcaciaPlank, AcaciaPlank],
    [AcaciaPlank, AcaciaPlank, AcaciaPlank]]);
#
#Dark Oak trap doors
recipes.remove(<quark:dark_oak_trapdoor>);
recipes.addShaped(<quark:dark_oak_trapdoor> * 2,
    [[DarkOakPlank, DarkOakPlank, DarkOakPlank],
    [DarkOakPlank, DarkOakPlank, DarkOakPlank],
    [null, null, null]]);
recipes.remove(<malisisdoors:trapdoor_dark_oak>);
recipes.addShaped(<malisisdoors:trapdoor_dark_oak> * 2,
    [[null, null, null],
    [DarkOakPlank, DarkOakPlank, DarkOakPlank],
    [DarkOakPlank, DarkOakPlank, DarkOakPlank]]);
 

tfox83

New Member
Jul 29, 2019
1,588
0
0
Added ability to exchange one for one between the two mods trapdoors in 1.5.1 dev
 
Status
Not open for further replies.