CraftTweaker

CraftTweaker

151M Downloads

Ability to target all items from a specific mod

Thedrummonger opened this issue ยท 1 comments

commented

I was wondering if would be possible to implement the ability to target all items from a specific mod using something like [botania:*]. So for example to remove all furnace recipes for all Botania items you could use something like [furnace.remove(botania:*);] This would be extremely helpful in certain cases.
Thanks!

commented

Closed by;
jaredlll08@e8a3308

you will still need to loop over all the items and do stuff with them from there, like so:

for item in loadedMods["botania"].items {
print(item.name);
}