Why is there a zombie that simply refuses to attack me?

I'm in a single-player world on my laptop. Here are the settings of the world:
- Game Mode (Survival)
- Difficulty Level (Normal)
- Cheats (Off)
So, it's nighttime and I go out to kill mobs, but I notice that there's this one Zombie that doesn't attack me. I kill all the mobs around it, and this lone Zombie stands there just staring at me. I'm thinking, "Oh, maybe it didn't notice me or something," so I prance over to him and smack him with my fist. The Zombie bounces back hurt, but does not move or make any motion to attack me. I repeat this action again and again, until the poor Zombie falls over red and I get a few orbs of XP.
Is this just a glitchy mob? Or is there something wrong with my game?
I would appreciate a complete and truthful answer. Thank you for taking your time to read my post.
Best Answer
Strange, as zombies even walk through sunlight to get to you. Sometimes when a zombie is going for me and i hit him he briefly pauses for a moment. But after 1 or 2 seconds he continues to chase me. Aren't you mistaking villagers for zombies?
Zombies do despawn if you move far away from them. That's not a glitch, but zombies being AFK is.
Also, Zombies don't spawn in peaceful mode so that won't be a problem.
Pictures about "Why is there a zombie that simply refuses to attack me?"



Why is the Zombie Villager not attacking me?
Make sure your not playing in peaceful mode, make sure you are in survival mode (/gamemode 0). Other mobs around him were attacking, so he couldn't be in creative.Can a zombie be tamed?
While you can't tame them, the possibility to have a Zombie is a pet exists, you just need to find one and capture it!What are Minecraft zombies attracted to?
Zombies were one of the first mobs added to Minecraft. They are creatures of the night and are very attracted to players and villagers.What scares zombies in Minecraft?
Building a wood fence or cobblestone wall around the border of your village will keep zombies out and defenseless villagers in. It is up to you how simple or elaborate your barrier is, as long as it can keep out unwanted monsters.Why Zombies CAN'T Happen
More answers regarding why is there a zombie that simply refuses to attack me?
Answer 2
I encountered that too my friend. I even push that zombie and it simply doesn't attack me back. You seldom see them, they are friendly. That means, there's no glitch on your computer or on the game itself.
Answer 3
Make sure your not playing in peaceful mode, make sure you are in survival mode (/gamemode 0).
Can you maybe specify more about your game? (minecraft version, local/server, etc)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.