Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-275504

Custom model data is not applied to open bundle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w37a
    • 24w33a
    • None
    • Confirmed
    • Resource Packs, UI
    • 1284927
    • Expansion A

      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).

            elvendorke [Mojang] elvendorke
            MrKinau MrKinau
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: