Modscraper Modscraper Minecraft
Item Regex logo

Item Regex

Mod

Allows for regular expressions for vanilla rename-based item models

Type

Mod

Modrinth Downloads

939

Modrinth ID

DEl5MjTB

Last Updated

Sep 5, 2026

Description

Allows for using regex for selecting item models with the vanilla format!

Normally, you would neet to list multiple exact strings to allow for variation Cases for "Darksaber Hilt" and "The Darksaber Hilt"

But with this mod, you can use regex, iregex, pattern or ipattern in its place!

Regular expression allowing for any character to surround "Darksaber Hilt"

Because of the way the mod reads from the already existing json format, editing your packs to work with this mod won't break them with vanilla! If you want to, you can keep the cases you had before and in addition add a regex check. That way if someone were to use your texture pack in vanilla, it would still read the normal names correctly. (also who would name an item "iregex:.*Darksaber Hilt.*" on accident?)

Vanilla-supported names along with a regex name!

Compatibility

Mod Loaders

Fabric

Game Versions

1.21.5 1.21.6-pre1 1.21.6-pre2 1.21.6-pre3 1.21.6-pre4 1.21.6-rc1 1.21.6 1.21.7 1.21.8 1.21.9 +6 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (1)

External Resources