promotional bannermobile promotional banner

CNPC-npcpathfinding

A smarter NPC pathfinding system for CustomNPCs. Adds an advanced optional pathfinder with parkour, sprinting, interception, better performance, and configurable block whitelist/blacklist support. Compatible with original CNPC pathfinding.

CNPC-npcpathfinding

English

A community-made enhanced pathfinding system for CustomNPCs.

This mod adds a second, optional NPC pathfinding system designed to improve the limitations of the original CustomNPCs navigation while keeping full compatibility with the original CNPC pathfinding.

The enhanced pathfinder gives NPCs much smarter movement abilities:

  • Improved pathfinding logic
  • Diagonal movement support
  • Better obstacle avoidance
  • Simple parkour abilities
  • Sprinting movement
  • Enemy interception and smarter pursuit
  • Higher performance compared to the original CNPC navigation
  • More reliable movement in complex environments

The original CustomNPCs pathfinding system is not removed. Both systems can coexist, and each NPC can individually choose whether to use the enhanced pathfinding system.

Configuration

The mod provides configurable block navigation rules.

Block Whitelist

Blocks added to the whitelist will be considered passable by NPCs, even if they are normally treated as non-walkable blocks.

Examples:

  • Ladders
  • Modded climbable blocks
  • Special navigation blocks

Block Blacklist

Blocks added to the blacklist will always be considered impassable.

NPCs will avoid these blocks regardless of their normal properties.

Examples:

  • Dangerous modded blocks
  • Special structures
  • Blocks that may cause navigation problems

Supported Versions

Available for:

  • Minecraft 1.12.2 Forge
  • Minecraft 1.20.1 Forge
  • Minecraft 1.21.1 NeoForge

Compatibility

Designed for CustomNPCs-based modpacks, maps, and projects.

This mod focuses on improving NPC intelligence while keeping compatibility with existing CNPC content. Existing NPCs and maps can continue using the original pathfinding system if desired.

Give your NPCs a smarter brain.


中文

一个为 CustomNPCs 制作的增强型 NPC 寻路系统。

本 Mod 添加了一套独立的、可选的 NPC 高级寻路系统,用于解决原版 CustomNPCs 寻路能力较弱的问题,同时保留与原版 CNPC 寻路系统的兼容性。

增强寻路系统让 NPC 拥有更强的移动能力:

  • 更智能的寻路逻辑
  • 支持斜向移动
  • 更好的障碍物规避
  • 简单跑酷能力
  • 自动疾跑移动
  • 战斗中的截击与追击优化
  • 相比原版 CNPC 更高的寻路性能
  • 在复杂地形中更加可靠的移动表现

原版 CustomNPCs 寻路不会被删除。

两套寻路系统可以同时存在,并且可以针对每一个 NPC 单独选择是否启用增强寻路。

配置功能

本 Mod 提供可配置的方块导航规则。

方块白名单

加入白名单的方块会被 NPC 视为可通行方块,即使原本游戏逻辑认为它不可通行。

例如:

  • 梯子
  • Mod 添加的可攀爬方块
  • 特殊导航方块

方块黑名单

加入黑名单的方块会被 NPC 永久视为不可通行。

无论该方块原本有什么属性,NPC 都会主动绕开。

例如:

  • 危险的 Mod 方块
  • 特殊结构方块
  • 可能导致寻路异常的方块

支持版本

目前支持:

  • Minecraft 1.12.2 Forge
  • Minecraft 1.20.1 Forge
  • Minecraft 1.21.1 NeoForge

兼容性

专为基于 CustomNPCs 的整合包、地图以及项目设计。

本 Mod 的目标是在提升 NPC 智能程度的同时,保持对现有 CNPC 内容的兼容。

已有地图和 NPC 配置无需修改,也可以继续使用原版 CNPC 寻路系统。

让你的 NPC 拥有更聪明的“大脑”。

The CNPC-npcpathfinding Team

profile avatar
  • 1
    Followers
  • 7
    Projects
  • 335
    Downloads

More from XiaoBiniaoXView all

  • CNPC-EpicFight-Addon-CE project image

    CNPC-EpicFight-Addon-CE

    Community Edition of the CNPC Epic Fight Addon. Maintained by the community with extensive bug fixes, compatibility patches, performance improvements, new scripting APIs, and additional features for seamless integration between CustomNPCs and Epic Fight.

    • 87
    • July 27, 2026
  • CNPC-plus-Fix project image

    CNPC-plus-Fix

    CNPCPlus is a community-driven enhancement for CustomNPCs, featuring bug fixes, performance improvements, compatibility patches, new features, and long-term maintenance while preserving compatibility with existing worlds and projects.

    • 74
    • July 26, 2026
  • TACZ Gun buff project image

    TACZ Gun buff

    Turn Gunsmith Lib attributes into potion effects for better map making.

    • 16
    • July 25, 2026
  • CNPC Sophisticated Backpacks project image

    CNPC Sophisticated Backpacks

    Added support for Sophisticated Backpacks to Custom NPC merchants, allowing them to deduct the price directly from your backpack for exchanges. Now fully compatible with Curios API (baubles slot)

    • 24
    • July 25, 2026
  • CNPC-EpicFight-Addon-CE project image

    CNPC-EpicFight-Addon-CE

    Community Edition of the CNPC Epic Fight Addon. Maintained by the community with extensive bug fixes, compatibility patches, performance improvements, new scripting APIs, and additional features for seamless integration between CustomNPCs and Epic Fight.

    • 87
    • July 27, 2026
  • CNPC-plus-Fix project image

    CNPC-plus-Fix

    CNPCPlus is a community-driven enhancement for CustomNPCs, featuring bug fixes, performance improvements, compatibility patches, new features, and long-term maintenance while preserving compatibility with existing worlds and projects.

    • 74
    • July 26, 2026
  • TACZ Gun buff project image

    TACZ Gun buff

    Turn Gunsmith Lib attributes into potion effects for better map making.

    • 16
    • July 25, 2026
  • CNPC Sophisticated Backpacks project image

    CNPC Sophisticated Backpacks

    Added support for Sophisticated Backpacks to Custom NPC merchants, allowing them to deduct the price directly from your backpack for exchanges. Now fully compatible with Curios API (baubles slot)

    • 24
    • July 25, 2026