In my resource pack, most of the textures are the default resolution (16x16) but two item textures are 32x32 instead. These mostly display correctly, except when held in the player's hand. Then, the higher resolution items appear too big. In the inventory/Creative menu, and when dropped on the ground, the items are all the correct size, regardless of texture resolution.
Here is an example of the double resolution item (the squid tentacle) on the ground beside two standard resolution items:
And here is the player holding a 32x item (the same squid tentacle) and a 16x item (the fish):
Is there a way to scale down the higher resolution item's size when in the player's hand, so that it matches the other items?
This is the image I'm using for the item texture:
And here is squid.item.json from the behavior pack:
{
"format_version": "1.20.30",
"minecraft:item": {
"description": {
"identifier": "addtns:squid",
"menu_category": {
"group": "itemGroup.name.rawFood",
"category": "nature"
}
},
"components": {
"minecraft:hand_equipped": false,
"minecraft:max_stack_size": 64,
"minecraft:icon": {
"texture": "squid"
},
"minecraft:display_name": {
"value": "Squid"
},
"minecraft:use_duration": 2,
"minecraft:use_animation": "eat",
"minecraft:food": {
"nutrition": 3,
"saturation_modifier": 0.4,
"can_always_eat": false
}
}
}
}