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

Baby mules spawned using spawn eggs or commands are missing some of their attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 24w38a
    • None
    • Confirmed
    • Mob spawning
    • Normal
    • Platform

      When a mule spawn egg is used on a mule to spawn a baby mule, or when a baby mule is spawned using commands, it is missing its max_health, follow_range and jump_strength attributes, and its health value is equal to 53 (just like before MC-178383 was fixed).

      Horses and donkeys don't have the same problem.

      How to reproduce:

      1. Spawn a mule and use a spawn egg on it to spawn a baby mule, or execute the following command:
        /summon minecraft:mule ~ ~ ~ {Age:-32767}
      2. Making sure the baby mule is the closest one to you, execute the following command:
        /data get entity @n[type=minecraft:mule] attributes

      Expected result:

      A baby mule spawned by using a spawn egg or commands would have all of its attributes.

      Observed result:

      A baby mule spawned by using a spawn egg or commands is missing its max_health, follow_range and jump_strength attributes.

            Unassigned Unassigned
            Choc0early Choc0early
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: