
拥有日常作息的 NPC。 它们会在你设定的路径点之间行走或飞行,穿戴你给它们的任何装备,最高可达 10 格高,还有更多功能!
它们的一天
每天早上,NPC 都会踏上自己的路线,按顺序访问每个路径点。它会在每个路径点停留你设定的时间并待在那里,然后移动到下一个路径点。到了晚上,它会回到家中(即最初生成的地方),并在最近的床上睡觉(如果没有床,则睡在地上)。
制定日程安排

右键点击 NPC 以打开其编辑器。为其命名并设置高度,范围从半格到 10 格。设置其行走速度,并添加最多 32 个路径点。要设置路径点,走到该位置并按下蹲键。
选择外观

浏览皮肤并旋转预览 NPC。Minecraft 默认的内置皮肤可供选择。服务器可以添加自定义皮肤。
翱翔天际

当步行无法到达目的地时,NPC 会起飞。如果在空中放置一个路径点,它们就会飞上去并悬停在那里。将某个路径点标记为“最快”,则在步行更慢时会选择飞行。
更多功能
- 跟随模式: 对 NPC 使用拴绳,它就会跟随你徒步或通过空中移动。
- 装备: 用盔甲、鞘翅或任何物品右键点击 NPC,即可为其装备或让其手持该物品。
- 不可破坏: NPC 永远不会消失,也不会受到任何伤害:无论是怪物、玩家、岩浆、仙人掌还是摔落都无法伤害它们。只有
/kill 命令和虚空能将它们移除。
- 仅限所有者: 只有放置 NPC 的玩家才能编辑或删除它。
快速上手
- 从创造模式的刷怪蛋标签页中获取 Townfolk Summoner,或使用命令
/give @s townfolk:townfolk_summoner。
- 右键点击方块以放置你的 NPC。该方块将成为它的家。
- 选择皮肤、命名,并添加第一个路径点。
服务器管理员须知
将皮肤 PNG 文件放入服务器的 config/townfolk/skins/ 文件夹中,然后运行 /reload。在文件名末尾添加 _slim 可使用纤细手臂模型。要开启或关闭皮肤来源,请使用 config/townfolk.json:
{ "vanillaSkins": true, "packSkins": true, "folderSkins": true }
要求
- Minecraft 1.21.1,配合 Fabric Loader 0.16.9 或更高版本
- Fabric API
- 需要在服务端和每个客户端安装

NPCs with a daily routine. They walk or fly between the waypoints you set, wear any gear you hand them, can be scaled up to 10 blocks tall, and more!
A day in their life
Every morning an NPC sets off on its route and visits each waypoint in order. It stays at each one as long as you choose and hangs out, then moves on to the next waypoint. At night it returns home (where it was first spawned) and sleeps in the nearest bed (or on the ground if none are available).
Build their schedule

Right-click an NPC to open its editor. Give it a name and a height from half a block to 10 blocks. Set its walking speed and add up to 32 waypoints. To set a waypoint, walk to the spot and crouch.
Pick their look

Browse skins and spin the NPC preview. Minecraft's default skins are built in. Servers can add their own skins.
Take to the sky

NPCs take off when walking won't get them there. Put a waypoint in midair and they fly up and hover there. Mark a waypoint as "fastest" and they fly whenever it's faster than walking.
And more
- Follow mode: use a lead on your NPC and it follows you on foot or through the air.
- Gear: right-click the NPC with armor, an elytra, or any item to equip it or have it hold the item.
- Indestructible: NPCs never despawn, and nothing can hurt them: not mobs, players, lava, cactus or falls. Only
/kill and the void remove them.
- Owner only: only the player who placed an NPC can edit or remove it.
Getting started
- Grab the Townfolk Summoner from the Spawn Eggs creative tab, or use
/give @s townfolk:townfolk_summoner.
- Right-click a block to place your NPC. That block becomes its home.
- Pick a skin, name it, and add its first waypoint.
For server owners
Drop skin PNGs into the server's config/townfolk/skins/ folder and run /reload. Add _slim to the end of a file name for slim arms. To turn skin sources on or off, use config/townfolk.json:
{ "vanillaSkins": true, "packSkins": true, "folderSkins": true }
Requirements
- Minecraft 1.21.1 with Fabric Loader 0.16.9 or newer
- Fabric API
- Needed on the server and on every client
评论 0
登录后参与评分
还没有评论,来抢沙发吧