I'm playing Minecraft when suddenly, the game puts a totem of undying in my head when I look north. I think it's because of the command block that replaces the slot.weapon.offhand slot of the zombie villager with a totem. Because of that, I can't make zombie villagers invincible without puttingΒ effect @e[type=Zombie_Villager] resistance 1 5 true
in a repeating command block. Please fix it! Steps:
1: Give yourself a command block, 2: Place 2 command blocks on top of each other,
3: Delete the lower command block, 4: Change the upper command block to a repeating command block,
5: Type replaceitem entity @e[type=Zombie_Villager] slot.weapon.offhand 0 totem
in the repeating command block,
6: Place a Block of Redstone under the command block,
7: Get a zombie villager spawn egg, 8: Spawn it, and finally
9: Look north, slightly offset to the left!
Linked issues
is duplicated by
relates to
Comments

This issue also happens on custom entities. I'm not sure how to describe it but it also sometimes happens when standing on barrier blocks (in a certain angle)
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version? If so, please make sure the ticket description contains the following information:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki
Relates to MCPE-39779. Although that issue has been fixed for invisible armor stands and other entites, this is a manifestation of the same issue, in another situation. Adding 1.13.0.9 beta to affected versions.