added missing recipes for macaw's barbed wire fences, replaced some of its other inputs with tags
This commit is contained in:
parent
efe6d0c7dc
commit
fef9da7d42
2 changed files with 26 additions and 0 deletions
25
kubejs/server_scripts/macaws_for_tfc/recipes.js
Normal file
25
kubejs/server_scripts/macaws_for_tfc/recipes.js
Normal 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`)
|
||||
})
|
||||
}
|
||||
|
|
@ -242,6 +242,7 @@ ServerEvents.recipes(event => {
|
|||
registerHandGliderRecipes(event)
|
||||
registerHotOrNotRecipes(event)
|
||||
registerImmersiveAircraftRecipes(event)
|
||||
registerMacawsForTFCRecipes(event)
|
||||
registerMeasurementsRecipes(event)
|
||||
registerMegaCellsRecipes(event)
|
||||
registerMERequesterRecipes(event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue