Tag Rescue
Puts back the tag entries a mod deletes with "replace": true. Silently, Minecraft lets them go.
介绍
# Tag Rescue
A mod sets `”replace”: true` on a tag, and every entry the other mods put there is gone.
No error. No warning. Not a line in the log.
Blocks stop being mineable. Ores stop generating. Structures stop spawning. You notice in week
three, and spend an evening bisecting a 300-mod list.
## What actually happens
When a tag file declares `replace`, Minecraft empties the entry list before the replacing mod
writes its own — taking everything the packs below it contributed with it:
“`java
if (tagfile.replace()) {
list.clear(); // everything another mod added: gone
}
“`
The replacing mod means *”I define this tag now.”* It has no idea a second mod already added to it.
Nobody is told.
**What counts as damage.** A mod redefining a *vanilla* tag is usually doing exactly what `replace`
is for, and the default policy lets it have that. The damage is when a replacer deletes **another
mod’s** entries — that mod is nowhere in the replacer’s file, nobody is told it lost, and the feature
it added simply stops working.
## What Tag Rescue does
Every entry in that list knows which pack it came from. So the wipe does not have to be
all-or-nothing. Tag Rescue keeps what should never have been deleted.
| Policy | What survives |
|—|—|
| **KEEP_MOD_ENTRIES** (default) | Entries other mods added. The replacer may still drop vanilla’s. |
| KEEP_EVERYTHING | Everything. `replace` stops meaning anything; the tag is merged. |
| VANILLA | Nothing — the original behaviour, if you want it back. |
The default honours what `replace` almost always means — *”I am redefining this vanilla tag”* —
while refusing to let it delete a third party’s work as collateral.
`replace` is not automatically a bug. A mod emptying a vanilla tag on purpose is using the feature
correctly. It becomes a bug the moment somebody else has already added to that tag. Individual tags
can be excluded in the config.
## Seeing it work
Rescues are logged, and `/tagrescue` lists them in game:
“`
Tag Rescue
policy: KEEP_MOD_ENTRIES
Put back 1 entr(ies) across 1 tag(s):
minecraft:dirt
‘file/wipe-test’ wanted them gone
kept: farmersdelight:rich_soil
“`
## Not the same as Load My F***ing Tags
That mod (8.2M downloads, and worth having) fixes a **different** bug: one **invalid** entry in a
tag makes Minecraft throw out the whole tag. It does nothing about `replace`. The two do not
overlap — run both.
## Notes
– Client and server. Safe on either alone.
– No dependencies.
– Configurable per tag, in `config/tagrescue-common.toml`.
– MIT licensed.
常见问题
Tag Rescue 支持哪些 Minecraft 版本?
Tag Rescue 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Tag Rescue 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
derh3kiv4tor 的其他作品
查看全部 →RefinedElite
It also adds Infinity Storage cells, such as AE2. Additionally, you can craft up to 13x13 using a crafter.
Modpack Conflict Radar
Finds the mod conflicts Minecraft hides from you: wiped tags, colliding recipes, silent overrides.
Why Won’t It Spawn
Stand where a structure should be and be told why it isn't - and which mod deleted your biome from its tag.
评论
登录后评论和评分