No, the issue isn’t specific to Tinkers’ Construct—in fact, it doesn’t use it at all. This is something we discovered while trying to optimise and reduce the number of textures.
During our initial testing prior to 1.21.90, everything was working as intended. However, when we tested again after 1.21.90, the method no longer worked and items began rendering incorrectly when held in the player’s hand.
To reproduce the issue, simply create a new item and define an icon atlas that uses this technique with two or more textures. You’ll notice that all layers render correctly in the inventory, but when the item is held in hand, only one texture layer is displayed.
I’ve gone ahead and created a small add-on that demonstrates this clearly. In the example, I’m adding 64 new axes; however, instead of using 64 individual textures, I’m only using 16 textures, mixed and matched using the technique described above.
If you load the add-on and review the example, you’ll see that the textures render correctly and are layered as intended in the inventory. However, when the item is held in hand, only one part of the texture is rendered.
No, the issue isn’t specific to Tinkers’ Construct—in fact, it doesn’t use it at all. This is something we discovered while trying to optimise and reduce the number of textures.
During our initial testing prior to 1.21.90, everything was working as intended. However, when we tested again after 1.21.90, the method no longer worked and items began rendering incorrectly when held in the player’s hand.
To reproduce the issue, simply create a new item and define an icon atlas that uses this technique with two or more textures. You’ll notice that all layers render correctly in the inventory, but when the item is held in hand, only one texture layer is displayed.
I’ve gone ahead and created a small add-on that demonstrates this clearly. In the example, I’m adding 64 new axes; however, instead of using 64 individual textures, I’m only using 16 textures, mixed and matched using the technique described above.
If you load the add-on and review the example, you’ll see that the textures render correctly and are layered as intended in the inventory. However, when the item is held in hand, only one part of the texture is rendered.
Hope this helps.