NPCPremium
NPCPremium 是一个可配置的 NPC 模组,适用于 Minecraft Fabric 服务器和客户端。
它添加了具有自定义皮肤、格式化名称/副标题、右键操作、占位符、消息、声音、完整的游戏内编辑器 GUI、由 NPC 本身播放的真实 Emotecraft 表情动作以及可配置的轻量级 AI 行为系统的持久化类玩家 NPC。由 zJuqni 制作
兼容:
- Minecraft 1.21.1-1.20.1
- Fabric Loader 0.18.2+
- Fabric API
- Java 21
- 可选:Emotecraft 2.4.12+(根据设置,可能还需要 playeranimator)
功能介绍
- 创建保存在世界 NBT 数据中的持久化 NPC 实体。
- 支持自定义名称和副标题,使用
& 和 § 的旧版格式化语法,以及使用 \& 转义的 & 符号。
- 从玩家昵称解析皮肤,如果无法解析纹理则回退到 Steve/Alex。
- 支持右键交互,包括作为玩家或控制台执行命令、在聊天栏或操作栏显示点击消息、播放点击声音、触发点击表情动作、每个 NPC 独立的冷却时间、接近半径、附近触发的表情动作以及可选的交互限制。
AI 与行为
- AI 模式:
static(静止)、wander(漫步)、patrol(巡逻)、follow(跟随)、guard(守卫)、orbit(环绕)、greet(问候)、flee(逃跑)、mirror(镜像)、showcase(展示)。
- AI 调整参数:家(home)、检测范围、速度、半径、停止距离和传送范围。
- 为巡逻和展示设置保存的路径点路线。
- AI 预设:
host(主人)、guard(守卫)、pet(宠物)、shy(害羞)、mirror(镜像)、showcase(展示)、patrol(巡逻)。
- 上下文相关的问候消息、问候表情动作、问候冷却时间以及带有可配置间隔的环境表情动作。
- 使用自定义的轻量级移动系统,而非原版生物 AI 或寻路系统。
编辑器 GUI
/npcpremium gui <npcName> 打开一个包含“常规”、“位置”、“AI 大脑”、“点击”、“反馈”和“表情动作”选项卡的编辑器。
- 允许你在游戏内管理大多数 NPC 设置,而无需记忆完整的命令语法。
其他特性
- 内置用于命令和消息的占位符:
%player%、%player_uuid%、%player_x%、%player_y%、%player_z%、%player_world%、%npc%、%npc_uuid%、%npc_x%、%npc_y%、%npc_z%、%npc_world%、%world%。
- 如果存在 PB4 Placeholder API,则通过反射提供可选支持。
/summon npcpremium:npc 自动注册召唤出的 NPC,赋予数字 ID(如 1、2、3),并在需要时分配默认可见名称(如 NPC #1)。
- 高级控制功能包括
look static|nearest(注视静态目标或最近目标)、可配置的注视范围、移动到注视的方块、旋转预设、每个 NPC 的伤害开关以及 NPC 克隆功能。
命令
- 核心管理:create(创建)、delete(删除)、list(列表)、tp(传送)、info(信息)、gui(GUI)、name(名称)、subname(副标题)、skin(皮肤)、move(移动)、rotate(旋转)、look(注视)、clone(克隆)、damage(伤害)。
- 交互与反馈:onclick(点击事件)、message(消息)、sound(声音)、emote(表情动作)、near radius(接近半径)、cooldown(冷却时间)、interact onlyplayers(仅限玩家交互)、interact requirepermission(需要权限才能交互)。
- AI 管理:ai status(AI 状态)、mode(模式)、home(家)、range(范围)、speed(速度)、radius(半径)、stopdistance(停止距离)、teleportrange(传送范围)、ambientemote(环境表情动作)、ambientinterval(环境间隔)、preset(预设)、waypoint add/list/remove/clear(路径点添加/列表/移除/清除)、greeting message/clear/cooldown/emote(问候消息/清除/冷却/表情动作)。
权限
npcpremium.admin 授予对 /npcpremium 的管理员访问权限。
- 如果没有可用的兼容权限提供者,则回退到配置的 OP 等级。
- 当存在兼容的权限提供者时,每个 NPC 的
interact requirepermission <node> 可以使用真实的权限节点。
重要限制
- 主要交互触发方式是右键点击。
- NPC 默认为静止状态,不使用原版 AI 或原版寻路系统。
- AI 移动是轻量级的且基于行为驱动,并非完全自主导航。
- 表情动作为可选功能,且需要渲染环境中支持 Emotecraft。
- 如果无法解析配置文件中的纹理,皮肤查找可能会回退到 Steve/Alex。
- 为了获得完整体验,请在服务器和客户端都安装该模组。应在负责渲染 NPC 表情动作的一侧安装 Emotecraft。
----- SPANISH -----
NPCPremium
NPCPremium es un mod de NPCs configurables para Minecraft Fabric en servidor y cliente.
Añade NPCs tipo jugador persistentes con skins personalizadas, name/subname con formato, acciones por click derecho, placeholders, mensajes, sonidos, una GUI completa de edición, emotes reales de Emotecraft reproducidos por el propio NPC y un sistema configurable de IA ligera. Creador por zJuqni
Compatible con:
- Minecraft 1.21.1-1.20-1
- Fabric Loader 0.18.2+
- Fabric API
- Java 21
- Opcional: Emotecraft 2.4.12+ (playeranimator también puede ser necesario según la instalación)
Qué hace
- Crea entidades NPC persistentes guardadas en el NBT del mundo.
- Soporta name y subname personalizados, formato legacy con
& y §, y escape de ampersands con \&.
- Resuelve skins a partir del nick de un jugador, con fallback a Steve/Alex si no se pueden obtener las texturas.
- Soporta interacción por click derecho con comandos como player o console, mensajes al click en chat o actionbar, sonidos, emotes al click, cooldowns por NPC, radio de proximidad, emotes por cercanía y restricciones opcionales de interacción.
IA y comportamiento
- Modos de IA:
static, wander, patrol, follow, guard, orbit, greet, flee, mirror, showcase.
- Ajustes de IA: home, rango de detección, velocidad, radio, stop distance y teleport range.
- Rutas guardadas por waypoints para patrullas y setups de showcase.
- Presets de IA:
host, guard, pet, shy, mirror, showcase, patrol.
- Mensajes de saludo contextuales, emotes de saludo, cooldown de saludo y emotes ambientales con intervalo configurable.
- Usa un sistema propio de movimiento ligero en lugar de la IA/pathfinding vanilla.
GUI de editor
/npcpremium gui <npcName> abre un editor por pestañas con General, Position, AI Brain, Click, Feedback y Emotes.
- Permite configurar casi todo el NPC dentro del juego sin memorizar toda la sintaxis de comandos.
其他功能
- 内置命令和消息占位符:
%player%、%player_uuid%、%player_x%、%player_y%、%player_z%、%player_world%、%npc%、%npc_uuid%、%npc_x%、%npc_y%、%npc_z%、%npc_world%、%world%。
- 如果存在,通过反射提供对 PB4 Placeholder API 的可选兼容性。
/summon npcpremium:npc 自动注册以数字 ID(如 1、2、3)召唤的 NPC,并在需要时为其分配默认可见名称,例如 NPC #1。
- 包含高级控制功能,如
look static|nearest、可配置的视野范围、移动到当前注视的方块、旋转预设、NPC 伤害开关以及 NPC 克隆。
命令
- 主要管理:create、delete、list、tp、info、gui、name、subname、skin、move、rotate、look、clone、damage。
- 交互与反馈:onclick、message、sound、emote、near radius、cooldown、interact onlyplayers、interact requirepermission。
- AI 管理:ai status、mode、home、range、speed、radius、stopdistance、teleportrange、ambientemote、ambientinterval、preset、waypoint add/list/remove/clear、greeting message/clear/cooldown/emote。
权限
npcpremium.admin 授予对 /npcpremium 的管理员访问权限。
- 如果没有兼容的权限提供者,则使用配置的 OP 等级作为回退方案。
- 当存在兼容的权限提供者时,
interact requirepermission <node> 可以使用真实的节点。
重要限制
- 主要交互方式为右键点击。
- NPC 默认为静态,不使用原版 AI 或原版寻路。
- AI 移动是轻量级的,基于行为而非完整的自主导航。
- 表情动作是可选的,并且需要渲染环境支持 Emotecraft。
- 如果无法解析配置文件中的纹理,皮肤可能会回退到 Steve/Alex。
- 为了获得完整体验,请在服务器端和客户端都安装该模组。在需要渲染 NPC 表情动作的一侧安装 Emotecraft。
NPCPremium
NPCPremium is a configurable NPC mod for Minecraft Fabric servers and clients.
It adds persistent player-like NPCs with custom skins, formatted name/subname, right-click actions, placeholders, messages, sounds, a full in-game editor GUI, real Emotecraft emotes played by the NPC itself, and a configurable lightweight AI behavior system. Created by zJuqni
Compatible with:
- Minecraft 1.21.1-1.20.1
- Fabric Loader 0.18.2+
- Fabric API
- Java 21
- Optional: Emotecraft 2.4.12+ (playeranimator may also be required depending on the setup)
What it does
- Creates persistent NPC entities saved in world NBT.
- Supports custom name and subname, legacy formatting with
& and §, and escaped ampersands with \&.
- Resolves skins from a player nickname, with Steve/Alex fallback if textures cannot be resolved.
- Supports right-click interaction with commands as player or console, click messages in chat or actionbar, click sounds, click emotes, per-NPC cooldowns, proximity radius, near-trigger emotes, and optional interaction restrictions.
AI and behavior
- AI modes:
static, wander, patrol, follow, guard, orbit, greet, flee, mirror, showcase.
- AI tuning: home, detection range, speed, radius, stop distance, and teleport range.
- Saved waypoint routes for patrol and showcase setups.
- AI presets:
host, guard, pet, shy, mirror, showcase, patrol.
- Contextual greeting messages, greeting emotes, greeting cooldowns, and ambient emotes with configurable intervals.
- Uses a custom lightweight movement system instead of vanilla mob AI/pathfinding.
Editor GUI
/npcpremium gui <npcName> opens a tabbed editor for General, Position, AI Brain, Click, Feedback, and Emotes.
- Lets you manage most NPC settings in-game without memorizing the full command syntax.
Other features
- Built-in placeholders for commands and messages:
%player%, %player_uuid%, %player_x%, %player_y%, %player_z%, %player_world%, %npc%, %npc_uuid%, %npc_x%, %npc_y%, %npc_z%, %npc_world%, %world%.
- Optional PB4 Placeholder API support by reflection if present.
/summon npcpremium:npc auto-registers summoned NPCs with numeric ids like 1, 2, 3, and assigns a default visible name like NPC #1 when needed.
- Advanced controls include
look static|nearest, configurable look range, move to looked block, rotation presets, per-NPC damage toggle, and NPC cloning.
Commands
- Core management: create, delete, list, tp, info, gui, name, subname, skin, move, rotate, look, clone, damage.
- Interaction and feedback: onclick, message, sound, emote, near radius, cooldown, interact onlyplayers, interact requirepermission.
- AI management: ai status, mode, home, range, speed, radius, stopdistance, teleportrange, ambientemote, ambientinterval, preset, waypoint add/list/remove/clear, greeting message/clear/cooldown/emote.
Permissions
npcpremium.admin grants admin access to /npcpremium.
- Falls back to the configured OP level if no compatible permission provider is available.
- Per-NPC
interact requirepermission <node> can use real permission nodes when a compatible provider is present.
Important limits
- The main interaction trigger is right-click.
- NPCs are static by default and do not use vanilla AI or vanilla pathfinding.
- AI movement is lightweight and behavior-driven, not full autonomous navigation.
- Emotes are optional and require Emotecraft support in the environment that renders them.
- Skin lookup may fall back to Steve/Alex if profile textures cannot be resolved.
- For the full experience, install the mod on both server and client. Install Emotecraft on the side that should render NPC emotes.
----- SPANISH -----
NPCPremium
NPCPremium es un mod de NPCs configurables para Minecraft Fabric en servidor y cliente.
Añade NPCs tipo jugador persistentes con skins personalizadas, name/subname con formato, acciones por click derecho, placeholders, mensajes, sonidos, una GUI completa de edición, emotes reales de Emotecraft reproducidos por el propio NPC y un sistema configurable de IA ligera. Creador por zJuqni
Compatible con:
- Minecraft 1.21.1-1.20-1
- Fabric Loader 0.18.2+
- Fabric API
- Java 21
- Opcional: Emotecraft 2.4.12+ (playeranimator también puede ser necesario según la instalación)
Qué hace
- Crea entidades NPC persistentes guardadas en el NBT del mundo.
- Soporta name y subname personalizados, formato legacy con
& y §, y escape de ampersands con \&.
- Resuelve skins a partir del nick de un jugador, con fallback a Steve/Alex si no se pueden obtener las texturas.
- Soporta interacción por click derecho con comandos como player o console, mensajes al click en chat o actionbar, sonidos, emotes al click, cooldowns por NPC, radio de proximidad, emotes por cercanía y restricciones opcionales de interacción.
IA y comportamiento
- Modos de IA:
static, wander, patrol, follow, guard, orbit, greet, flee, mirror, showcase.
- Ajustes de IA: home, rango de detección, velocidad, radio, stop distance y teleport range.
- Rutas guardadas por waypoints para patrullas y setups de showcase.
- Presets de IA:
host, guard, pet, shy, mirror, showcase, patrol.
- Mensajes de saludo contextuales, emotes de saludo, cooldown de saludo y emotes ambientales con intervalo configurable.
- Usa un sistema propio de movimiento ligero en lugar de la IA/pathfinding vanilla.
GUI de editor
/npcpremium gui <npcName> abre un editor por pestañas con General, Position, AI Brain, Click, Feedback y Emotes.
- Permite configurar casi todo el NPC dentro del juego sin memorizar toda la sintaxis de comandos.
Otras funciones
- Placeholders integrados para comandos y mensajes:
%player%, %player_uuid%, %player_x%, %player_y%, %player_z%, %player_world%, %npc%, %npc_uuid%, %npc_x%, %npc_y%, %npc_z%, %npc_world%, %world%.
- Compatibilidad opcional con PB4 Placeholder API por reflexión si está presente.
/summon npcpremium:npc auto-registra NPCs invocados con ids numéricos como 1, 2, 3, y les asigna un nombre visible por defecto como NPC #1 cuando hace falta.
- Incluye controles avanzados como
look static|nearest, rango de mirada configurable, mover al bloque que estás mirando, presets de rotación, toggle de daño por NPC y clonado de NPCs.
Comandos
- Gestión principal: create, delete, list, tp, info, gui, name, subname, skin, move, rotate, look, clone, damage.
- Interacción y feedback: onclick, message, sound, emote, near radius, cooldown, interact onlyplayers, interact requirepermission.
- Gestión de IA: ai status, mode, home, range, speed, radius, stopdistance, teleportrange, ambientemote, ambientinterval, preset, waypoint add/list/remove/clear, greeting message/clear/cooldown/emote.
Permisos
npcpremium.admin da acceso administrativo a /npcpremium.
- Si no hay un provider de permisos compatible, usa como fallback el nivel OP configurado.
interact requirepermission <node> puede usar nodos reales cuando existe un provider compatible.
Límites importantes
- La interacción principal es con click derecho.
- Los NPCs son estáticos por defecto y no usan IA vanilla ni pathfinding vanilla.
- El movimiento de IA es ligero y basado en comportamiento, no navegación autónoma completa.
- Los emotes son opcionales y requieren soporte de Emotecraft en el entorno que los renderiza.
- La skin puede caer en Steve/Alex si no se pueden resolver las texturas del perfil.
- Para la experiencia completa, instala el mod en servidor y cliente. Instala Emotecraft en el lado que deba renderizar los emotes del NPC.
评论 0
登录后参与评分
还没有评论,来抢沙发吧