跳到正文

LunaNPC

作者:raeyd

LunaNPC is a Fabric-first NPC framework supporting combat, factions, spawning, trading, dialog, and custom models, in-game or through the API.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

LunaNPC

LunaNPC is a Fabric framework for building and controlling custom NPCs. Everything can be configured from in-game menus, and developers get the same features through a public API.

Alpha: LunaNPC is in early alpha and is a large, complex mod, so bugs and unexpected edge-case behavior are likely. Bug reports are appreciated.

Requirements

  • Fabric Loader 0.19.3 or higher
  • Fabric API 0.164.0+26.3 or higher

Features

  • Combat: Melee and ranged combat, plus a node-based combat editor with rules, triggers, timed attacks, and projectile accuracy curves.
  • Factions: NPCs can pick allies and enemies and belong to factions.
  • Spawning: Place NPCs in biomes, structures, or custom zones, on the ground, in water, or in the air. Control respawning and persistence.
  • Navigation: Ground, swimming, and flight movement, using several A* pathfinders.
  • Trading and jobs: Trading, quests, farming, and branching dialog trees with action triggers.
  • Custom models: Animations with automatic hitboxes.
  • Customization: Health, equipment, per-slot enchantments, drops, sounds, and behavior can all be tuned.
  • Menus and code: Everything available in-game is also available through the developer API.

Developer API

Everything LunaNPC does in-game is also available in code. Documentation is at api.lunacore.dev/LunaNPC.

常见问题

LunaNPC 支持哪些 Minecraft 版本?

LunaNPC 支持 Minecraft Java 版 26.2–26.3,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

LunaNPC 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分