[1.20.1] Impossible to remove tags from gears via kubejs.
tomprince opened this issue ยท 2 comments
This makes it impossible to use tags like "#forge:gears/iron" in recpies without there being an uncraftable variant (if the hammerlib gear recipes are disabled).
Steps to reproduce:
- Install mods:
- Architectury [9.2.14]
- HammerLib [20.1.33]
- KubeJS [2001.6.5-build.16]
- Rhino [2001.2.3-build.6]
- Create 'kubejs/server_scripts/test.js` with
ServerEvents.tags('item', event => {
event.removeAllTagsFrom( /hammerlib:gears.*/ );
})
- Create a world a give self a gear
/give @s hammerlib:gears/iron
- With gear selected run
/kubejs hand
and observe that the item still has the tag#forge:gears/iron
. - Dump kubejs with
/kubejs export
and observe thatlocal/kubejs/export/tags/minecraft/item/forge/gears/iron.json
does not exist despite an item with that tag existing.