#Adding tags to all items in a mod with input of x
14 messages · Page 1 of 1 (latest)
ServerEvents.tags('item', event => {
event.add('forge:tools', {mod:'divine_weaponry', input: 'tough_beginnings:tough_block_of_wood'},
)
})
with input of x wdym with input of x? if you mean recipes, those aren't loaded when the tag registry event is run
ahhhhh that makes sense, what about everything in the mod
ServerEvents.tags('item', event => {
event.add('forge:tools', {mod:'divine_weaponry'} 'tough_beginnings:tough_block_of_wood'},
)
})
ops
no thats wrong sorry
try event.add('forge:tools', "@mod") if that doesn't work you can also try: event.add('forge:tools', Ingredient.of("@mod")//.itemIds) uncomment the comment if it still doesn't work. If all three of these don't work write again and I will make another that works