Item Regex
by dbrighthd
Item Regex lets a regular expression select item models in vanilla rename-based format, so a single pattern can match many item names at once.
What it does
Vanilla rename-based item models normally need an exact string for each name. This mod accepts a regex, with the keywords regex, iregex, pattern and ipattern, so one entry can cover a whole group of renamed items. The case-sensitive and case-insensitive forms differ only in whether letter case is checked.
The mod reads the existing JSON model format, so packs that already edit those files keep working without a new syntax. It does not change how vanilla behaves, and a texture pack can still resolve normal item names as before. Items renamed with the iregex prefix, such as a Darksaber Hilt example, are matched the same way.
Item Regex is a Fabric mod with the client-side only environment, so only the client needs it and a server can run without it. It is open source under the Mozilla Public License 2.0, and its source code is public. Files target 1.21.5 – 26.3 across twelve release versions, with snapshot builds also published; the latest Fabric file is 1.2.0 for 26.3, released 2026-03-22.
Key features
Regex item model matching
A regular expression in the model selection can match item names instead of a single exact string.
Case-sensitive and insensitive patterns
The regex and pattern keywords match exactly, while iregex and ipattern ignore letter case.
Vanilla format compatibility
Models keep the vanilla rename-based JSON layout, so existing pack files need no conversion.
Texture pack fallback
A texture pack that uses normal item names still resolves them correctly with the mod installed.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x7 of 7 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Use cases
Grouping renamed items
A pack author can cover many renamed variants with one pattern instead of listing every exact name.
Who it’s for: Resource pack and model authors who work with vanilla rename-based item models, and players who use such packs on the client.
Questions
Does Item Regex need to be installed on the server?
Which loader does Item Regex support?
Does Item Regex change how vanilla item names work?
In the catalog
Item Regex is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 8,071 mods support Minecraft 26.3.
More from dbrighthd
Similar mods
What the author says
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
Official listing
- Modrinth page
- modrinth.com/mod/item-regex
- Owner
- dbrighthd
- Published
- 2025-05-14
- Updated on Modrinth
- 2026-03-22
- Facts verified
- 2026-10-15
