SHsuperCM / CITResewn

Fabric implementation of mcpatcher's cit
MIT License
165 stars 93 forks source link

Have same texture with 2 different items (not an issue) #307

Closed Soyumo closed 1 year ago

Soyumo commented 1 year ago

Is there a way to have 2 different named items use the same texture in a single.properties file? Thanks

SHsuperCM commented 1 year ago

You would use a regex expression to achieve that. If you check the display name against =regex:(first|second) it would match either "first" or "second". There's tons of info online on regex if you want to do something more complicated.