Starting with version 19w11a, the village system appears to have been removed. Prior to this version, there is a village system that existed in game, with data stored in a file named "villages.dat" that recorded player reputation data. However, this system was removed in version 19w11a because the valid blocks for determining villages were changed to beds. Whether an iron golem will become hostile to the player is now determined by the individual reputation of the villagers, not the entire village reputation, which was previously the case.
This is a parity issue maybe, in Bedrock Edition the village reputation system is still works.
This is too broad of a report– the village system was reworked on purpose, and it can’t be expected that every intended change was documented in the corresponding changelogs. This is also not a valid parity issue as it refers to changes made pre-1.15.
If you desire, this report could be changed to track iron golems no longer becoming angry at the player in certain situations (I will probably link MC-145730 as a clone if so). If you wish to do this, please upload videos of the behavior in both 1.13 and the latest release or snapshot, clearly demonstrating how to reproduce the issue in a new world with cheats enabled. Have the debug overlay (F3) enabled for both videos, and for the one in the latest release or snapshot please ensure that the game version is shown.
You can record your screen using:
On Windows, the built-in Snipping Tool app (shift+win+S)
On macOS, the the built-in Screenshot app (shift+cmd+5)
Third-party software such as OBS
It is recommended that you trim, convert and/or reduce the quality of your recording so that it is under 10MB, as this will make the upload much quicker.
This report will automatically reopen when you upload your recordings. It would also be appreciated if you would edit the title and description of report to reflect the new scope of the issue, but if you don’t I will attempt to do so myself.