Wiki 9Minecraft Wiki 9Minecraft

Item Obliterator Regular expressions

Java EditionModGuides 5FAQ 6Related mods 60
DownloadItem Obliterator

Get the files on 9Minecraft

Start an entry with an exclamation mark and the rest is read as a regular expression rather than a literal id.

"!minecraft:.*_sword"

That single line removes every sword in the game. The advantage over listing them is not just brevity: the pattern keeps matching when another mod adds a sword later, so a pack does not silently spring a leak the next time its mod list grows.

The same syntax works in every list described below.