Item Regex

Item Regex

Mod

Allows for regular expressions for vanilla rename-based item models

Client Game MechanicsUtility

222 downloads
7 followers
Follow Save

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!


Project members

dbrighthd

Member

Details

Licensed MPL-2.0
Published 6 months ago
Updated 5 months ago