Minecraft wiki entry for Allay, associated text: When killed by other players or mobs, allays drop the items they were holding. Allays cannot be damaged by their owners. If they are damaged, they activate "panic mode", where they will start moving faster and will have more random movements. If they have a totem of undying equipped, the allay will be able to use it and gain a second life, similar to a player.