Tagged Villager Protection
Keeps datapack NPC villagers vanilla so Minecraft Comes Alive doesn't convert them and break their tag selectors.
介绍
Tagged Villager Protection
Do you run a datapack that adds custom NPC villagers alongside Minecraft Comes Alive? Then you have probably watched those NPCs stop working the moment MCA takes over. This mod fixes that.
The problem
MCA replaces vanilla villagers with its own villager entities. It carries over the name, trades and tags — but it cannot keep the entity type. Datapacks address their NPCs with selectors like @e[type=minecraft:villager,tag=boris], and the moment MCA swaps the entity, every one of those selectors stops matching. Dialogue, trading and quest scripting built on those NPCs simply breaks.
What this mod does
It steps in before MCA claims a villager and tells it to leave the tagged ones alone. A villager that carries an entity tag is one a datapack is scripting, so it stays a plain vanilla villager and its selectors keep working. Villagers from ordinary villages carry no tags and are still converted by MCA as usual — nothing about MCA’s normal behaviour changes.
It contains nothing from any datapack and works with all of them, not one in particular.
Configuration — config/taggedvillagers-common.toml
enabled — master switch.
requiredTags — leave empty to protect every tagged villager (the right setting for most datapacks). Fill it in only to protect specific named NPCs instead.
logDecisions — turn on to log every villager MCA offered and whether it was protected. For troubleshooting.
Compatibility
Client and server. Built for NeoForge 1.21.1. Requires Minecraft Comes Alive to do anything. Verified against MCA 7.7.x. Open source, MIT licensed.
常见问题
Tagged Villager Protection 支持哪些 Minecraft 版本?
Tagged Villager Protection 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Tagged Villager Protection 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
0d1050 的其他作品
查看全部 →chunktreefix
修复 NeoForge 1.21.1 中树木和建筑在区块边界处被截断的问题(MC-224729)。
SmoothMount
上下马时平滑的攀爬动画
WakeUpIntro
Your character opens their eyes, looks around and gets up before you can play. Falls asleep and wakes up in bed too.
stepassist
Seamlessly walk up full blocks without jumping for a smoother navigation experience
评论
登录后评论和评分