added missing recipes for macaw's barbed wire fences, replaced some of its other inputs with tags

This commit is contained in:
Pyritie 2025-09-09 23:43:19 +01:00
parent efe6d0c7dc
commit fef9da7d42
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,25 @@
// priority: 0
"use strict";
/**
*
* @param {Internal.RecipesEventJS} event
*/
function registerMacawsForTFCRecipes(event) {
event.replaceInput({ mod: 'mcw_tfc_aio' }, 'minecraft:stick', '#forge:rods/wooden')
event.replaceInput({ mod: 'mcw_tfc_aio' }, 'minecraft:string', '#forge:string')
event.replaceInput({ mod: 'mcw_tfc_aio' }, 'minecraft:glass', '#forge:glass')
event.replaceInput({ mod: 'mcw_tfc_aio' }, 'minecraft:glass_pane', '#forge:glass_panes')
global.TFC_WOOD_TYPES.forEach(wood => {
event.shaped(`8x mcw_tfc_aio:fences/${wood}_fences/${wood}_wired_fence`, [
'ABA',
'C C'
], {
A: '#forge:rods/wooden',
B: 'createaddition:barbed_wire',
C: `tfc:wood/log/${wood}`
}).id(`tfg:shaped/${wood}_wired_fence`)
})
}

View file

@ -242,6 +242,7 @@ ServerEvents.recipes(event => {
registerHandGliderRecipes(event)
registerHotOrNotRecipes(event)
registerImmersiveAircraftRecipes(event)
registerMacawsForTFCRecipes(event)
registerMeasurementsRecipes(event)
registerMegaCellsRecipes(event)
registerMERequesterRecipes(event)