mojira.dev
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.

Related issues

Attachments

Comments

migrated
[media][media]
BugTracker

Can confirm:

[media]
[Mojang] Triage Team

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

muzikbike

(Unassigned)

Confirmed

Commands, UI

24w37a

Retrieved