mojira.dev
MC-276838

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

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.

Linked issues

Attachments

Comments 3

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Confirmed in 24w38a - the baby mule is missing max_health and follow_range attributes even after it grows up.

can confirm in Minecraft 25w44a

Choc0early

(Unassigned)

Confirmed

Platform

Normal

Mob spawning

1.21.1, 24w38a, 25w44a

Retrieved