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

Some entities don't count towards the "holder_type" property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w46a
    • None
    • Confirmed
    • (Unassigned)
    • Low
    • Platform

      When applying a special model to an item and it's displayed by one of the following entities, the item still uses the fallback model.

      Attached is also an image and a test pack that shows the model does get changed if a different entity is marked as the holder type (in this case, a husk).

      pack on:

      pack off:

      Affected entity types:

      • minecraft:firework_rocket
      • minecraft:item
      • minecraft:item_frame
      • minecraft:glow_item_frame
      • minecraft:snowball
      • minecraft:egg
      • minecraft:eye_of_ender
      • minecraft:ender_pearl
      • minecraft:experience_bottle
      • minecraft:small_fireball
      • minecraft:potion
      • minecraft:fireball

      How to reproduce:

      1. Load the attached resource pack (example pack.zip).
      2. Summon a husk holding one of the above items by executing the following command:
        /summon minecraft:husk ~ ~ ~ {HandItems:[{id:"minecraft:snowball",count:1},{}]}

        The snowball held by the husk uses the model specified by the resource pack.

      3. Throw a snowball, or summon one that can't move by executing the following command:
        /summon minecraft:snowball ~ ~ ~ {NoGravity:1b}

        The snowball uses the fallback model.

        1. 2024-11-14_13.19.22.png
          2024-11-14_13.19.22.png
          1.06 MB
        2. 2024-11-14_13.19.36.png
          2024-11-14_13.19.36.png
          1.01 MB
        3. example pack.zip
          4 kB

            Unassigned Unassigned
            DMgaming100 DMgaming
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: