Earlier, you could only tame some specific mobs like wolves, ocelots , horse, parrots, pigs, rabbits etc. and you couldn't even tame hostile mobs. But fortunately, I have solution to your problem. I have made Mob Treat. Mob Treat is a treat which will help you to tame more mobs including hostile mobs and non-hostile mobs. For eg- iron golem, zombie, husk, mule, zoglin, hoglin, skeleton, strider etc. Like, you can literally make any mob your pet.
Select version for changelog:
Changelog
‣ Just added some more tamable mobs and added some new features.
Ñ