Minecraft wiki entry for Village_mechanics, associated text: If a player has -15 popularity or less, the village's naturally-spawned iron golems act hostile to that player until the player's popularity is increased by trading. Golems constructed by the player, however, are always passive toward the player. Summoning golems, trading, and healing increase popularity.