Mojira Archive
MC-276673

Missing texture when giving an item with an invalid tooltip style

The bug

When using commands to create items with a "tooltip_style" which does not match any existing tooltip texture, the missing texture is used.

This is inconsistent with other components such as custom_model_data, where the default textures are used as a fallback option.

How to reproduce

  1. /give @s stone[minecraft:tooltip_style=invalid_texture]
  2. Mouse over

Expected results

Since this doesn't match any existing textures, the default tooltip texture would be used as a fallback.

The missing texture should only appear in cases where there are issues with the current resource pack.

Actual results

The missing texture is present and prominent.

How to fix

Use the default tooltip as a fallback texture if the specified tooltip style does not match anything in a loaded resource pack.

Works As Intended

Connor Steppie

2024-09-13, 01:13 PM

2024-09-19, 12:50 PM

2024-09-16, 09:27 AM

2

0

Confirmed

Commands, UI

24w37a

-