Minecraft Dungeons:Key Golem

The Key Golem is a small passive mob $$ which helps the player unlock certain doors upon collection.

Appearance
The Key Golem is a small golem resembling a key, as its name implies. There is a golden and diamond key golem and has a small face on it. It also possesses small legs.

Spawning
The Key Golem can be found in Cacti Canyon, Desert Temple, Lower Temple, Highblock Halls, the Underhalls, the Overgrown Temple, a randomized part of the Dingy Jungle, the Lonely Fortress and in a randomized part of the Frosted Fjord.

Behavior
The Key Golem starts out asleep. When it wakes, it attempts to evade the player any way it can. The player must hit it to collect it, at which point it gets strapped to the player's back. The Key Golem squirms and yells in fear while on the player's back. If the player is damaged while wearing the Key Golem, the Key Golem gets off and flees back to where the player found it but if another entity hits it, it will have the Key Golem on his back. If the player manages to get to a locked door while wearing the Key Golem, it disappears, the lock turns yellow, and then the door opens. There is another Key Golem that is colored blue and is used to open blue doors.

The Key Golem can be picked up by certain mobs. If the mob gets killed, the key returns to the closest rug.