#use tags?

8 messages · Page 1 of 1 (latest)

thin sluice
#
ServerEvents.recipes(event => {
 
// удаленые рецепты
event.remove({ output: '#minecraft:planks' })

// верстак добавленые
 event.shaped('2x #minecraft:planks', [// arg 1: output
    'AB', 
  ], {
    A: '#forge:tools/axes',
    B: '#minecraft:logs',  //arg 3: the mapping object  
  }
)

})

what tag to use for axe so it doesn't get wasted after first try to make boards

foggy cometBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

low oracle
#
event.shaped('2x #minecraft:planks', ['AB'], {
  A: '#forge:tools/axes',
  B: '#minecraft:logs',
}).damageIngredient(0)

you also cant really have a tag as an output, it will just choose one item, since you can only have one output

thin sluice
night galleon
#

try

event.shaped('2x #minecraft:planks', ['AB'], {
  A: '#forge:tools/axes',
  B: '#minecraft:logs',
}).keepIngredient("#forge:tools/axes")
thin sluice
#

Error again

night galleon
#

edited

thin sluice
#

thank you