Item Obliterator (Modpack Utils Series)

Item Obliterator (Modpack Utils Series)

23M Downloads

Regular expressions not working (NeoForge 1.21.1)

KalarianAthecila opened this issue ยท 1 comments

commented

So I'm working on a big modpack that has a custom made mod that completely overhauls the game. Because of this, I want to remove all vanilla blocks and items. I added every ID into the config file manually but then the config file is too long for Minecraft to even load and the game crashes on load. With a shorter config file it works but then I can't remove all items I want to remove. The I heard that the mod supports regular expressions so I tried removing "minecraft:*" which didn't work. The game loaded but everything was still there. I thought that Minecraft maybe had too many items to work with the mod so I tried a random mod from the modpack with just a few items (Aquaculture Delight) which also didn't work (screenshots of the items still being in game and the config attached). I also attached the latest.log to this issue.

I hope that someone can help me out with this issue so that I can finally finish my modpack.

Image Image

latest.log

For anyone wondering what exactly I need to remove all Vanilla items for, the modpack I'm working on is for a cinematic video series on YouTube. For this, we added a few thousand blocks to build sceneries with. These blocks are the only blocks that we need in the pack so I wanted to remove the rest to keep the creative inventory as much clean and organized as possible. Removing everything we don't need would probably spare us hours of searching for the right blocks and/or replacing not usable Vanilla blocks that we used by accident. So that's what I need to remove all Vanilla blocks and items for.

commented

Just adding this as a small comment. I think that the problem with the length of the file has smth to do with how Minecraft or NeoForge load the JSON, not with the mod itself. So the only approach I'd see for fixing my issue would be either getting the regex working (tried minecraft:* , regex:minecraft:* and minecraft:.*) or getting the mod to load multiple config files instead of jsut one.

I hope that someone can help with that.