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

Vex with LifeTicks don't drop items on death

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.1
    • None
    • Unconfirmed
    • (Unassigned)

      The bug

      Once the "LifeTicks" of the vex have passed and it dies it won't drop it's items. I am not sure if this intended since it doesn't count as being killed however since it's default drop values are 0 this might not be the case.

      How to reproduce

      1. First encounter:
      give @s minecraft:ender_dragon_spawn_egg[minecraft:entity_data={id:"minecraft:vex",LifeTicks:1,Health:1f,HandItems:[{id:"minecraft:netherite_sword",Count:1b},{}],HandDropChances:[1.0f,0.0f]}]
      1. When removing the "LifeTicks" and just hitting it seems to work fine
      give @s minecraft:ender_dragon_spawn_egg[minecraft:entity_data={id:"minecraft:vex",Health:1f,HandItems:[{id:"minecraft:netherite_sword",Count:1b},{}],HandDropChances:[1.0f,0.0f]}] 

            Unassigned Unassigned
            HeroChris Christian Prater
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: