此数据包为你的 Minecraft 世界添加了 NPC。
只需在世界中放置一个重命名过的盔甲架,即可召唤出一个假人玩家。
你可以使用任意 Minecraft 用户名来让他们出现。
他们将拥有对应的皮肤和名称。
他们的活动范围被限制在生成点周围 10 格半径内。
请注意,其核心机制使用的是村民。这意味着你的 NPC 会被怪物吓跑,并在夜晚寻路到附近的床,但他们不会使用工作站。
通过右键点击他们,可以更改其行为模式:
- 跟随我:在此模式下激活时,如果 NPC 距离你过远,将被传送至你身边。这使得移动他们变得非常容易。(他们也可以通过船或矿车进行移动)
- 停留在此处:将其当前位置设定为家。
- 加载此区块:顾名思义,强制加载 NPC 当前所在的区块。
交互始终是与离你最近的 NPC 进行,而不一定是你点击的那个。如果你在同一地点放置了大量 NPC,请务必注意这一点。
由于他们是无敌的,因此提供了一个“消失”选项用于删除 NPC。
处于创造模式的玩家可以使用弓箭或其他投射物击杀他们,但徒手攻击无效。
错误修复:
如果因任何原因导致控制移动的假人或村民死亡,将会出现红色粒子以指示问题。若要重置所有 NPC、已应用的标签以及强制加载的区块,只需输入 "/trigger bug" 即可重置所有内容。
This datapack adds npc's to your Minecraft world.
Simply place a renamed armorstand in your world and you summon a fake player.
You can use any Minecraft username to make them appear.
They will have their skin and name.
Their movement will be limited to a 10-block radius around their spawnpoint.
Please note that at its core the npc uses a villager. This means you npc will be scared of mobs and pathfind to a nearby bed at night but he will not use workstations.
By right clicking them you can change their behaviour.
- Follow me: As long as this mode is active the npc will be teleported to you if he is too far away. This makes it easy to move them around. (they can also be moved by boat or minecart)
- Stay around here: Sets their home at their current location.
- Load this chunk: Does what it says. It forceloads the chunk your npc is currently in.
The interaction will always be with the npc that is nearest to you and not always the one you clicked on. Keep that in mind if you have a lot of npc's at one place.
As they are invincible there is a "Despawn" option which deletes the npc.
Players in gamemode creative will be able to kill them with a bow or other projectiles, however simply punching them will not work.
Bugfixes:
If for any reason the mannequin or the villager who is controlling the movement dies, there will be red particles indicating a problem. To reset all of the npc's, their applied tags and forceloaded chunks you can just type "/trigger bug" to reset everything.
评论 0
登录后参与评分
还没有评论,来抢沙发吧