

Middle-Earth NPC
Overview
Middle-Earth NPC transforms the citizens of Middle-earth into interactive merchants and traders. Assign roles to NPCs, establish faction-based commerce, and create a living economy across all nine major factions of Middle-earth.
Features
NPC Role System
- Blacksmith Role: NPCs sell weapons, armor, raw materials, and enchanted books
- Farmer Role: NPCs offer food, crops, and agricultural supplies
- Automatic workstation detection (anvils for blacksmiths, composters for farmers)
- Smart AI pathfinding to claim and maintain workstations
Faction-Based Trading
- Unique shop inventories for all 9 Middle-earth factions:
- Gondor, Rohan, Shire, Isengard
- Lothlorien, Longbeards, Mordor, Misties, Dale
- Faction-specific items and pricing using Middle-earth currency (copper, silver, gold coins)
- Configurable shop data via JSON files
Role Management
- Use
/npcrole <role>to assign roles manually - Right-click interaction system for pending role assignments
- Only Civilian and Militia rank NPCs can be assigned roles
- Persistent data storage across world saves
Datapack Customization
- Override default shops using datapacks
- Create
data/me-npc/farmer/<faction>.jsonordata/me-npc/blacksmith/<faction>.json - Customize items and prices for any faction's merchants
- Example:
data/me-npc/farmer/gondor.jsonto modify Gondor farmer inventory
How to Use
- Find a Civilian or Militia NPC from any faction
- Use
/npcrole blacksmithor/npcrole farmernear the NPC - Right-click the NPC to confirm role assignment
- The NPC will seek nearby workstations and begin trading
- Use
/npcrole clearto remove roles if needed
Requirements
- Minecraft: 1.21.1
- Fabric Loader + Fabric API
- Middle-earth Mod (1.5.3-1.21.1-alpha or compatible)
Installation
- Install Fabric Loader and Fabric API
- Install the Middle-earth mod
- Install Cardinal Components API
- Drop this mod jar into your
modsfolder - Launch and start building your Middle-earth economy
Technical Details
- Fabric-ready with client and server support
- Mixin-based entity extensions for seamless integration
- Data-driven shop configurations for easy customization
- Persistent NPC role data using Cardinal Components
License & Credits
- License: see LICENSE
- Built for the Middle-earth mod community
- Thanks to the Fabric and Cardinal Components teams
Transform your Middle-earth settlements into thriving centers of commerce and trade
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.8
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as me-npc-1.1.1+1.21.8.jar — drop this file into the mods folder
- Download size: 73 KB
- Download link checked 30 Aug 2026 — working
These come from our own check of the pack file, not from the source page.