#how do i remove an item from a tag?
73 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
sec
This is a list of all the events. Choose your version.
ah theres an updated page on it
You can modify tags with KubeJS, and the wiki has a page on that!
second line on the wiki
the event.get().remove() should still be valid i think, but its an old notation that basically nobody uses anymore
this is the new script, it still doesn't work
Please send your server.txt log file.
You can find it here: minecraft/logs/kubejs/server.txt
this might help
wow that's a lot of errors
Paste version of server.txt from @glacial imp
yeah dont worry about those, theyre not from you
theyre caused by mods with silly and lazy modders
KJS just picks up the errors
can you show me the ingame tooltip of that item, something doesnt make sense here 
one sec
here
i tried deleting the file that gives said elytra it's curios:back tag, and the Slot: Back line was gone
theres no tags on that tooltip tho 
yeah i saw that now on github
but in the screnshot the tag is removed
or at least i dont see it on the tooltip
some testing is needed
this is without the script
now i'm deleting the back.json from the enigmatic legacy mod
if you look at other items, can you see tags on them?
like if you look at cobble, do you see forge:cobblestone
or stone or something
not really
but i deleted only the back.json this time and the line is still there
interesting
so you cant see tags on the items?
KJS should have an option somewhere in configs to turn on tag tooltips, but i dont remember where
i cant check cuz im at work
found it
this is really weird, i tried deleting the back.json but it didn't work, then i tried enabling the script again and poof it's gone
it still doesn't work with an uneddited version of enigmatic legacy though
i haven't gotten anywhere close to solving this didn't i
from what i understood out of this, kubejs has removed the item from the tag but not in a way that would make curios think this elytra doesn't have the tag?
if thats the case, it means Curio isnt looking for tags, but something else
i'll check their repo again
are there no configs for this?
for curios there's only a client one
not for curios, for enigmatic legacy
on their repo, the elytra is registered as a curio item
i think the tag only tells it what kind of curio item it is (like what slot)
checked and there's no config for the elytra being a curio
doesn't explain why i managed to disable it from being a curio by doing those super specific things
in that case i dont know how to remove it, or if you even can
i'll ask c4 about that maybe
Whatever removing the item from the tag will accomplish i'll be happy with that
Still, kubejs doesn't seem to do what it's supposed to do, correct? It should've already done this
it did seem like it did what you told it to
but it cannot change how an item is registered
thats just not possible
its exactly what that person said
the KJS part worked perfectly
it removed the slot
thats what the tag does, like i said before
as i said, kjs didn't remove the slot
it only did so when i manually removed it from the mod's datapack
again, it should look like this
if it doesn't look like this and has the slot: back line, it means it's still in the curios:back tag
this is what it looks like with no alterations to the enigmatic legacy mod file and just the script performing
and also i enabled the kjs tooltips, here it is
started working for some reason