Respawnable Pets Mod for Minecraft 1.20.1, 1.19.4 and 1.19.2, will allow pets to reappear the next time the player sleeps, in a previously selected bed.
The reappearance alternates with a new element, the ethereal gem, but it will only work with previously tamed pets. It will, however, incorporate a configurable blacklist.
Actually, the goal of Respawnable Pets is to prevent the loss of pets by allowing domesticated animals to reappear the next time the player sleeps in a bed. In this way, the mascots will always be close to the players.
And not only that, as it will incorporate a fantastic element, the ethereal gem, which will only work with domesticated pets. In addition, it has a fully configurable blacklist (entity_types “respawnablepets: blacklisted”), which can prevent the reappearance of unwanted pets.