The main purpose of this report is to see if this is intended or not.
As explained in the summary, pandas hurt near villagers in villages make the iron golem of that village (provided it wasn't PlayerCreated
) hostile.
What I expected to happen:
That the villagers' angry particles were purely visual in this situation
What actually happened:
The iron golem marched right up to me and OHKOed (one-hit-knockout) me.
How to reproduce:
Find a village
Summon an iron golem in the village with
PlayerCreated
set to0
Spawn and hurt a panda in the same area
Linked issues
Attachments
Comments
This is intended, and in fact was mentioned in a changelog. Iron Golems protect Pandas.

What changelog? If you're looking at the Minecraft Wiki, bear in mind that the "list of changes" is not from the official website, but rather from community research on the snapshot.
@unknown, could you link that changelog please? I couldn't find a line like that in any from 43a-50a

I looked at every changelog from 18w43a to 18w50a. None of them mention golems willing to protect pandas.
Well, this thing goes like this:
Hurt panda -> lower player rating in nearest village -> iron golem attack players with low rating
It is working as intended.

This report has already gone to the "Assignee" phase. Mojang will probably decide whether this is intended or not.
As for the logic, would punching a panda be a "serious endangerment for the health of villagers"? Because iron golems respond to mobs attacking villagers. The player punching a panda provides no harm to the villagers. While the villagers might be angry, they probably wouldn't take that as a law infringement!

Seem to be fixed in the latest snapshot.
@unknown; It's not fixed, and still affects the latest snapshot. Can you please double-check next time, you've already caused tickets to be closed as Fixed when they aren't.
Can confirm, and I agree that this should be fixed. Pandas are cute, but they shouldn't be given the exact same rights as villagers.