create a minecraft mod for NeoForge 1.21.8 that adds more villager types like medics to heal villagers and engineers that heal their iron golems and new house tpyes in villages and soemtimes there is like small villages to normal averge village size to like city size villages and there is now more to trade and villagers can even trade to each other and have names
KodariSep 18 at 8:26 am 3
VillageLifeExpansion
Adds new villager professions including medics who heal injured villagers and engineers who repair damaged iron golems. Introduces three new village house types that spawn naturally in settlements. Village generation now varies from small hamlets to sprawling city-sized settlements. Expands trading with new items and services, enables villagers to trade among themselves, and gives every villager a unique generated name. Enhances village life with more dynamic interactions and professions.
Set up a NeoForge 1.21.8 Gradle project and mod metadata.
Register Medic and Engineer villager professions with expanded trades.
Add healing, villager-to-villager trading, naming, and profession assignment behavior.
Generate varied village expansions with small, average, and rare city-sized layouts.
Created a NeoForge 1.21.8 mod named Villages Plus with:
Medic villagers that heal injured villagers.
Engineer villagers that repair damaged iron golems.
Custom Medic and Engineer professions with new trades.
Named villagers with profession-specific names.
Villager-to-villager item trading behavior.
Procedurally generated village expansions:
Small expansions
Average villages
Rare city-sized villages
Multiple generated house styles with workshops, clinics, storage, and trading areas.
Complete Gradle setup and NeoForge mod metadata.
Kodari can make mistakes. Review important code before using.
package com.kodari.villagesplus;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.common.NeoForge;
@Mod(VillagesPlus.MOD_ID)
public final class VillagesPlus {
public static final String MOD_ID = "villagesplus";
public VillagesPlus(IEventBus modEventBus) {
ModVillagerProfessions.PROFESSIONS.register(modEventBus);
NeoForge.EVENT_BUS.register(VillageEvents.class);
}
}