Replacing input items in Smithing Table Recipes #823
Unanswered
lozadajobd
asked this question in
Script-related questions
Replies: 1 comment
-
I believe trim recipes are special and rely on either tags in code registration to determine what can be used as trim material, and as such recipe stuff cant touch it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to add compatibility between the Rose Quartz chunk of Biomes O Plenty and the Rose Quartz of Create through KubeJS.
The BOP Rose Quartz Chunk is used in smithing recipes to add a Rose Quartz material to armor trims. I'm trying to replace the input for BOP Rose Quartz with the tag #forge: gems/rose_quartz so the smithing recipes accept both.
I've already done this code that has done a good job at taking care of crafting table recipes. However, it seems that smithing table recipes are untouched, still asking for the BOP Rose Quartz Chunk instead of items with the tag. How can I accomplish the same thing for smithing table recipes?
RQuartzCraftingT.replaceInput(
Input: 'biomesoplenty:rose_quartz_chunk' }, // Arg 1: the filter: All recipes that require the BOP rose quartz chunk
'biomesoplenty:rose_quartz_chunk', // Arg 2: the item to replace
'#forge:gems/rose_quartz' // Arg 3: Replace the item with anything with the forge rose quartz tag
)
Beta Was this translation helpful? Give feedback.
All reactions