Get In The Bucket Mod (Fabric)
This Minecraft mod offers a unique feature - the ability to put mobs into buckets! Simply right-click on any creature, and you'll get a bucket containing that mob.
In creative mode, mob collection works differently: picking up creatures deletes them, and placement functions similarly to using spawn eggs.
For mobs from other mods, a generic "Bucket of Entity" item is used. If you need to add entity NBT data using commands, place it in the EntityData tag.