#Problem with item tags

16 messages · Page 1 of 1 (latest)

calm vigil
#

I am trying to add some tags to item. First 4 works fine, but the rest isnt working.
`onEvent('item.tags', event => {
event.add("c:cobalt_dusts", 'kubejs:cobalt_dust')
event.add("c:'netherite_dusts", 'kubejs:netherite_dusts')
event.add("c:cobalt_small_dusts", 'kubejs:cobalt_small_dust')
event.add("c:'netherite_small_dusts", 'kubejs:netherite_small_dusts')
event.add("c:'netherite_small_dusts", 'kubejs:netherite_small_dusts')
event.add("c:gears",'modern_industrialization:aluminum_gear')
event.add("c:gears",'modern_industrialization:gold_gear')
event.add('c:gears','modern_industrialization:steel_gear')
event.add('c:gears','modern_industrialization:iron_gear')
event.add('c:gears','modern_industrialization:bronze_gear')
event.add('c:gears','modern_industrialization:copper_gear')
event.add('c:gears','modern_industrialization:invar_gear')
event.add('c:gears','modern_industrialization:titanium_gear')

})`

livid coralBOT
#

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

drowsy fieldBOT
#

You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or below it will be called server.txt.
Please send it if asked, as it contains helpful information.

drowsy fieldBOT
warm dew
#

c:'netherite_dusts is not a valid tag

#

also

warm dew
drowsy fieldBOT
# warm dew ??senditanyway

"The log doesn't have any errors"

Send it anyway

You sometimes might not notice some errors (for example, recipes might not show an error but a warning instead). This is why you should send it, even it it might not have any errors

calm vigil
drowsy fieldBOT
#

Paste version of server.txt from @calm vigil

calm vigil
#

kubejs\server_scripts\Tags

drowsy fieldBOT
calm vigil
#

sorry for bothering

warm dew
#

no problem