Goblins Community Mod (1.16.5, 1.18.2) adds Goblins Villagers. They can spawn in Villages. You can trade with them by clicking the Iron Ingot icon in your inventory. You can also find some Goblins outside of the Village, such as Wild Goblins. Wild Goblins are scary to other Goblins.
Wild Goblins are the most fearful of all Goblins. Zombie Goblins are also feared by other Goblins. If they see a Zombie Goblin, Wild Goblins will attack them. Zombie Goblins can attack any Goblin and turn them into Zombie Goblins, if they kill them. Goblin Villages are structures that allow Goblins to spawn. However, not all Goblins can be spawned in these villages.