Mojira Archive
MC-275504

Custom model data is not applied to open bundle

When trying to use custom_model_data with a bundle, it only works for the base bundle model, but not for the two new open models, they do not use the specified custom_model_data component and always display the default model ignoring the model overrides.

Steps to Reproduce

  1. Apply the attached example resource pack: MC-275504 example resourcepack.zip
  2. Give yourself a bundle with custom model data 1 (it will be completely invisible, except the storage progress bar)
    /give @s minecraft:bundle[minecraft:custom_model_data=1,bundle_contents=[{id:'diamond'},{id:'obsidian'}]]

Observed Behaviour

When scrolling or using hotbar keys to select a specific item inside the bundle, the bundle texture changes from the custom one (completely invisible in the example resource pack) to the default opened texture.

Expected Behaviour

The bundle should respect the custom_model_data and show an empty texture (only the selected item should be displayed), but the bundle front and back should be completely invisible (using the example resource pack).

Fixed

MrKinau

[Mojang] elvendorke

2024-08-17, 12:03 PM

2024-09-05, 11:42 AM

2024-09-05, 11:42 AM

3

3

Confirmed

1284927

Expansion A

Resource Packs, UI

24w33a

24w37a