Skip to content

Item Regex

By dbrighthdOwner

Allows for regular expressions for vanilla rename-based item models

1k downloads Updated

Last update on each platform

26.3 26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

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
description_60aa8c8b-fbac-4d0d-9b4c-5b3f31426e1f.png

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

description_9002a1f0-34ad-4a9d-adfe-7f55d7783e74.png
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?)
description_cb16ec56-03de-4b7a-ac91-c9824b744fa9.png

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!