I want to be able to tag all the outputs of the botania:marimorphosis/metamorphic_{biome}_stone recipes (edit: ideally, any of the marimorphosis recipes actually, in case I ever decide to add some of my own) into a tag #botania:metamorphic_stones, but can't figure out an efficient way to do it from the tutorials. There feels like there should be a way, but I can't find something that doesn't segfault for the life of me
#Is there a way to tag everything from a recipe output?
44 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
e.add('botania:metamorphic_stones', /^botania:marimorphosis\/metamorphic_.+_stone$/)
put that in your tag event
I forgot about the regex option. Isn't there a way to add everything in the marimorphosis recipe category though?
not sure what you mean by recipe category
recipes also dont exist during tag event
cuz recipes use tags
botania:marimorphosis/metamorphic_swamp_stone and botania:marimorphosis/metamorphic_desert_stone are two different recipes, but in the same marimorphosis category. Sorry if I'm not explaining this well
are these recipe IDs?
of course not. I knew that. I'm a little brainfried rn, sorry
yes
trying to process what youre asking
xD
are the output items not similar in their ID to use regex?
like i said recipes dont exist, so you cant take the output of a recipe and add a tag to that item
cuz recipes dont exist
they are, but I might add in custom recipes for stuff from other mods
would something like e.add('botania:metamorphic_stones', {id:botania:marimorphosis\/*.}) do it? Sorry, I'm absolutely awful at regex
tags load before recipes. tags cannot be recipe dependent.
I really wanted to add all the different metamorphic stones that can be created with Botania's marimorphosis flower into a tag so that I could whitelist that tag with the veinmining mod I'm running, but I suppose I could just do them all manually. It wouldn't be much more work than trying to figure something out for this
just a pain
Ticket closed!
cause that's recipe id based.
what are the items' IDs?
I'll check in a moment. Right now I'm being told that my kubeJS test world needs safe mode and getting a massive MouseClicked handler crash when I try to create a new one. Nothing can ever be easy apparently
no, you're right, that regex will work. I've just had it drilled into me that Regex is a Last Resort because it can go berserk if it isn't handled properly
I typically work in Python or Shell (terminal) scripts with root access, so a regex running wild is one of my worst nightmares.
yours works though, thanks!


Ticket re-opened!
event.add('forge:stone', '#botania:metamorphic_stones')```
@winged crypt @unkempt crown (sorry for the ping) that should add everything from the regex to `forge:stone` too, right?
it didn't seem to add any tags at all 😦
I'm an idiot, never mind. I just need to use the block namespace instead of the recipe namespace. And get some sleep, probably

