FancierNPCs:让你的 Citizens 模组 NPC 栩栩如生
FancierNPCs 是 Citizens 的一个附加组件,赋予你的 NPC 各种行为。它们可以砍树、挖矿、钓鱼、耕种、四处走动、与玩家聊天、挥手,甚至跳舞。你的出生点、城镇或监狱不再显得空荡荡,而是充满了生活气息。
YouTube
命令表单
工作原理
选择一个 NPC,输入 /fnpc add <trait>,它就会立即开始执行该任务。一个 NPC 可以拥有多个行为特征,因此你可以创建一个一边闲逛、向玩家挥手并交谈的农民。你可以通过简单的命令更改每个行为特征,无需编辑配置文件。
你的 NPC 能做什么
- 挖矿:走到方块前进行挖掘,伴有真实的破碎音效和粒子效果。被挖掘的方块会再生,这意味着你的建筑结构保持安全。
- GUI:通过图形用户界面(
/fnpc gui <id>)或 Shift + 点击 NPC 来编辑你的 NPC。
- 砍树:使用“伐木工”预设模式,用斧头砍伐原木。
- 钓鱼:抛出鱼竿,等待咬钩,收杆,并展示捕获物。
- 耕种:收割成熟的作物并重新种植,还可以加速作物生长。
- 行走与漫游:沿着你设定的路径移动,或在区域内自由徘徊。
- 奔跑:绕圈冲刺或逃离玩家。
- 环顾四周:观察附近的玩家或自然地四处张望。
- 战斗:攻击附近的生物。
- 进食:偶尔吃点零食。
- 说话:在聊天栏和气泡对话框中显示台词,并按名字问候玩家。
- 挥手:当玩家走近时转身并挥手。
- 跳舞:伴随音符,做出蹲下、旋转和跳跃的动作。
- 跳跃:时不时地跳来跳去。
额外功能:狱警(监守者)
将任何 NPC 变成狱警。在狱警附近战斗的玩家会变成敌对状态。如果他们逃脱,就会变成通缉犯,所有狱警看到他们就会发起攻击。该功能包括安全区、用于查看玩家犯罪记录的 /record 命令以及 PlaceholderAPI 支持。
要求:Paper 1.21+ 和 Citizens。PlaceholderAPI 为可选。
FancierNPCs: make your Citizens NPCs feel alive
FancierNPCs is an add-on for Citizens that gives your NPCs things to do. They can chop trees, mine, fish, farm, walk around, chat with players, wave, and even dance. Your spawn, town, or prison stops feeling empty and starts feeling lived in.
Youtube
Commands Form
How it works
Select an NPC, type /fnpc add <trait>, and it starts doing that job straight away. One NPC can have several traits, so you could make a farmer who wanders, waves at players, and talks. You can change every trait with simple commands, no config editing needed.
What your NPCs can do
- Mine: you go up to the blocks and mine them, with the actual sound of cracking and particles spawning. The blocks regenerate, which means your constructions remain safe.
- GUI: Able to edit your NPCs through a GUI (/fnpc gui <id>) or shift click the npc.
- Chop trees: use the lumberjack preset to cut logs with an axe.
- Fish: cast a rod, wait for a bite, reel in, and show off the catch.
- Farm: harvests ripe crops and replants them, and can make crops grow faster.
- Walk and wander: follows a path you set, or roams freely around an area.
- Run: sprints laps or runs away from players.
- Look around: watches nearby players or glances around naturally.
- Fight: attacks nearby mobs.
- Eat: snacks on food now and then.
- Talk: says lines in chat and in a speech bubble, and greets players by name.
- Wave: turns and waves when a player walks up.
- Dance: crouches, spins, and hops, with music notes.
- Jump: hops around now and then.
Bonus: prison guards (Wardens)
Turn any NPC into a guard. Players who fight near a guard become Hostile. If they escape, they become Wanted, and every guard attacks them on sight. It includes safe zones, a /record command to view a player’s criminal record, and PlaceholderAPI support.
Requirements: Paper 1.21+ and Citizens. PlaceholderAPI is optional.
评论 0
登录后参与评分
还没有评论,来抢沙发吧