I have noticed a bug in Minecraft Java 1.16.5, it is with the iron golems; the error happens when I build an iron golem in a place, and then I use the command "/clone" to clone the coordinates where the iron golem is, after that I put myself in survival mode, I go to the last golem (the clone from the original), and I start hitting him; the golem is supposed to hit me too, but it doesn't do anything to me, and I can keep hitting him until he dies. I ask that this bug be fixed, because it makes the game less realistic.
Golems built by the player won't attack you