
拥有日常作息的 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
/killand 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
下载 Townfolk
下载 Townfolk
下载 Townfolk
下载 Townfolk
下载 Townfolk
下载 Townfolk
下载 Townfolk
- NPC 现在会停在路径点方块上,而不是站在其旁边。
- NPC 可以走上并离开模组家具(如沙发、桌子),而不再是通过飞行或传送到达这些家具。
- 非玩家角色(NPC)会打开路径上的木门,并在通过后关闭。
- 飞行载具能够降落在狭窄空间:高度为2格的房间,以及地毯、半砖和其他低矮方块上。
- 飞行载具能够从下方接近的平台降落。
- 行走受阻的非玩家角色现在会改为飞往其目标点。
- 非玩家角色不再起飞前往从开放天空无法进入的目标点。
- 服务器皮肤文件夹:将皮肤 PNG 文件放入服务器的
config/townfolk/skins/目录,所有玩家加入时即可获得这些皮肤。 - 服务器配置:通过
config/townfolk.json开启或关闭原版、资源包和文件夹皮肤的显示。使用/reload命令应用更改。 - 穿着已不再提供的皮肤的非玩家角色(NPC)会显示为 Steve。
- 在 jar 文件中添加了 MIT 许可证文件。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
模组
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
评论 0
登录后参与评分
还没有评论,来抢沙发吧