This script is on the MPD discord, it's quite big and spread across multiple files so it's a bit of a pain to paste it all here but I figured it's easy enough to follow a link
https://discord.com/channels/362322551684464641/1416574436794171473
^^^
What it does:
- Can handle blocks, items, **fluids **(somewhat), and **entities **(somewhat)
- Can handle regex
- Remove every recipe relating to a block, item, or fluid*
- Remove all block/item/fluid/entity tags from items (important for not showing up in EMI tag lists, and for not breaking recipes that the nuked item's tag is an ingredient in)
- Can remove loot tables (with LootJS) containing nuked content (without disabling the entire loot table too, which is useful for removing stuff from structure loot)
- Nuked content is hidden from recipe viewers
- Nuked content is given a big red tooltip indicating it's disabled
- Quick reload functionality (that may be useable for exploits lmao, you may want to add a check if the player is an admin or something)
What it does not do:
- Remove mob spawns (atm I don't need this very much, I just use incontrol)
- Remove from creative inventory (this is so that devs don't forget that nuked content exists entirely, in case they want to re-implement it or something)
- Remove non-recipe interactions involving blocks/items
- Remove blocks from worldgen
- Remove biomes (idk how i'd do this)
- Remove enchantments (I use enchantment disabler for this atm)
*this will result in missing recipes if you nuke an important ingredient
I use this alongside EMI and ALI