#Adding tags to all items in a mod with input of x

14 messages · Page 1 of 1 (latest)

calm folioBOT
#

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

snow plover
#
ServerEvents.tags('item', event => {
    event.add('forge:tools', {mod:'divine_weaponry', input: 'tough_beginnings:tough_block_of_wood'},

)
})
astral yoke
#

with input of x wdym with input of x? if you mean recipes, those aren't loaded when the tag registry event is run

snow plover
#

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

astral yoke
#

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

snow plover
#

first one worked ty

#

oo one last thing

#

i dont understand when or how to use "not" or "except"

#

like what we jus did could u add "not" minecraft:tools

astral yoke
#

not directly

#

for that you would need to loop over all the items and check for each independitly