
Smart NPC 主要向你的世界中添加玩家型 NPC,它们具备所有行为能力,可以像真正的玩家一样执行多种操作,例如:收集木材、挖矿、钓鱼、耕种、建造房屋、猎杀怪物或玩家,或在生命值过低时逃跑。
预告片
AI 玩家的能力
- 采集木材
- 挖矿
- 农耕
- 钓鱼
- 搜刮宝箱
- 建造房屋
- 组队合作
- 猎杀怪物
- 生命值低时逃跑
- 感到恐惧时逃跑
- 追逐玩家和怪物
- 故意攻击铁傀儡和村民
- 使用水桶、末影珍珠、弓和盾牌
兼容性
Better Combat
玩家 NPC 在攻击时将拥有 Better Combat 的动画效果和挥动轨迹粒子。
Epic Fight
玩家 NPC 将使用来自 Epic Fight 的修复模型,并且可以使用该模组中任何武器对应的招式动作。
Yes Steve Model
服务器会为玩家 NPC 随机安装 YSM 模型。如果安装了 Yes Steve Model,你可以通过“YSM:<模型文件名>”来定义一个新的兴趣值,从而为玩家分配模型。
你可以在 smart_npc-compat 中将 modelChance 设置为 0.0 来关闭此功能。
配置
此模组提供了大量配置选项,你可以在 smart\_npc-server.toml 中关闭玩家 NPC 的聊天、修改生成权重、关闭强制刻钟更新、在 NPC 聊天内容前添加前缀等。
你可以向 smart\_npc-names.toml 中添加更多玩家 NPC,自定义其行为,并通过数据包自定义他们的聊天内容。
进度关联
玩家 NPC 的装备会随游戏进度而提升。初次加入世界时,大多数玩家 NPC 将不穿戴盔甲或手持武器生成,尽管部分可能会拥有皮革盔甲和木制武器。一旦玩家进入下界,NPC 将升级为链甲、金质及铁质装备。当玩家进入末地时,NPC 将进一步升级为钻石与下界合金装备。你也可以通过数据包添加自定义的装备进度。
服务器工具
此模组提供了一个名为“检查员工具”(Inspector Tool)的工具。使用该工具,你可以查看当前服务器的 TPS,并在空气中右键点击以统计已生成的玩家 NPC 数量。
如果你右键点击任意玩家 NPC,还可以查看其 AI 状态、生命值及物品栏。
为避免对 TPS 造成负面影响,该模组定义了一种算法来计算分配给玩家 NPC 的资源。如果服务器性能良好,最多可分配 5 个工作槽让玩家 NPC 运行其逻辑;否则,它们只会随机漫步、拾取掉落物或狩猎生物。
你还可以通过第一人称视角(FPP)、第三人称后方视角(TPP back)和第三人称前方视角(TPP front)来检查玩家 NPC 的外观。

Smart NPC primarily adds Player NPC into your world, they have all behaviour and can do manything a real player can do, such as: gathering wood, mining, fishing, farming, building house, hunting for monsters, players or run away if they are low at health
Trailer
AI Players Ability
- Gathering Woods
- Mining
- Farming
- Fishing
- Looting Chest
- Building house
- Teamup
- Hunt monster
- Run away while low at health
- Run away when scared
- Chase Player, Monsters
- Troll hit Iron Golem, Villager
- Using bucket, ender pearl, bow, shield
Compatibility
Better Combat
Player NPC while attacking will have Better Combat animations and swinging trail particles
Epic Fight
Player NPC will have patched model from EpicFight and they can use any weapons with moveset from that weapons
Yes Steve Model
Player NPC will have randomly YSM model installed by the Server, with Yes Steve Model installed you can define a new interest value to assign a model to a Player by "YSM:<model file name>"
You can turn this off by setting modelChance into 0.0 inside smart_npc-compat
Configuration
This mod provide a lots of configuration, you can turn off Player NPC chat, modify spawn weight, turn off force tick, enabling NPC prefix infront of their chat, … inside smart_npc-server.toml
You can add more Player NPCs, customize their behaviour inside smart_npc-names.toml and customize their chat by using datapack
Progression
Player NPC gear scales with your game progression. When first joining a world, most Player NPCs will spawn without armor or weapons, though some may have leather armor and wooden weapons. Once a player enters the Nether, NPCs will upgrade to chainmail, gold, and iron gear. When a player enters the End, NPCs will advance to diamond and netherite gear. You can also add custom gear progression by using a datapack.
Server Utility
This mod provide a tool called Inspector Tool, with this tool you can inspect the current server TPS, amount of Player NPCs spawned by shift right click into the air
If you right click into any Player NPC you can also view their AI status, health and inventory
To avoid killing TPS this mod define an algorithm that calculate the resources distributing for Player NPCs, if the server is well it can distribute up to 5 worker slot to let Player NPCs run their logic, or else they will just Random Stroll Around, Looting or Hunting mob
You can also inspect the view of Player NPC in FPP, TPP back and TPP front.
评论 0
登录后参与评分
还没有评论,来抢沙发吧