How to blacklist specific variants of items?

I am tinkering with my own blacklist mod, for personal flavor purposes. I have had a hard time finding out whether specific variants under an item id can be blacklisted. Is there a way to do this? To give an arbitrary example, lets say I wanted to blacklist the Boba Fetch t-shirt(V), in the debug menu it is listed as #973: tshirt. In this hypothetical scenario, I don’t want to blacklist every tshirt, just this one.

In torso_clothes.json it is designated under "id": "boba_fetch_tshirt" , but the game doesn’t recognize that as a valid item id if it’s put into the blacklist.

There is currently no support for this.

You can instead overwrite the base item’s definition, and remove that variant/set its weight to 0. Removing the variant entirely would be more thorough, setting the weight to 0 could still allow it to spawn when an itemgroup/map placement specifically calls for it. Both cases should be error-free, as invalid variants are rerolled.

1 Like

Ty for that info, that’s all I needed to know. I was worried removing item entries might break the game somehow.