Minecraft wiki entry for Mule, associated text: When spawned in any way except breeding – for instance, using commands or using spawn eggs – mules are assigned their stats within certain ranges, specific according to their horse type.