Item Regex
ModMPL-2.0

Item Regex

Allows for regular expressions for vanilla rename-based item models

437
Downloads
9
Followers
3 months ago
Updated
📦
4
Versions

📖About Item Regex

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!