This version adds:
- A regex cache. This should be an additional speedup, especially in scenarios where a lot of server side animated items are present (or when working with other mods that create new item instances every tick).
- Better handling of resource pack reloads
- Use a reference queue for cache eviction. This improves performance in case another mod holds references to lots of item stacks for a long time. This is essentially a fix for other mods being buggy.