Skip to main content
Added actual texture image and item JSON file from RP and BP
Source Link
Quack E. Duck
  • 478
  • 1
  • 3
  • 14

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: items on ground all have correct sizes

And here is the player holding a 32x item (the same squid tentacle) and a 16x item (the fish): too big 32x item in hand normal 16x item in hand

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: squid tentacle 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
            }
        }
    }
}

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: items on ground all have correct sizes

And here is the player holding a 32x item (the same squid tentacle) and a 16x item (the fish): too big 32x item in hand normal 16x item in hand

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?

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: items on ground all have correct sizes

And here is the player holding a 32x item (the same squid tentacle) and a 16x item (the fish): too big 32x item in hand normal 16x item in hand

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: squid tentacle 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
            }
        }
    }
}
Source Link
Quack E. Duck
  • 478
  • 1
  • 3
  • 14

Double resolution texture makes item too big only when in player's hand

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: items on ground all have correct sizes

And here is the player holding a 32x item (the same squid tentacle) and a 16x item (the fish): too big 32x item in hand normal 16x item in hand

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?