工具材料数值重平衡 Material Rebalance

本 mod 不新增任何材料,而是对 Tinkers’ Construct(以及 Extra Tinkers’ 等附属)已注册的全部 ToolMaterial 就地替换数值:重新分配挖掘等级、改写耐久/速度/攻击/手柄系数。

  • 实现:iguanaman.iguanatweakstconstruct.harvestlevels.TinkerMaterialTweaks
  • 模块:HarvestLevelTweaks(必须与 挖掘等级系统 一起启用,否则数值全乱)
  • 执行时机:IguanaHarvestLevelTweaks 的 preInit

数值单位与换算

updateMaterial(harvestLevel, matName, newDurability, newSpeed, newAttack, newHandleModifier) 的六个参数依次为:

参数 含义 换算
harvestLevel 挖掘等级 直接写入,不再乘系数
newDurability 耐久 Math.round(newDurability * durabilityMod)
newSpeed 挖掘速度 Math.round(newSpeed * speedMod)
newAttack 攻击 原样写入
newHandleModifier 手柄耐久系数 原样写入(浮点)

durabilityMod = Config.durabilityPercentage / 100f(默认 80) speedMod = Config.miningSpeedPercentage / 100f(默认 100)

表中「耐久」「速度」是乘系数之前的原始值。默认配置下实际耐久 = round(原始值 × 0.8),速度不变。

替换保留原 materialName / localizationString / reinforced() / shoddy() / style() / primaryColor(),只改 harvestLevel / durability / toolSpeed / attack / handleDurability。材料 ID 保持不变。

未列出的材料

modifyToolMaterials 先做一遍全量遍历:对每个已注册材料调用 HarvestLevelTweaks.getUpdatedHarvestLevel(原挖掘等级) 重新映射等级,耐久/速度/攻击/手柄系数沿用原值。之后才处理下面的具名清单。


一、Tinkers’ Construct 自带材料(18 种,无条件生效)

材料 挖掘等级 耐久 速度 攻击 手柄系数 源码备注
Paper 0 石 21 100 1 0.3 额外修饰符用的配件材料
Wood 0 石 50 150 1 1.0 极弱但永远是好手柄
Stone 0 石 100 150 1 0.3 比木头耐久高但手柄极差
Cactus 0 石 110 500 3 1.0 首选武器材料,兼快速石头挖掘
Netherrack 0 石 123 456 1 1.2 好手柄 + Stonebound,速度因来自下界而高
BlueSlime 0 石 1200 150 1 1.5 最高耐久
Slime 0 石 500 100 1 2.0 最高手柄系数(难获取)
Flint 1 燧石 151 400 2 0.5 头部材料
Bone 1 燧石 201 300 2 1.08 配件/手柄材料
Copper 2 铜 180 500 2 1.1 万金油材料
Iron 3 铁 250 600 3 1.2 万金油材料
Thaumium 3 铁 200 650 3 1.18 需 TinkerTools.thaumcraftAvailable
Bronze 4 青铜 380 650 3 1.25 万金油材料
Steel 5 钻石 400 700 3 1.3 万金油材料
PigIron 5 钻石 667 780 3 1.35 万金油材料,难获取
Obsidian 6 黑曜石 89 650 2 0.8 穷人版黑曜石级头部
Alumite 6 黑曜石 550 790 4 1.3 万金油材料
Ardite 7 阿迪特 606 800 4 2.1 史上最佳手柄(自带 Stonebound)
Cobalt 8 钴 800 1100 4 1.75 史上最佳头部,速度最高
Manyullyn 9 玛玉灵 1200 900 5 2.5 史上最佳武器

实际为 20 行(源码 7 + 2 + 1 + 2 + 1 + 2 + 2 + 1 + 1 + 1 = 20)。

二、Extra Tinkers’ 集成(35 种,需 ModSupportHelper.ExtraTiC)

modifyExtraTiC() 的调用前提是 ExtraTiC 已加载(Loader.isModLoaded("ExtraTiC")),内部再按各子模组是否安装分派。

2.1 Metallurgy — 基础/贵金属(7 种)

需 ModSupportHelper.Metallurgy

材料 挖掘等级 耐久 速度 攻击 手柄系数
Hepatizon 4 青铜 225 750 3 0.8
Damascus Steel 4 青铜 515 500 4 0.9
Angmallen 4 青铜 300 600 3 1.35
Brass 2 铜 15 750 2 0.2
Silver 3 铁 25 850 2 0.2
Electrum 4 青铜 100 950 2 0.75
Platinum 6 黑曜石 100 1300 2 0.75

2.2 Metallurgy — 幻想系列(14 种)

材料 挖掘等级 耐久 速度 攻击 手柄系数
Prometheum 0 石 100 300 1 0.7
Deep Iron 1 燧石 250 450 2 0.8
Black Steel 2 铜 300 550 2 0.9
Oureclase 3 铁 330 700 3 1.0
Astral Silver 4 青铜 35 900 2 0.35
Carmot 5 钻石 150 800 2 0.4
Mithril 6 黑曜石 700 720 3 1.1
Quicksilver 6 黑曜石 600 880 4 1.2
Haderoth 7 阿迪特 810 800 4 1.3
Orichalcum 8 钴 1010 900 4 1.5
Celenegil 8 钴 600 1400 3 0.7
Adamantine 9 玛玉灵 1550 1000 5 2.3
Atlarus 9 玛玉灵 1750 1200 5 2.5
Tartarite 9 玛玉灵 2000 1500 6 3.33

2.3 Metallurgy — 下界系列(11 种)

材料 挖掘等级 耐久 速度 攻击 手柄系数
Ignatius 3 铁 200 400 3 0.3
Shadow Iron 3 铁 300 400 3 1.2
Shadow Steel 4 青铜 400 600 4 1.3
Midasium 5 钻石 111 1111 4 1.1
Vyroxeres 5 钻石 300 700 3 0.8
Ceruclase 6 黑曜石 500 707 4 1.4
Inolashite 7 阿迪特 900 800 3 0.81
Kalendrite 7 阿迪特 1000 500 4 1.1
Amordrine 8 钴 900 1400 3 1.0
Vulcanite 8 钴 1500 1000 4 0.7
Sanguinite 8 钴 150 200 6 0.5

Sanguinite 注释:Wither 1, Combat material. Requires manyullyn to mine, but can't mine it——需要玛玉灵级才能挖,但自己挖不动玛玉灵。

2.4 Metallurgy — 末地系列(2 种)

材料 挖掘等级 耐久 速度 攻击 手柄系数
Eximite 5 钻石 1000 800 4 1.3
Desichalkos 6 黑曜石 1800 1000 5 2.75

2.5 Natura(4 种)

需 ModSupportHelper.Natura

材料 挖掘等级 耐久 速度 攻击 手柄系数
Ghostwood 1 燧石 31 300 1 2.0
Darkwood 2 铜 131 400 1 1.5
Fusewood 3 铁 250 600 2 1.66
Bloodwood 4 青铜 350 700 3 1.84

2.6 Mekanism(2 种)

需 ModSupportHelper.Mekanism

材料 挖掘等级 耐久 速度 攻击 手柄系数
Osmium 6 黑曜石 500 1000 4 1.3
Refined Glowstone 6 黑曜石 300 1400 5 1.75

2.7 Biomes O’ Plenty(1 种)

需 ModSupportHelper.BiomesOPlenty

材料 挖掘等级 耐久 速度 攻击 手柄系数
Amethyst 5 钻石 1548 800 5 1.1

源码注释直言 // supr diamond。

2.8 Applied Energistics 2(1 种)

需 ModSupportHelper.AppliedEnergistics2(modid 为小写 appliedenergistics2)

材料 挖掘等级 耐久 速度 攻击 手柄系数
Certus Quartz 3 铁 199 800 3 0.8

2.9 Extra Tinkers’ 自带(3 种)

无条件(只要 ExtraTiC 加载)

材料 挖掘等级 耐久 速度 攻击 手柄系数
Nether Quartz 3 铁 101 550 3 0.7
Fairy 7 阿迪特 250 1050 5 0.5
Pokefennium 8 钴 1000 850 2 3.0

源码备注:Fairy = 阿迪特 + 黑曜石 + 血;Pokefennium = 钴 + 铁 + 血。

缺失材料处理

updateMaterial 先 TConstructRegistry.getMaterial(matName),为 null 时写一条 Log.error("Could not find material for modification: %s") 并 return——不崩,静默跳过。同理,若在 TConstructRegistry.toolMaterials 中找不到该材料对象对应的 ID,会写 Couldn't find ToolMaterial ID for %s。

因此上表所有条目在对应附属未安装时都会静默失败,这是本 mod 集成层的正常行为。