Chad Mercado

make a pillager and villager mod that adds more villagers, pillagers and golems also add cool structures like pillager cities and villager cities and even golem temples

Kodari AI
KodariOct 10 at 8:47 pm 13
VillagerWarfareExpansion
Expands Minecraft's villager and pillager factions with new mob variants, including specialized villager professions, elite pillager raiders, and enhanced iron golem guardians. Adds procedurally generated structures such as sprawling pillager cities with watchtowers and barracks, fortified villager cities with marketplaces and farms, and ancient golem temples filled with guardian statues and treasure. Features new weapons, armor, and trading mechanics unique to each faction, plus boss encounters for endgame challenges. Designed for Fabric 26.3, the mod integrates custom AI behaviors, loot tables, and world generation to create dynamic faction warfare and exploration opportunities.
  1. Create the mod scaffold and register survival-obtainable specialist villager, pillager, and golem variants.

  2. Add the villager city, pillager city, and golem temple as world-generated structures.

  3. Add names, spawn eggs, recipes, and required client rendering/resources.

Added Frontier Folk, a Fabric 26.3 mod with three new mob variants, each rendered with its vanilla counterpart’s model and behavior:

  • Builder Villager — spawns in generated desert cities.

  • Raid Pillager — spawns in generated taiga pillager cities.

  • Temple Golem — guards generated underground golem temples.

Their spawn eggs are craftable in survival: the Builder Villager egg costs an egg and four emeralds; the Raid Pillager egg costs an egg, four arrows, and two iron ingots; the Temple Golem egg costs an egg and four iron blocks. Each mob has a loot table, and the eggs have custom textures and creative-tab entries.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
Code
29 488
src/main/java/com/kodari/frontierfolk/FrontierFolk.java
package com.kodari.frontierfolk;

import net.fabricmc.api.ModInitializer;
import net.minecraft.resources.Identifier;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class FrontierFolk implements ModInitializer {
    public static final String MOD_ID = "frontierfolk";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

    public static Identifier id(String path) {
        return Identifier.fromNamespaceAndPath(MOD_ID, path);
    }

    @Override
    public void onInitialize() {
        FrontierFolkEntities.initialize();
        FrontierFolkItems.initialize();
    }
}