
VILLAGER WAR
Makes a mode where there can be wars beetween villages , each villages have a mayor , and if one mayor decide to start a war against another village then the...
00—neoforgeServer1.21.1mod
What this mod does
- Adds a server-side “Villager War” system where villages can be registered, assign a mayor, enlist soldier villagers, and declare wars against other villages.
- War state is persisted; soldiers automatically boost themselves, rally nearby allies, and summon iron golems as defensive reinforcements when enemy villagers are nearby.
- Peace requires both mayors to agree—once both sides request peace, the war is cleared and hostilities stop.
How to use it
- All commands require operator permission:
/villagerwar create <name> <radius>,/villagerwar setMayor <village> <villager>,/villagerwar assignSoldier <village> <villager>,/villagerwar declareWar <sourceVillage> <targetVillage>,/villagerwar requestPeace <village> <withVillage>,/villagerwar status [village]. - Mayors and soldiers must be villagers in the same dimension as their village. Soldiers and mayors are tagged to their village and keep that role after reloads.
- During war, soldier villagers near enemies call in golem defenders and share resistance buffs with nearby allied villagers.
Notes and limitations
- Villages are defined manually at a position and radius; the mod does not auto-detect vanilla village boundaries.
- Soldier AI remains villager-like; their main combat power comes from buffs and summoned golem defenses.
- If a tagged villager dies, its role is cleared; you may need to assign a new mayor before declaring wars or accepting peace.