预告:
我制作这个模组是因为村民卡顿正在摧毁我的服务器。
每个生存服务器都会撞上同一堵墙——玩家建造拥有 50 多名村民的交易大厅,随后 TPS 突然暴跌。村民们不断寻路前往工作站、计算返回床的路线、互相碰撞。简直一团糟。
所以我把它们变成了方块。
工作原理: 与村民交易直到其达到大师等级,然后用绿宝石块右键点击他们。他们会变成可放置的头颅方块。所有交易记录均被保留。连接漏斗以实现自动化——物品从顶部投入,成品从底部产出。
性能差异令人震惊。我们测试了 100 个村民方块对比 20 个真实村民。方块赢了。毫无悬念。零寻路、零实体碰撞、零 AI 计时。
玩家关心的内容:
治愈折扣是永久性的。如果你治愈僵尸村民五次然后将其转换,那 80% 的折扣将永远锁定。不会衰减。更有趣的是——放置方块的玩家将获得该折扣。于是玩家们开始互相出售他们最好的村民。无意中围绕此机制建立了一套完整的经济体系。
你可以使用精准采集拾取并移动它们。眼睛颜色会根据状态变化——绿色表示可交易,红色表示输出已满,蓝色表示需要材料。
设置:
默认采用原版行为。交易在使用后锁定,需要工作站来补充库存,就像普通村民一样。但你可以根据喜好进行配置——无限交易、不同的转换物品、自定义冷却时间。我们的服务器运行的是原版设置,但我知道有些 Skyblock 服务器使用的是无限模式。
支持 MySQL/MariaDB 或 SQLite 存储——只需在配置文件中设置 type: sqlite 即可实现简单的基于文件的设置。兼容 GriefPrevention(如果你安装了的话)。基岩版玩家看到的是盔甲架而非显示实体(这是基岩版的限制,并非模组问题)。
命令: /sv 查看信息,/svadmin 用于管理工具,如检查方块、强制补充库存或转移所有权。
权限:
steadfastvillagers.convert - 将村民转换为方块(默认:true)
steadfastvillagers.use - 与村民方块进行交易(默认:true)
steadfastvillagers.pickup - 使用精准采集拾取方块(默认:true)
steadfastvillagers.admin - 管理命令(默认:op)
文档位于 steadfastsmp.com/docs/steadfast-villagers/
为 SteadfastSMP 构建,但考虑到其他服务器可能也需要它。免费使用,如果遇到任何问题请告知我。
Teaser:
I built this because villager lag was killing my server.
Every survival server hits the same wall - players build trading halls with 50+ villagers and suddenly TPS tanks. Villagers are constantly pathfinding to workstations, calculating routes to beds, bumping into each other. It's a mess.
So I made them into blocks instead.
How it works: Trade with a villager until they hit Master level, then right-click them with an Emerald Block. They turn into a head block you can place anywhere. All their trades are preserved. Connect hoppers for automation - items go in the top, products come out the bottom.
The performance difference is wild. We tested 100 villager blocks against 20 actual villagers. The blocks won. No contest. Zero pathfinding, zero entity collision, zero AI ticking.
The stuff players care about:
Cure discounts are permanent. If you cure a zombie villager five times and then convert them, that 80% discount is locked in forever. Doesn't decay. And here's the fun part - whoever places the block gets the discount. So players started selling their best villagers to each other. Accidentally created a whole economy around it.
You can pick them up with Silk Touch and move them anywhere. Eye color changes based on status - green means trading, red means output is full, blue means it needs materials.
Setup:
Vanilla by default. Trades lock after use and need a workstation to restock, just like normal villagers. But you can configure it however you want - infinite trades, different conversion items, custom cooldowns. We run vanilla settings on our server but I know skyblock servers that use infinite mode.
Supports MySQL/MariaDB or SQLite for storage - just set type: sqlite in the config for a simple file-based setup. Works with GriefPrevention if you have it. Bedrock players see armor stands instead of display entities (Bedrock limitation, not mine).
Commands: /sv for info, /svadmin for admin tools like inspecting blocks, forcing restocks, or transferring ownership.
Permissions:
steadfastvillagers.convert - Convert villagers to blocks (default: true)
steadfastvillagers.use - Trade with villager blocks (default: true)
steadfastvillagers.pickup - Pick up blocks with Silk Touch (default: true)
steadfastvillagers.admin - Admin commands (default: op)
Docs at steadfastsmp.com/docs/steadfast-villagers/
Built this for SteadfastSMP but figured other servers might want it too. Free to use, let me know if you run into issues.
评论 0
登录后参与评分
还没有评论,来抢沙发吧