Back to mods
npc2 project artwork

Modrinth · Minecraft mod

npc2

more intelligent fabric npcs without being extremely bloated.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which npc2 release matches 26.2?

Updated last month
alpha file 0.3.0-alpha+26.2
Game version 26.2
Loader Fabric

npc2 0.3.0-alpha+26.2 targets 26.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.

Where it goes

Is npc2 required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does npc2 0.3.0-alpha+26.2 need?

0.3.0-alpha+26.2 on 26.2. Every mod below is checked against that same setup.

All 2 required mods have matching files

Install Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

Fabric API Needed by npc2 0.3.0-alpha+26.2
required
Matching file found Matched file: 0.154.2+26.2
Fabric Language Kotlin Needed by npc2 0.3.0-alpha+26.2
required
Matching file found Matched file: 1.13.13+kotlin.2.4.10

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add npc2 without breaking your instance.

Built for npc2 0.3.0-alpha+26.2 on 26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.3.0-alpha+26.2. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.3.0-alpha+26.2. It opens that exact file at the source.

About this project

What does npc2 add?

npc2

npc2 is an experimental Fabric mod that adds autonomous survival NPCs. Each NPC has a weighted survival plan, persistent memories, vanilla mob physics, and a node-based logic graph for gathering, crafting, combat, storage, movement, and sleep.

npc2 can be used in singleplayer worlds, LAN, and multiplayer servers.

npc2 is under active development. Back up important worlds before installing it because NPCs can mine and place blocks.

Requirements

npc2 requires Fabric API and Fabric Language Kotlin. Version 0.3.0-alpha+26.2 supports Fabric API 0.154.2+26.2 and compatible newer Fabric API releases for Minecraft 26.2.

For Servers: Install npc2 and its dependencies on both the server and every connecting client.

Singleplayer: Install npc2 and its dependencies on your Minecraft client.

LAN: Install npc2 and its dependencies on every player's client.

Quick start

Version 0.3.0-alpha and newer

Open the vanilla Creative inventory's Spawn Eggs tab and use the Survivor NPC Spawn Egg on solid, open ground.

Players with permission to use commands can also click or enter:

/give @s npc2:fake_npc_spawn_egg

When you enter a world, npc2 displays a formatted quick-start message in chat containing the spawn command, debug controls, and issue-tracker link.

Version 0.2.1-alpha and earlier

Open npc2's Creative inventory tab and use the Survivor NPC Spawn Egg on solid ground. You may need to use the inventory arrows to find the tab.

Alternatively, enter:

/give @s npc2:fake_npc_spawn_egg

Debug panel — 0.3.0-alpha and newer

Aim near a living NPC to display a compact debug panel containing its name, entity ID, health, and debug controls.

  • Press X to pin the selected NPC and expand the panel.
  • Press X again to unpin it.
  • Press F8 to toggle all npc2 debugging, including the panel, glowing outline, and path visualization.
  • Both controls can be rebound under the Debug category in Minecraft's Controls menu.

The expanded panel displays the NPC's current decisions, movement and path state, resource requirements, equipment, inventory, and other AI information.

For the cleanest layout, use a GUI scale of 3 or lower.

Player interaction — 0.3.0-alpha and newer

NPCs are friendly toward players by default. An NPC only retaliates against a Survival or Adventure player who harms that specific NPC. Creative and Spectator players are never targeted.

The retaliation duration can be changed in:

.minecraft/config/npc2/npc2.properties

Known issues in 0.3.0-alpha

  • The debug overlay may appear uneven at GUI scales above 3.
  • NPCs move very slowly while floating in water.
  • NPCs may occasionally freeze while retaliating against a player. They resume once the player leaves their detection range, enters Creative mode, or the configured player_retaliation_ticks duration expires.

These issues are planned to be fixed in future releases.

More documentation

Visit the npc2 GitHub README for installation instructions, configuration options, gameplay details, troubleshooting, and development documentation.

Report bugs through the npc2 issue tracker.

npc2 thumbnail

Project description from Modrinth.

Pick your setup

npc2 by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

npc2 versions and loaders

3 of 3 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.