TagThaumcraft
4 个扭曲 tag
基本信息
| 属性 | 值 |
|---|---|
| 路径 | com.github.lunatrius.ingameinfo.integration.thaumcraft.tag.TagThaumcraft |
| 行数 | 75 |
| 父类 | TagIntegration |
| 分类 | 由子类给出 |
| 注册 tag 数 | 4 |
4 个 tag
| tag 名 | 取值 |
|---|---|
tcwarpperm |
扭曲值(permanent,永久扭曲度) |
tcwarpsticky |
Sticky 扭曲(粘性/持续扭曲度) |
tcwarptemp |
临时扭曲(temporary) |
tcwarptotal |
总扭曲度 |
⚠️ 命名是缩略而非全称:
tcwarpperm / tcwarpsticky / tcwarptemp / tcwarptotal
用了 perm / temp / sticky / total 四个短后缀,
而不是 permanentWarp / temporaryWarp ——
与内置 tag 的全小写单词风格(maxhealth)不同,
也与其他集成的 bm / sj / tfc 缩写风格不同
(本类用 tcwarp 而非 tc + 描述)。
四个值的语义
Thaumcraft 的扭曲分三类,本类各给一个,最后 tcwarptotal 给合计:
| tag | 对应 | 特点 |
|---|---|---|
tcwarptemp |
TMP(Temporary) |
停用相关物品/能力后衰减 |
tcwarpsticky |
STICKY |
不会自然衰减 |
tcwarpperm |
PERM |
永久 |
tcwarptotal |
三者之和 | 玩家总扭曲 |
⚠️ 顺序在源码里是 perm / sticky / temp / total,
而 Thaumcraft 内部的常见顺序是 TMP / STICKY / PERM ——
排列顺序相反,交叉对照时容易错位。
⚠️ 4 个 tag 全是数值,没有「等级/警告」类的格式化文本 ——
与 TagWorld 的 difficulty
(名字 + difficultyid 成对)不同,本类只有数字。
依赖
compileOnly('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev'),
{transitive = false}。
对应 Wiki 分类 thaumcraft(已成文)。
⚠️ 本集成是 5 个里唯一在 Plugin.toString 里
带版本号的两个之一(读 thaumcraft.common.Thaumcraft.VERSION),
见 Thaumcraft。
注册时机
由 Thaumcraft 的 load() 调本类的 register(),
经 PluginLoader.postInit(:60-69)。
⚠️ 同样晚于 ClientProxy 的
core.reloadConfig(),首次启动时这 4 个 tag 都会是 <ERROR>。
相关
- Thaumcraft - 注册方
- TagIntegration - 父类
- Value -
{tcwarptotal}的取值路径